joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f4c
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00403f10
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403f10
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403ef8
ret

Function at 0x403ff4
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.0040272c
test ecx, ecx
je fcn.00403f10
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403ef8
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404118
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40412c
push eax
push 0
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403ef8
ret

Function at 0x4041ec
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x40422b
cmp al, 0xb
je 0x40422b
cmp al, 0xc
je 0x404235
cmp al, 0xd
je 0x404248
cmp al, 0xe
je 0x404266
cmp al, 0xf
je 0x40422b
cmp al, 0x11
je 0x40422b
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40422b
jmp 0x40427a
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404235
jmp 0x40427a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x4041ec
dec edi
jg 0x40424b
pop ebp
jmp 0x40427a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004041c0
dec edi
jg 0x404269
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4041ec

Function at 0x404280
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x40422b
cmp al, 0xb
je 0x40422b
cmp al, 0xc
je 0x404235
cmp al, 0xd
je 0x404248
cmp al, 0xe
je 0x404266
cmp al, 0xf
je 0x40422b
cmp al, 0x11
je 0x40422b
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40422b
jmp 0x40427a
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404235
jmp 0x40427a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x4041ec
dec edi
jg 0x40424b
pop ebp
jmp 0x40427a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004041c0
dec edi
jg 0x404269
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4041ec
Function at 0x4042b8
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x4042ff
cmp al, 0xb
je 0x404319
cmp al, 0xc
je 0x404330
cmp al, 0xd
je 0x40433f
cmp al, 0xe
je 0x40435d
cmp al, 0xf
je 0x404373
cmp al, 0x11
je 0x404382
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040272c
cmp ecx, 1
mov eax, ebx
jg 0x404310
call fcn.00403944
jmp 0x404391
mov edx, ecx
call fcn.00403968
jmp 0x404391
cmp ecx, 1
mov eax, ebx
jg 0x404327
call fcn.00403f10
jmp 0x404391
mov edx, ecx
call fcn.00403f28
jmp 0x404391
mov eax, ebx
add ebx, 0x10
call fcn.00404b1c
dec edi
jg 0x404330
jmp 0x404391
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004042b8
dec edi
jg 0x404342
pop ebp
jmp 0x404391
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040428c
dec edi
jg 0x404360
pop ebp
jmp 0x404391
mov eax, ebx
add ebx, 4
call fcn.00405174
dec edi
jg 0x404373
jmp 0x404391
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404d10
dec edi
jg 0x404382
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404398
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004042b8

Function at 0x4043a4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4043d0
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402830
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40440f
cmp cl, 0xb
je 0x404420
cmp cl, 0xc
je 0x404431
cmp cl, 0xd
je 0x404442
cmp cl, 0xe
je 0x404462
cmp cl, 0xf
je 0x40447b
cmp cl, 0x11
je 0x40448c
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403998
mov eax, 4
jmp 0x40449d
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403f4c
mov eax, 4
jmp 0x40449d
lea edx, [esi + eax]
add eax, ebx
call fcn.00404768
mov eax, 0x10
jmp 0x40449d
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004044c0
pop eax
jmp 0x40449d
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004043a4
pop eax
jmp 0x40449d
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040518c
mov eax, 4
jmp 0x40449d
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404d4c
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4043be
pop ecx
sub ecx, eax
jle 0x4044b9
lea edx, [ebx + eax]
add eax, esi
call fcn.00402830
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4044c0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x404506
cmp cl, 0xb
je 0x40451d
cmp cl, 0xc
je 0x404531
cmp cl, 0xd
je 0x404545
cmp cl, 0xe
je 0x404566
cmp cl, 0xf
je 0x404583
cmp cl, 0x11
je 0x404597
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov eax, ebx
mov edx, dword [esi]
call fcn.00403998
add ebx, 4
add esi, 4
dec ebp
jne 0x404506
jmp 0x4045ab
mov eax, ebx
mov edx, dword [esi]
call fcn.00403f4c
add ebx, 4
add esi, 4
dec ebp
jne 0x40451d
jmp 0x4045ab
mov eax, ebx
mov edx, esi
call fcn.00404768
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404531
jmp 0x4045ab
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004044c0
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x40454e
jmp 0x4045ab
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004043a4
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404566
jmp 0x4045ab
mov eax, ebx
mov edx, dword [esi]
call fcn.0040518c
add ebx, 4
add esi, 4
dec ebp
jne 0x404583
jmp 0x4045ab
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404d4c
add ebx, 4
add esi, 4
dec ebp
jne 0x404597
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x404768
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.0040272c
cmp eax, edx
je 0x4047ff
cmp word [eax], 8
jb 0x4047a0
push eax
push edx
cmp word [eax], 0x100
je 0x404796
cmp word [eax], 0x101
je 0x40478e
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40479e
call dword [0x4663e8]
jmp 0x40479e
add eax, 8
call fcn.00403944
pop edx
pop eax
cmp word [edx], 8
jae 0x4047b7
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x4047d2
cmp word [edx], 0x101
jne 0x4047eb
push eax
call 0x4047a6
pop eax
jmp dword [0x4663f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x4047e2
mov ecx, dword [edx - 8]
inc ecx
jle 0x4047e2
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x40471c
ret
Function at 0x404dc8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404f80
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404e29
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404f9c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404e96
xor eax, eax
push ebp
push 0x404e8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404e78
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404fbc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404e96
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404f77
cmp byte [ebp - 0xd], 0
jne 0x404ed8
cmp byte [ebp - 0x12], 0
je 0x404f77
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404ef1
dec ebx
cmp byte [ebx], 0x2e
je 0x404f00
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404ef0
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404f77
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404f2d
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404f77
cmp byte [ebp - 0xd], 0
je 0x404f77
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404f77
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a0a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a0d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a28
jmp 0x40a0e2
mov eax, ebx
mov edx, esi
call fcn.004039dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a0ec
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a10d
mov al, byte [esp]
jmp 0x40a10f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x415814
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41581a
ret

Function at 0x417d08
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x417d59
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x417d40
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x417d30
jmp 0x417d59
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x417d41
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424b58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x46675c], 0
sete dl
or al, dl
jne 0x424c9c
mov eax, dword [0x466760]
mov bx, 0xffff
call fcn.00402f6c
mov eax, dword [0x46675c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x424c6b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x46675c]
call fcn.0040ee10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x424c63
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x424c63
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x424c63
mov eax, dword [ebp - 0x10]
call fcn.0042c9ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x424c63
push ebp
call fcn.00424b14
pop ecx
test al, al
jne 0x424c63
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x424c1f
mov eax, dword [ebp - 0x10]
call fcn.0042b330
dec eax
jle 0x424c63
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402f6c
cmp byte [ebp - 0x15], 0
je 0x424c63
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x424c63
mov edx, dword [ebp - 0x10]
mov eax, dword [0x466760]
call fcn.004243c4
inc edi
dec esi
jne 0x424bb2
mov eax, dword [0x466760]
cmp dword [eax + 8], 0
jle 0x424c83
mov eax, dword [0x466760]
call fcn.00424454
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x424c9c
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004249cc
pop ecx
test al, al
jne 0x424c9c
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a4bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42a4ed
je 0x42a547
sub eax, 7
je 0x42a50e
dec eax
je 0x42a538
sub eax, 0x17
je 0x42a5c8
jmp 0x42a606
add eax, 0xffffff00
sub eax, 9
jb 0x42a5b4
add eax, 0xffffff09
sub eax, 0xb
jb 0x42a59e
jmp 0x42a606
mov eax, ebx
call fcn.0043ab90
mov edi, eax
test edi, edi
je 0x42a666
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42a66f
jmp 0x42a666
test byte [ebx + 0x44], 0x20
jne 0x42a66f
jmp 0x42a666
mov edx, esi
mov eax, ebx
call fcn.00427da8
cmp dword [esi + 0xc], 0xffffffff
jne 0x42a66f
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406914
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00426850
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042a36c
test eax, eax
je 0x42a66f
mov dword [esi + 0xc], 1
jmp 0x42a66f
mov edx, esi
mov eax, ebx
call fcn.0042a430
test al, al
jne 0x42a66f
jmp 0x42a666
mov eax, ebx
call fcn.00427420
test al, al
jne 0x42a66f
jmp 0x42a666
mov eax, ebx
call fcn.0042c9ec
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42a666
cmp dword [0x46475c], 0
je 0x42a666
mov eax, dword [0x46475c]
cmp ebx, dword [eax + 0x24]
jne 0x42a666
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x46475c]
call fcn.00427cc4
jmp 0x42a666
mov eax, dword [0x466724]
cmp byte [eax + 0x20], 0
je 0x42a666
mov eax, dword [0x466724]
cmp dword [eax + 0x1c], 0
je 0x42a666
mov eax, dword [esi]
mov edx, dword [0x466724]
cmp eax, dword [edx + 0x1c]
jne 0x42a666
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043aaa4
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402f6c
jmp 0x42a66f
mov edx, esi
mov eax, ebx
call fcn.00427da8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ab00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42ab1c
cmp dword [esi + 4], 0
je 0x42ab49
test byte [ebx + 0x45], 1
jne 0x42ab3b
mov eax, ebx
call fcn.00429b70
test eax, eax
jne 0x42ab3b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42ac59
mov edx, esi
mov eax, ebx
call fcn.0042a778
jmp 0x42ac59
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42ac52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042c9ec
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00427cc4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042ab00
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042c9ec
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ac59
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434578
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403944
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4345d9
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x4345d9
cmp byte [ebp - 0x102], 0
je 0x4345d9
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403b70
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a874
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4667d8
cmp dword [edi], 0
jne 0x43a8f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4667d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4648e8
mov ecx, 2
call fcn.00402830
mov edx, 0x43a84c
lea eax, [esi + 5]
call fcn.0043a86c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043a86c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43a8c5
mov dword [0x4667d4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43aa14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43aa64]
test si, 4
je 0x43aa28
or bl, 1
test si, 8
je 0x43aa32
or bl, 4
test si, 1
je 0x43aa3c
or bl, 8
test si, 2
je 0x43aa46
or bl, 0x10
test si, 0x10
je 0x43aa50
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43aa5f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43aa68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43aaa0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43aa81
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43aa90
or bl, 4
test esi, 0x20000000
je 0x43aa9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x441144
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4412e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40daec]
call fcn.00402d60
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403944
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4412bf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00431090
test al, al
je 0x4412b2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4412f8
lea eax, [ebp - 0x254]
call fcn.004085b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4412b2
xor eax, eax
push ebp
push 0x4412ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x441330
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x441294
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b70
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x441294
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4412b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4411b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00410afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4412f0
lea eax, [ebp - 0x260]
call fcn.00403944
ret

Function at 0x441a8c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4667a8]
cmp byte [eax + 0x8d], 0
jne 0x441afd
cmp dword [0x4667e4], 0
jne 0x441abe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x441a48
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4667e4], eax
cmp dword [0x4667e0], 0
jne 0x441ad9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4667e0], eax
cmp dword [0x4667e8], 0
jne 0x441afd
push esp
push 0
push 0
push 0x4419ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4667e8], eax
pop edx
ret