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

Disassembly:
test eax, eax
je 0x40271a
call dword [0x472024]
or eax, eax
je 0x40271b
ret
mov al, 1
jmp fcn.00402798

Function at 0x402724
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402732
call dword [0x472028]
or eax, eax
jne 0x402733
ret
mov al, 2
jmp fcn.00402798

Function at 0x40273c
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402774
test edx, edx
je 0x40275e
push eax
mov eax, ecx
call dword [0x47202c]
pop ecx
or eax, eax
je 0x40276d
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402798
mov dword [eax], edx
mov eax, ecx
call dword [0x472028]
or eax, eax
jne 0x402757
ret
mov al, 1
jmp fcn.00402798
test edx, edx
je 0x402788
push eax
mov eax, edx
call dword [0x472024]
pop ecx
or eax, eax
je 0x40276d
mov dword [ecx], eax
ret

Function at 0x402798
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x474004]
test ecx, ecx
je 0x4027a8
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4027c1]
jns 0x4027bc
call fcn.00406078
mov eax, dword [eax + 4]
jmp fcn.004039e4

Function at 0x4028dc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40290b
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ad8
jmp 0x402929
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402864
mov edi, eax
test ebx, ebx
je 0x402929
cmp dword [esi], 0
je 0x402929
dec ebx
jmp 0x402912
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c78
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402c58
xor eax, eax
push ebp
push 0x402c51
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c94
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402c58
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402ef8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402f12
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402f12
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402efe
mov al, 0xa
jmp fcn.00402798
ret

Function at 0x402f44
Capabilities:
Terminate process

Disassembly:
cmp dword [0x47401c], 0
je 0x40294f
call dword [0x47401c]
mov eax, 0xd2
jmp fcn.004039e4
push eax
push ecx
mov eax, dword [eax]
call fcn.00402f14
pop ecx
pop eax
je 0x402f53
jmp ebx
pop ecx
jmp 0x402940
Function at 0x402f5c
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00402f14
mov eax, ebx
pop ebx
jne 0x402f71
pop ecx
jmp 0x402940
ret

Function at 0x40405c
Capabilities:
Terminate process

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

Function at 0x404104
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402798
test ecx, ecx
je fcn.00404020
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404008
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404260
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 0x40429f
cmp al, 0xb
je 0x40429f
cmp al, 0xc
je 0x4042a9
cmp al, 0xd
je 0x4042bc
cmp al, 0xe
je 0x4042da
cmp al, 0xf
je 0x40429f
cmp al, 0x11
je 0x40429f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402798
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40429f
jmp 0x4042ee
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 0x4042a9
jmp 0x4042ee
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 0x404260
dec edi
jg 0x4042bf
pop ebp
jmp 0x4042ee
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404234
dec edi
jg 0x4042dd
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x404260

Function at 0x4042f4
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 0x40429f
cmp al, 0xb
je 0x40429f
cmp al, 0xc
je 0x4042a9
cmp al, 0xd
je 0x4042bc
cmp al, 0xe
je 0x4042da
cmp al, 0xf
je 0x40429f
cmp al, 0x11
je 0x40429f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402798
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40429f
jmp 0x4042ee
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 0x4042a9
jmp 0x4042ee
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 0x404260
dec edi
jg 0x4042bf
pop ebp
jmp 0x4042ee
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404234
dec edi
jg 0x4042dd
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x404260
Function at 0x40432c
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0
je 0x404412
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 0x40437c
cmp al, 0xb
je 0x404396
cmp al, 0xc
je 0x4043ad
cmp al, 0xd
je 0x4043bc
cmp al, 0xe
je 0x4043da
cmp al, 0xf
je 0x4043f0
cmp al, 0x11
je 0x4043ff
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402798
cmp ecx, 1
mov eax, ebx
jg 0x40438d
call fcn.004039f0
jmp 0x40440e
mov edx, ecx
call fcn.00403a14
jmp 0x40440e
cmp ecx, 1
mov eax, ebx
jg 0x4043a4
call fcn.00404020
jmp 0x40440e
mov edx, ecx
call fcn.00404038
jmp 0x40440e
mov eax, ebx
add ebx, 0x10
call fcn.00404b9c
dec edi
jg 0x4043ad
jmp 0x40440e
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.0040432c
dec edi
jg 0x4043bf
pop ebp
jmp 0x40440e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404300
dec edi
jg 0x4043dd
pop ebp
jmp 0x40440e
mov eax, ebx
add ebx, 4
call fcn.004053c4
dec edi
jg 0x4043f0
jmp 0x40440e
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404d90
dec edi
jg 0x4043ff
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404414
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.0040432c

Function at 0x404420
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 0x40444c
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402824
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40448b
cmp cl, 0xb
je 0x40449c
cmp cl, 0xc
je 0x4044ad
cmp cl, 0xd
je 0x4044be
cmp cl, 0xe
je 0x4044de
cmp cl, 0xf
je 0x4044f7
cmp cl, 0x11
je 0x404508
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402798
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403a44
mov eax, 4
jmp 0x404519
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040405c
mov eax, 4
jmp 0x404519
lea edx, [esi + eax]
add eax, ebx
call fcn.004047e4
mov eax, 0x10
jmp 0x404519
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.0040453c
pop eax
jmp 0x404519
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.00404420
pop eax
jmp 0x404519
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004053dc
mov eax, 4
jmp 0x404519
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404dcc
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40443a
pop ecx
sub ecx, eax
jle 0x404535
lea edx, [ebx + eax]
add eax, esi
call fcn.00402824
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40453c
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 0x404582
cmp cl, 0xb
je 0x404599
cmp cl, 0xc
je 0x4045ad
cmp cl, 0xd
je 0x4045c1
cmp cl, 0xe
je 0x4045e2
cmp cl, 0xf
je 0x4045ff
cmp cl, 0x11
je 0x404613
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402798
mov eax, ebx
mov edx, dword [esi]
call fcn.00403a44
add ebx, 4
add esi, 4
dec ebp
jne 0x404582
jmp 0x404627
mov eax, ebx
mov edx, dword [esi]
call fcn.0040405c
add ebx, 4
add esi, 4
dec ebp
jne 0x404599
jmp 0x404627
mov eax, ebx
mov edx, esi
call fcn.004047e4
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4045ad
jmp 0x404627
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.0040453c
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x4045ca
jmp 0x404627
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404420
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x4045e2
jmp 0x404627
mov eax, ebx
mov edx, dword [esi]
call fcn.004053dc
add ebx, 4
add esi, 4
dec ebp
jne 0x4045ff
jmp 0x404627
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404dcc
add ebx, 4
add esi, 4
dec ebp
jne 0x404613
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x4047e4
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402798
cmp eax, edx
je 0x40487c
cmp word [eax], 8
jb 0x40481c
push eax
push edx
cmp word [eax], 0x100
je 0x404812
cmp word [eax], 0x101
je 0x40480a
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40481a
call dword [0x4743e8]
jmp 0x40481a
add eax, 8
call fcn.004039f0
pop edx
pop eax
cmp word [edx], 8
jae 0x404833
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 0x40484e
cmp word [edx], 0x101
jne 0x404868
push eax
call 0x404822
pop eax
jmp dword [0x4743f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x40485f
mov ecx, dword [edx - 8]
inc ecx
jle 0x40485f
lock inc dword [edx - 8]
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 0x404798
ret
Function at 0x405004
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 0x4051c0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405065
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4051dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4050d7
xor eax, eax
push ebp
push 0x4050d0
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]
call fcn.00404e5c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4050b9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4051fc
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 0x4050d7
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 0x4051b8
cmp byte [ebp - 0xd], 0
jne 0x405119
cmp byte [ebp - 0x12], 0
je 0x4051b8
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405132
dec ebx
cmp byte [ebx], 0x2e
je 0x405141
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405131
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4051b8
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40516e
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 0x4051b8
cmp byte [ebp - 0xd], 0
je 0x4051b8
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 0x4051b8
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 0x408b2c
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 0x408b65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ad8
jmp 0x408b6e
mov eax, ebx
mov edx, esi
call fcn.00403a44
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408b78
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 0x408b99
mov al, byte [esp]
jmp 0x408b9b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x414464
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 0x41446a
ret

Function at 0x416980
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 0x4169d1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4169b8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4169a8
jmp 0x4169d1
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 0x4169b9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aa6c
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 - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x474784], 0
sete dl
or al, dl
jne 0x42abac
mov eax, dword [0x474788]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x474784]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42ab7b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x474784]
call fcn.0040db84
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ab73
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42ab73
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42ab73
mov eax, dword [ebp - 0x14]
call fcn.00432d7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ab73
push ebp
call fcn.0042aa28
pop ecx
test al, al
jne 0x42ab73
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42ab2f
mov eax, dword [ebp - 0x14]
call fcn.00431708
dec eax
jle 0x42ab73
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402f44
cmp byte [ebp - 1], 0
je 0x42ab73
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ab73
mov edx, dword [ebp - 0x14]
mov eax, dword [0x474788]
call fcn.0042a274
inc edi
dec esi
jne 0x42aac2
mov eax, dword [0x474788]
cmp dword [eax + 8], 0
jle 0x42ab93
mov eax, dword [0x474788]
call fcn.0042a304
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42abac
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042a890
pop ecx
test al, al
jne 0x42abac
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430714
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 0x430745
je 0x43079f
sub eax, 7
je 0x430766
dec eax
je 0x430790
sub eax, 0x17
je 0x430844
jmp 0x430882
add eax, 0xffffff00
sub eax, 9
jb 0x430830
add eax, 0xffffff09
sub eax, 0xb
jb 0x4307f8
jmp 0x430882
mov eax, ebx
call fcn.00442860
mov edi, eax
test edi, edi
je 0x4308e2
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x4308eb
jmp 0x4308e2
test byte [ebx + 0x44], 0x20
jne 0x4308eb
jmp 0x4308e2
mov edx, esi
mov eax, ebx
call fcn.0042dd14
cmp dword [esi + 0xc], 0xffffffff
jne 0x4308eb
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406b8c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042c848
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004305ec
test eax, eax
je 0x4308eb
mov dword [esi + 0xc], 1
jmp 0x4308eb
mov edx, esi
mov eax, ebx
call fcn.00430680
test al, al
je 0x4308e2
cmp dword [esi + 0xc], 0
jne 0x4308eb
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00432d7c
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x4308eb
mov eax, ebx
call fcn.0042d3b0
test al, al
jne 0x4308eb
jmp 0x4308e2
mov eax, ebx
call fcn.00432d7c
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x4308e2
cmp dword [0x4727d8], 0
je 0x4308e2
mov eax, dword [0x4727d8]
cmp ebx, dword [eax + 0x24]
jne 0x4308e2
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4727d8]
call fcn.0042dc48
jmp 0x4308e2
mov eax, dword [0x47474c]
cmp byte [eax + 0x20], 0
je 0x4308e2
mov eax, dword [0x47474c]
cmp dword [eax + 0x1c], 0
je 0x4308e2
mov eax, dword [esi]
mov edx, dword [0x47474c]
cmp eax, dword [edx + 0x1c]
jne 0x4308e2
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.004427a4
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, 0xffb7
call fcn.00402f44
jmp 0x4308eb
mov edx, esi
mov eax, ebx
call fcn.0042dd14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430dac
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 0x430dc8
cmp dword [esi + 4], 0
je 0x430df5
test byte [ebx + 0x45], 1
jne 0x430de7
mov eax, ebx
call fcn.0042fce4
test eax, eax
jne 0x430de7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x430f05
mov edx, esi
mov eax, ebx
call fcn.00430a24
jmp 0x430f05
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x430efe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432d7c
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.0042dc48
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00430dac
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.00432d7c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430f05
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 0x43abb0
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.004039f0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43abff
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403c20
pop ebx
mov esp, ebp
pop ebp
ret