joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0040a9f0
mov eax, dword [0x483b28]
test eax, eax
jne 0x40a792
mov eax, dword [ebx]
push str.GdipLoadImageFromStream
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x483b28], eax
jne 0x40a792
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40a7b4
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
jne 0x40a7c9
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40a7e5
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [ebx + 4]
test eax, eax
je 0x40a804
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 4], 0
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 4], eax
je 0x40a867
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40a867
mov ecx, ebp
mov edi, eax
mov edx, ecx
lea eax, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], 0
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40a867
mov edx, dword [esp + 0x18]
add ebx, 0xc
push ebx
push edx
call dword [0x483b28]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc

Function at 0x40a880
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov esi, eax
test esi, esi
je 0x40a8ae
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x40a8a8
push eax
mov ecx, edi
call fcn.0040a720
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop edi
pop esi
ret 4
Function at 0x40bff0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x483a70]
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
push edi
push 0
push eax
push 0
push ebp
push 0x14
push 0xb4
push 0
push 0
push ecx
push 0
push 0x46b54c
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov eax, dword [0x4ab370]
test eax, eax
jne 0x40c076
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, eax
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
push ecx
mov byte [esp + 0x37], 1
mov byte [esp + 0x3a], 2
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x4ab370], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x30
push esi
call edi
push 0
push 0x14
push 0x41e
push esi
call edi
push 0xc0000
push 0
push 0x420
push esi
call edi
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40c112
push eax
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov edi, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edx
push edx
push edi
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0xc]
push ecx
push ebp
call edi
lea edx, [esp + 0x14]
push edx
push ebp
call edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
sub ecx, eax
push 0x18
push ecx
push edx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x6c
ret 0x10
Function at 0x411d30
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x2c
mov eax, dword [0x46b21c]
lea ecx, [esp + 4]
push 8
push ecx
mov dword [esp + 8], eax
call fcn.00411f10
add esp, 8
lea edx, [esp + 4]
push 0xf0000000
push 0x18
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x411dc2
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x411d91
lea edx, [esp + 4]
push edx
call fcn.00411f30
add esp, 4
jmp 0x411dc2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
lea edx, [esp + 8]
push ecx
push edx
call fcn.00411f70
add esp, 0xc
test al, al
je 0x411dc2
lea eax, [esp + 0xc]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.00411fd0
add esp, 8
test al, al
jne 0x411df9
mov eax, dword [esp]
mov ecx, dword [0x46b220]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x411df1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x411df1
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00459de2
add esp, 4
xor al, al
add esp, 0x2c
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
xor edi, edi
mov ecx, dword [0x46b21c]
mov edx, str._02x
test edx, edx
mov dword [esp + 0x40], ecx
je 0x411e68
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x411e68
push esi
lea ecx, [esp + 0x44]
call fcn.00401ce0
test eax, eax
je 0x411e68
mov ecx, dword [esp + 0x40]
lea eax, [esi + 1]
test eax, eax
mov esi, ecx
jne 0x411e43
test ecx, ecx
jne 0x411e5d
push eax
push ecx
push 0xffffffffffffffff
push str._02x
push 0
push 0
call ebx
test eax, eax
jle 0x411e5d
mov word [esi + eax*2 - 2], 0
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call fcn.00401f50
mov ecx, dword [esp + 0x40]
xor eax, eax
mov al, byte [esp + edi + 0x18]
lea edx, [esp + 0xc]
push eax
push ecx
push edx
call fcn.004036a0
mov eax, dword [esp + 0x4c]
mov edx, dword [0x46b220]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x411eb0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x411eb0
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004026d0
inc edi
cmp edi, 0x20
jl 0x411e04
mov eax, dword [esp + 0xc]
mov edx, dword [0x46b220]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebx
cmp ecx, edx
je 0x411efe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x411efe
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
mov al, 1
add esp, 0x2c
ret 0xc
Function at 0x411f70
Capabilities:
Hash data via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
jne 0x411f80
xor al, al
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x411fc5
mov eax, dword [esi]
test eax, eax
je 0x411fac
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x411fc1
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esi + 4], 0
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x4142d0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414337
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41430e
push 0
push str.Create_Error_
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x46b220]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x414332
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414332
push esi
call fcn.00459de2
add esp, 4
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push 0
push ecx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 4]
push edx
push eax
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x46b220]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x414383
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414383
push esi
call fcn.00459de2
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x414390
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
jne 0x4143f9
push 0
push str.Error1_
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x46b220]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x4143f1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4143f1
push esi
call fcn.00459de2
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push ebx
push ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
lea esi, [eax + 1]
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x41442a
cmp esi, dword [eax - 4]
jle 0x41448b
mov eax, dword [eax - 8]
cmp esi, eax
mov dword [esp + 0x24], eax
jge 0x414437
mov esi, eax
test esi, esi
jne 0x4144e3
mov ecx, dword [0x46b21c]
mov dword [ebx + 4], ecx
mov edi, dword [ebx + 4]
lea ecx, [eax + eax + 2]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ecx - 8], edx
mov eax, dword [0x46b220]
cmp ebp, eax
je 0x414487
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414487
push ebp
call fcn.00459de2
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 0
push edx
push ecx
push eax
push edi
mov dword [ebx], eax
mov dword [ebx + 8], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
mov edx, dword [0x46b220]
pop ebp
pop ebx
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4144d8
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4144d8
push esi
call fcn.00459de2
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
lea edx, [esi + esi + 0xe]
push edx
call fcn.00459ded
add esp, 4
test eax, eax
je 0x414516
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x24]
jmp 0x414448
xor eax, eax
jmp 0x41448e
Function at 0x415e20
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
xor ebx, ebx
test eax, eax
je 0x415e3d
lea eax, [esp + 4]
mov ecx, 8
mov byte [eax], bl
inc eax
dec ecx
jne 0x415e37
push 0xf0000000
push 0x18
push ebx
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x415ebb
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push ebx
push ebx
push 0x800c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x415e7a
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x415eac
jmp 0x415ea0
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x415ebb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x415ec4
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x415eac
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x415ebb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor al, al
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x415ebb
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ebx
push ecx
push edx
push 2
push eax
mov dword [esp + 0x28], 0x20
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
mov eax, dword [esp + 4]
jne 0x415f18
cmp eax, ebx
je 0x415f00
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x415ebb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor al, al
pop ebx
add esp, 8
ret 0xc
cmp eax, ebx
je 0x415f28
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x415f37
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov al, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x416a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
lea esi, [ecx + 8]
push edi
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4839bc
mov dword [esi + 4], eax
call ebx
mov eax, dword [0x4839f0]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esi + 8], eax
push 0x4839bc
mov dword [0x4839f0], esi
call edi
mov esi, dword [0x483990]
push 0x4839bc
call ebx
mov ebx, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.WM_ATLGETHOST
call ebx
push str.WM_ATLGETCONTROL
mov dword [0x4837dc], eax
call ebx
lea ecx, [esp + 0x20]
mov dword [0x4837d8], eax
mov eax, dword [0x48398c]
push ecx
mov ebx, 0x30
push str.AtlAxWin
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x416b08
mov edx, dword [0x48398c]
xor ebp, ebp
push 0x7f00
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x417050
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], str.AtlAxWin
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_RegisterClassExW]
jmp 0x416b0a
xor ebp, ebp
push 0x4839bc
call edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push 0x85
push esi
call edi
push 0xf0
push 0x85
push esi
mov ebx, eax
call edi
mov edi, eax
mov dword [esp + 0x14], ebp
test edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 0
je 0x416b5b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebx, ebx
je 0x416bbc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push ebx
call fcn.00416be0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 8
mov edi, eax
push ecx
push 0x404390
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
cmp edi, ebx
mov dword [esp + 0x10], eax
je 0x416bad
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x416bcf
test edi, edi
je 0x416bcf
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
Function at 0x41cbc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41cc38
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x41cc10
call edi
cmp eax, 3
je 0x41cc10
mov ecx, dword [0x46b220]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x41cc0a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41cc0a
push esi
call fcn.00459de2
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, dword [0x46b220]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x41cc33
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41cc33
push esi
call fcn.00459de2
add esp, 4
pop edi
xor eax, eax
pop esi
ret
test al, 0x10
je 0x41cc67
mov eax, dword [0x46b220]
lea edx, [esi - 0xc]
cmp edx, eax
je 0x41cc5f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41cc5f
push esi
call fcn.00459de2
add esp, 4
pop edi
mov eax, 2
pop esi
ret
mov ecx, dword [0x46b220]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x41cc8b
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41cc8b
push esi
call fcn.00459de2
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x420a70
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov eax, dword [0x46d564]
push esi
cmp eax, 0xffffffff
jne 0x420b15
lea eax, [esp + 4]
xor esi, esi
push eax
push 0x20006
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x46d564], 0
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420afe
mov esi, dword [esp + 4]
test esi, esi
je 0x420afe
lea ecx, [esp + 4]
push 4
push ecx
push 4
push eax
push 0x46d6b4
push esi
mov dword [esp + 0x1c], 0x2b67
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x420afe
push 0x46d6b4
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov dword [0x46d564], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
test esi, esi
mov dword [0x46d564], 0
je 0x420b13
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x427730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov cl, 0x74
mov eax, dword [0x46b21c]
mov byte [esp + 5], cl
mov byte [esp + 6], cl
mov cl, 0x77
push ebx
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], cl
mov cl, 0x2e
mov byte [esp + 0x12], cl
mov byte [esp + 0x19], cl
lea ecx, [esp + 8]
push ebp
mov dl, 0x2f
push esi
test ecx, ecx
push edi
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 0x68
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x18], 0x3a
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1f], 0x73
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x22], 0x66
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x26], 0x64
mov byte [esp + 0x27], 0x65
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0
je 0x4277c7
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, dword [esp + 0x10]
jmp 0x4277c9
xor esi, esi
mov ecx, dword [eax - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 1
cmp ecx, edi
jg 0x4277e0
cmp esi, dword [eax - 4]
jle 0x4277fb
lea ecx, [esp + 0x10]
call fcn.00402690
push esi
lea ecx, [esp + 0x14]
call fcn.00401ce0
test eax, eax
je 0x427847
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
mov esi, eax
test ecx, ecx
jne 0x427808
test eax, eax
jne 0x427826
push ecx
push eax
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x427826
mov word [esi + eax*2 - 2], 0
lea ecx, [esp + 0x10]
call fcn.00401d40
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x427865
push ecx
mov dword [ebp], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4278c2
mov edx, dword [0x46b21c]
mov esi, eax
test eax, eax
mov dword [ebp], edx
jne 0x427878
xor ebx, ebx
jmp 0x42787d
push eax
call ebx
mov ebx, eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], edi
jg 0x42788a
cmp ebx, dword [eax - 4]
jle 0x42789d
mov ecx, ebp
call fcn.00402690
push ebx
mov ecx, ebp
call fcn.00401ce0
test eax, eax
je 0x4278c2
mov edi, dword [ebp]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4278f1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4278f1
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x428485
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x48397c]
push esi
mov esi, ecx
cmp eax, dword [esp + 0xc]
jne 0x4284a5
cmp eax, dword [esp + 0x10]
jne 0x4284a5
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, 1
pop esi
ret 0x10
mov eax, dword [esi + 4]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0x8099
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x48397c]
pop esi
ret 0x10