joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x315f7a7d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5715053a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401350
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
xor eax, eax
push 0x44
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xc], 0
call fcn.00401ae0
add esp, 0xc
push 1
push 0x401330
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4013d5
push str.failed_to_create_process._n
call fcn.004018e6
add eax, 0x40
push eax
call fcn.004017ca
add esp, 8
xor eax, eax
add esp, 0x58
ret
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
mov dword [0x412000], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x401406
push str.failed_to_get_exit_code_from_process._n
jmp 0x4013be
mov eax, dword [esp]
add esp, 0x58
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409607
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f19
and dword [ebp - 4], 0
cmp dword [0x412990], 0
mov ebx, eax
jne 0x4096b8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409769
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409769
push eax
call fcn.00404ea7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412990], eax
call esi
push eax
call fcn.00404ea7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412994], eax
call esi
push eax
call fcn.00404ea7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412998], eax
call esi
push eax
call fcn.00404ea7
pop ecx
mov dword [0x4129a0], eax
test eax, eax
je 0x4096b8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ea7
pop ecx
mov dword [0x41299c], eax
mov eax, dword [0x41299c]
cmp eax, ebx
je 0x409710
cmp dword [0x4129a0], ebx
je 0x409710
push eax
call fcn.00404f22
push dword [0x4129a0]
mov esi, eax
call fcn.00404f22
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409710
test edi, edi
je 0x409710
call esi
test eax, eax
je 0x409707
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409707
test byte [ebp - 0xc], 1
jne 0x409710
or dword [ebp + 0x10], 0x200000
jmp 0x409749
mov eax, dword [0x412994]
cmp eax, ebx
je 0x409749
push eax
call fcn.00404f22
pop ecx
test eax, eax
je 0x409749
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409749
mov eax, dword [0x412998]
cmp eax, ebx
je 0x409749
push eax
call fcn.00404f22
pop ecx
test eax, eax
je 0x409749
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412990]
call fcn.00404f22
pop ecx
test eax, eax
je 0x409769
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40976b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d673
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40d6a4
call fcn.00403763
mov dword [eax], esi
call fcn.00403750
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004036e8
add esp, 0x14
push 0x16
pop eax
jmp 0x40d6f9
test dword [ebp + 0xc], 0xfffffff9
jne 0x40d680
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40d6d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00403776
pop ecx
call fcn.00403750
mov eax, dword [eax]
jmp 0x40d6f9
test al, 0x10
jne 0x40d6f7
test al, 1
je 0x40d6f7
test byte [ebp + 0xc], 2
je 0x40d6f7
call fcn.00403763
mov dword [eax], 5
call fcn.00403750
mov dword [eax], 0xd
jmp 0x40d6c8
xor eax, eax
pop esi
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x40ae76
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x523268
call fcn.00505841
xor edi, edi
cmp dword [0x579e58], edi
je 0x40af3f
cmp dword [0x57a3a0], 0xfffffffe
jne 0x40af2c
cmp dword [ebp + 8], 0xffffffff
je 0x40af3f
test byte [0x581884], 1
mov esi, 0x581864
jne 0x40aed5
or dword [0x581884], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004cdba3
push 0x52cb31
call fcn.0050429f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.004b076e
cmp dword [0x581860], edi
je 0x40aee9
call fcn.00497382
push edi
push edi
push 0x461b0f
call fcn.00508e90
add esp, 0xc
mov dword [0x581860], eax
cmp eax, edi
jbe 0x40af19
cmp eax, 0xffffffff
je 0x40af19
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x57a3a0], eax
jmp 0x40af1f
mov dword [0x581860], edi
push 0x58186c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x40af3f
mov eax, dword [ebp + 8]
mov dword [0x57a3a0], eax
cmp eax, 0xffffffff
jne 0x40af3f
mov dword [0x581860], edi
call fcn.00505919
ret

Function at 0x41398c
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, 0xf0000000
push ebx
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push edi
call esi
test eax, eax
je 0x4139b4
cmp dword [edi], 0
jne 0x4139c6
push ebx
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0
push edi
call esi
cmp dword [edi], 0
je 0x4139ea
push dword [ebp + 0xc]
lea esi, [ebp - 8]
push dword [ebp + 8]
call fcn.0047454c
lea eax, [edi + 4]
push eax
push 0
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x413a18
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
xor eax, eax
inc eax
push 0
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 0xc]
push eax
push 3
push ecx
call esi
push 0
lea eax, [ebp + 8]
push eax
push 4
push dword [edi + 4]
call esi
pop esi
pop ebx
leave
ret 8

Function at 0x414d8f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x57bf70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x414dc4
xor eax, eax
jmp 0x414e17
lea eax, [ebp - 0x210]
push eax
call fcn.0050323e
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x414df5
push 0x559098
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00507975
add esp, 0xc
test eax, eax
jne 0x414dc0
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00507975
add esp, 0xc
test eax, eax
jne 0x414dc0
lea eax, [ebp - 0x210]
push eax
call fcn.00473108
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00418014
leave
ret
Function at 0x4176d8
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x528c51
call fcn.00505841
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
lea esi, [ebp + 0xc]
call fcn.0043df51
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41772b
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00434d80
call fcn.00505919
ret

Function at 0x418014
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x57bf70]
jne 0x41801e
repz ret
jmp fcn.0050a494
Function at 0x41adbb
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x52a237
call fcn.00505841
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push 0x23
push edi
mov dword [ebp - 0x10], esi
call fcn.0048ea7f
pop ecx
pop ecx
mov dword [ebp - 4], esi
xor ebx, ebx
push 0x94
lea eax, [ebp - 0x1c]
inc ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00473367
mov esi, eax
mov dword [ebp - 4], ebx
push 0x90
lea eax, [ebp - 0x18]
push eax
call fcn.00473367
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
call fcn.0043fc75
pop ecx
pop ecx
mov byte [ebp - 4], 3
push edi
call fcn.00481e95
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00434d80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00434d80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00434d80
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41ae5c
push dword [edi]
call fcn.0043ddae
pop ecx
push 0x55909c
push edi
call fcn.004f9343
mov eax, edi
call fcn.00505919
ret

Function at 0x41c0f1
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x41c232
push esi
push edi
push 0x53ace8
call fcn.00479ccf
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x41c181
mov esi, dword [ebx + 0x168]
jmp 0x41c16d
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c16d
push edi
call fcn.00405b2b
push eax
push 0x579550
call fcn.004544e7
pop ecx
pop ecx
test eax, eax
je 0x41c16d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x41c16d
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x41c12d
lea ecx, [ebx + 0x164]
call fcn.0048fe2b
jmp 0x41c230
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x41c230
jmp 0x41c197
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0042960e
mov esi, dword [eax]
test esi, esi
jne 0x41c1b0
xor ebx, ebx
jmp 0x41c1b3
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c226
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41c226
test edi, edi
je 0x41c1f8
push esi
push 0x579550
call fcn.004544e7
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x539a5c
call fcn.004544e7
pop ecx
pop ecx
test eax, eax
je 0x41c226
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.00486999
test eax, eax
jne 0x41c226
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0041d0c5
cmp dword [ebp - 8], 0
jne 0x41c194
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x434fcb
Capabilities:
Get token privileges

Disassembly:
push 0x24
mov eax, 0x529224
call fcn.00505841
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push 0x28
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43508b
lea eax, [ebp - 0x30]
push eax
call fcn.00429f91
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
jne 0x435010
call fcn.00504168
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push ecx
sub eax, esi
push eax
push esi
push 3
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x435057
xor ecx, ecx
cmp dword [esi], edi
jbe 0x435047
lea eax, [esi + 0xc]
mov dword [eax], 2
inc ecx
add eax, 0xc
cmp ecx, dword [esi]
jb 0x435039
push edi
push edi
push dword [ebp - 0x18]
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], edi
je 0x435075
push dword [ebp - 0x24]
call fcn.0043fd85
pop ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
push eax
call fcn.00477372
call fcn.00505919
ret
Function at 0x4367dd
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x525e40
call fcn.005058aa
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.0049859c
push 0x15c
call fcn.004991f5
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x436821
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.0049e446
jmp 0x436823
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.00448a69
call fcn.004b9935
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x4369c3
cmp dword [edi + 4], ebx
jle 0x4369c3
lea ecx, [ebp - 0x21c]
call fcn.00413928
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4369a7
lea ecx, [ebp - 0x220]
call fcn.00413928
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4368f8
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.0043a51f
add esp, 0xc
jmp 0x43692a
jge 0x436918
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.0043a51f
add esp, 0x10
jmp 0x43692a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004e09f7
push 0x15c
call fcn.004991f5
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x43694e
mov ecx, eax
call fcn.00451317
mov esi, eax
jmp 0x436950
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0048d059
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.00448a69
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00471a40
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00471a40
inc ebx
cmp ebx, dword [edi + 4]
jl 0x436891
call fcn.0050592d
ret
Function at 0x43a56c
Capabilities:
Enumerate processes

Disassembly:
push 0x234
mov eax, 0x52884c
call fcn.005058aa
and dword [ebp - 0x23c], 0
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.005038f0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x240], esi
and dword [ebp - 4], 0
cmp esi, 0xffffffff
je 0x43a5f1
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x43a5ed
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.005045e5
pop ecx
pop ecx
test eax, eax
je 0x43a608
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43a5cb
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43a600
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.0050592d
ret
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43a617
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43a602

Function at 0x43c04e
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, 0x104
cmp eax, ecx
ja 0x43c1a8
je 0x43c1ce
cmp eax, 0xa1
jb 0x43c1fa
cmp eax, 0xa2
jbe 0x43c1ce
cmp eax, 0xa3
jbe 0x43c1fa
cmp eax, 0xa5
jbe 0x43c1ce
cmp eax, 0xa6
jbe 0x43c1fa
cmp eax, 0xa8
jbe 0x43c1ce
cmp eax, 0x100
jne 0x43c1fa
cmp dword [esi + 0x80], 0xffffffff
je 0x43c1ce
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x43c1ce
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x43c174
dec eax
jne 0x43c1ce
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x43c16c
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x43c12d
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x43c105
jmp 0x43c16c
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1e4], 1
call dword [eax + 0x1ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov ecx, eax
call fcn.0047a1af
push dword [esi + 0x80]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
and dword [esi + 0x1e4], 0
xor eax, eax
inc eax
jmp 0x43c202
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x43c16c
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x43c12d
dec edi
cmp edi, dword [esi + 0x80]
jg 0x43c185
jmp 0x43c16c
cmp eax, 0x200
jb 0x43c1fa
cmp eax, 0x202
jbe 0x43c1ce
cmp eax, 0x203
jbe 0x43c1fa
cmp eax, 0x205
jbe 0x43c1ce
add eax, 0xfffffdf9
cmp eax, 1
ja 0x43c1fa
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x43c1e4
cmp dword [ecx + 0x20], 0
je 0x43c1e4
push edi
call fcn.0041c4b8
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x43c1fa
cmp dword [ecx + 0x20], 0
je 0x43c1fa
push edi
call fcn.0041c4b8
push edi
mov ecx, esi
call fcn.004c64f5
pop edi
pop esi
pop ebp
ret 4
Function at 0x44052f
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x440574
test edi, edi
jl 0x440574
cmp ax, 0x20
je 0x440569
cmp word [ebp + 8], 0x71
jne 0x440574
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8
Function at 0x4490e3
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x449134
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.004ee9cd
mov ecx, ebx
call fcn.0042389d
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x44918a
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x44914f
cmp dword [ebp + 0xc], 0x79
je 0x44914a
cmp dword [ebp + 0xc], 0x12
jne 0x44918a
xor eax, eax
inc eax
jmp 0x44918a
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x44918f
cmp esi, 0x79
je 0x44918f
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x5815bc], 0
jne 0x449186
test byte [ebx + 0x2f4], 2
jne 0x449186
cmp esi, 0x12
je 0x4491b3
cmp esi, 0x79
jne 0x449186
test edi, edi
jne 0x449186
test eax, eax
jne 0x449186
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00405b2b
cmp eax, ebx
jne 0x4491d6
test dword [ebp + 0x10], 0x40000000
jne 0x4491d6
cmp esi, 0x79
jne 0x4491e4
mov ecx, dword [ebp + 8]
jmp 0x4491dd
cmp esi, 0x79
jne 0x4491e4
mov ecx, ebx
call fcn.0047a1af
jmp 0x4491ff
cmp dword [ebx + 0x2a0], 0
jge 0x4491ff
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x449188