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

Disassembly:
mov al, 1
jmp fcn.0040275c
test ecx, ecx
je fcn.00404134
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x40411c
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404258
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40426c
push eax
push 0
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x40411c
ret

Function at 0x4042e0
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 0x40431f
cmp al, 0xb
je 0x40431f
cmp al, 0xc
je 0x404329
cmp al, 0xd
je 0x40433c
cmp al, 0xe
je 0x40435a
cmp al, 0xf
je 0x40431f
cmp al, 0x11
je 0x40431f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040275c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40431f
jmp 0x40436e
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 0x404329
jmp 0x40436e
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 0x4042e0
dec edi
jg 0x40433f
pop ebp
jmp 0x40436e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004042b4
dec edi
jg 0x40435d
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4042e0

Function at 0x404374
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 0x40431f
cmp al, 0xb
je 0x40431f
cmp al, 0xc
je 0x404329
cmp al, 0xd
je 0x40433c
cmp al, 0xe
je 0x40435a
cmp al, 0xf
je 0x40431f
cmp al, 0x11
je 0x40431f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040275c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40431f
jmp 0x40436e
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 0x404329
jmp 0x40436e
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 0x4042e0
dec edi
jg 0x40433f
pop ebp
jmp 0x40436e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004042b4
dec edi
jg 0x40435d
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4042e0
Function at 0x4043ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0
je 0x404492
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 0x4043fc
cmp al, 0xb
je 0x404416
cmp al, 0xc
je 0x40442d
cmp al, 0xd
je 0x40443c
cmp al, 0xe
je 0x40445a
cmp al, 0xf
je 0x404470
cmp al, 0x11
je 0x40447f
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040275c
cmp ecx, 1
mov eax, ebx
jg 0x40440d
call fcn.00403b04
jmp 0x40448e
mov edx, ecx
call fcn.00403b28
jmp 0x40448e
cmp ecx, 1
mov eax, ebx
jg 0x404424
call fcn.00404134
jmp 0x40448e
mov edx, ecx
call fcn.0040414c
jmp 0x40448e
mov eax, ebx
add ebx, 0x10
call fcn.00404fe8
dec edi
jg 0x40442d
jmp 0x40448e
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.004043ac
dec edi
jg 0x40443f
pop ebp
jmp 0x40448e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404380
dec edi
jg 0x40445d
pop ebp
jmp 0x40448e
mov eax, ebx
add ebx, 4
call fcn.00405840
dec edi
jg 0x404470
jmp 0x40448e
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.0040520c
dec edi
jg 0x40447f
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404494
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004043ac

Function at 0x4044a0
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 0x4044cc
mov edx, eax
add eax, esi
add edx, ebx
call fcn.0040282c
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40450b
cmp cl, 0xb
je 0x40451c
cmp cl, 0xc
je 0x40452d
cmp cl, 0xd
je 0x40453e
cmp cl, 0xe
je 0x40455e
cmp cl, 0xf
je 0x404577
cmp cl, 0x11
je 0x404588
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040275c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403b58
mov eax, 4
jmp 0x404599
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404170
mov eax, 4
jmp 0x404599
lea edx, [esi + eax]
add eax, ebx
call fcn.0040485c
mov eax, 0x10
jmp 0x404599
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.004045bc
pop eax
jmp 0x404599
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.004044a0
pop eax
jmp 0x404599
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405858
mov eax, 4
jmp 0x404599
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405248
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4044ba
pop ecx
sub ecx, eax
jle 0x4045b5
lea edx, [ebx + eax]
add eax, esi
call fcn.0040282c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4045bc
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 0x404602
cmp cl, 0xb
je 0x404619
cmp cl, 0xc
je 0x40462d
cmp cl, 0xd
je 0x404641
cmp cl, 0xe
je 0x404662
cmp cl, 0xf
je 0x40467f
cmp cl, 0x11
je 0x404693
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040275c
mov eax, ebx
mov edx, dword [esi]
call fcn.00403b58
add ebx, 4
add esi, 4
dec ebp
jne 0x404602
jmp 0x4046a7
mov eax, ebx
mov edx, dword [esi]
call fcn.00404170
add ebx, 4
add esi, 4
dec ebp
jne 0x404619
jmp 0x4046a7
mov eax, ebx
mov edx, esi
call fcn.0040485c
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x40462d
jmp 0x4046a7
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.004045bc
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x40464a
jmp 0x4046a7
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004044a0
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404662
jmp 0x4046a7
mov eax, ebx
mov edx, dword [esi]
call fcn.00405858
add ebx, 4
add esi, 4
dec ebp
jne 0x40467f
jmp 0x4046a7
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00405248
add ebx, 4
add esi, 4
dec ebp
jne 0x404693
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x40485c
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.0040275c
cmp eax, edx
je 0x4048f4
cmp word [eax], 8
jb 0x404894
push eax
push edx
cmp word [eax], 0x100
je 0x40488a
cmp word [eax], 0x101
je 0x404882
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404892
call dword [0x4593e0]
jmp 0x404892
add eax, 8
call fcn.00403b04
pop edx
pop eax
cmp word [edx], 8
jae 0x4048ab
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 0x4048c6
cmp word [edx], 0x101
jne 0x4048e0
push eax
call 0x40489a
pop eax
jmp dword [0x4593e8]
mov edx, dword [edx + 8]
or edx, edx
je 0x4048d7
mov ecx, dword [edx - 8]
inc ecx
jle 0x4048d7
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 0x404810
ret

Function at 0x404cf8
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x404d06
mov edx, dword [edx + 8]
jmp fcn.00404170
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404a70
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.00404124
add esp, 0x10
pop ebx
ret

Function at 0x404d70
Capabilities:
Terminate process

Disassembly:
push eax
cmp word [eax], 8
jb 0x404d7e
push edx
call fcn.00404818
pop edx
xor eax, eax
test edx, edx
je 0x404d9a
mov eax, dword [edx - 4]
shr eax, 1
je 0x404d9a
push eax
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x40411c
pop edx
mov word [edx], 8
mov dword [edx + 8], eax
ret
Function at 0x405480
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 0x40563c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4054e1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405658
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405553
xor eax, eax
push ebp
push 0x40554c
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.004052d8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405535
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405678
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 0x405553
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 0x405634
cmp byte [ebp - 0xd], 0
jne 0x405595
cmp byte [ebp - 0x12], 0
je 0x405634
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4055ae
dec ebx
cmp byte [ebx], 0x2e
je 0x4055bd
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4055ad
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405634
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4055ea
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 0x405634
cmp byte [ebp - 0xd], 0
je 0x405634
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 0x405634
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 0x408e24
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 0x408e5d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403bec
jmp 0x408e66
mov eax, ebx
mov edx, esi
call fcn.00403b58
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408e70
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 0x408e91
mov al, byte [esp]
jmp 0x408e93
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x415974
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor eax, eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], eax
xor eax, eax
push ebp
push 0x415a97
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10c]
xor eax, eax
call fcn.004028e4
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.004084b8
mov edx, dword [ebp - 0x108]
mov eax, 0x459650
call fcn.00403b58
mov eax, 0x459668
mov ecx, 0x415aac
mov edx, dword [0x459650]
call fcn.00403dd0
mov eax, 0x459654
mov ecx, 0x415abc
mov edx, dword [0x459650]
call fcn.00403dd0
push 0x101
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ecx, eax
lea edx, [ebp - 0x101]
mov eax, 0x459658
call fcn.00403bec
lea edx, [ebp - 0x110]
mov eax, dword [0x459658]
call fcn.00409f1c
mov edx, dword [ebp - 0x110]
mov eax, 0x459658
call fcn.00403b58
mov eax, 0x45965c
mov ecx, 0x415ad4
mov edx, dword [0x459658]
call fcn.00403dd0
mov eax, 0x459660
mov ecx, 0x415aec
mov edx, dword [0x459658]
call fcn.00403dd0
mov eax, 0x459664
mov ecx, 0x415b04
mov edx, dword [0x459650]
call fcn.00403dd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415a9e
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00403b28
ret

Function at 0x416038
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00415ccc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403f48
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x416096
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x457e74]
mov dl, 1
mov eax, dword [0x415bc4]
call fcn.004096b0
call fcn.00403560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4160a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403f48
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4160f8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x457ffc]
mov dl, 1
mov eax, dword [0x415bc4]
call fcn.004096b0
call fcn.00403560
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00415cfc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4165a4
Capabilities:
Find taskbar

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x4165c0
call sub.user32.dll_FindWindowA
test eax, eax
jbe 0x4165be
push ebx
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x416660
Capabilities:
Log keystrokes via application hook

Disassembly:
push ecx
call fcn.004164b4
test al, al
je 0x41667c
push 0
lea eax, [esp + 4]
push eax
push 1
push 0x61
call sub.user32.dll_SystemParametersInfoA
pop edx
ret
cmp dword [0x459694], 0
jne 0x41669f
push 0
mov eax, dword [0x4594d4]
push eax
mov eax, 0x4165e4
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x459694], eax
pop edx
ret

Function at 0x4175f0
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 0x4175f6
ret

Function at 0x4199e4
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 0x419a35
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x419a1c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x419a0c
jmp 0x419a35
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 0x419a1d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424f00
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 [0x4597c0], 0
sete dl
or al, dl
jne 0x425040
mov eax, dword [0x4597c4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4597c0]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42500f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4597c0]
call fcn.0040e478
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x425007
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x425007
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x425007
mov eax, dword [ebp - 0x14]
call fcn.0042d1f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x425007
push ebp
call fcn.00424ebc
pop ecx
test al, al
jne 0x425007
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x424fc3
mov eax, dword [ebp - 0x14]
call fcn.0042bb84
dec eax
jle 0x425007
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.00402fa4
cmp byte [ebp - 1], 0
je 0x425007
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x425007
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4597c4]
call fcn.00424708
inc edi
dec esi
jne 0x424f56
mov eax, dword [0x4597c4]
cmp dword [eax + 8], 0
jle 0x425027
mov eax, dword [0x4597c4]
call fcn.00424798
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x425040
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00424d24
pop ecx
test al, al
jne 0x425040
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 0x42ab90
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 0x42abc1
je 0x42ac1b
sub eax, 7
je 0x42abe2
dec eax
je 0x42ac0c
sub eax, 0x17
je 0x42acc0
jmp 0x42acfe
add eax, 0xffffff00
sub eax, 9
jb 0x42acac
add eax, 0xffffff09
sub eax, 0xb
jb 0x42ac74
jmp 0x42acfe
mov eax, ebx
call fcn.0043c860
mov edi, eax
test edi, edi
je 0x42ad5e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42ad67
jmp 0x42ad5e
test byte [ebx + 0x44], 0x20
jne 0x42ad67
jmp 0x42ad5e
mov edx, esi
mov eax, ebx
call fcn.00428190
cmp dword [esi + 0xc], 0xffffffff
jne 0x42ad67
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407024
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00426cdc
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042aa68
test eax, eax
je 0x42ad67
mov dword [esi + 0xc], 1
jmp 0x42ad67
mov edx, esi
mov eax, ebx
call fcn.0042aafc
test al, al
je 0x42ad5e
cmp dword [esi + 0xc], 0
jne 0x42ad67
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.0042d1f8
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x42ad67
mov eax, ebx
call fcn.0042782c
test al, al
jne 0x42ad67
jmp 0x42ad5e
mov eax, ebx
call fcn.0042d1f8
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42ad5e
cmp dword [0x455720], 0
je 0x42ad5e
mov eax, dword [0x455720]
cmp ebx, dword [eax + 0x24]
jne 0x42ad5e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x455720]
call fcn.004280c4
jmp 0x42ad5e
mov eax, dword [0x459788]
cmp byte [eax + 0x20], 0
je 0x42ad5e
mov eax, dword [0x459788]
cmp dword [eax + 0x1c], 0
je 0x42ad5e
mov eax, dword [esi]
mov edx, dword [0x459788]
cmp eax, dword [edx + 0x1c]
jne 0x42ad5e
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.0043c7a4
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.00402fa4
jmp 0x42ad67
mov edx, esi
mov eax, ebx
call fcn.00428190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b228
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 0x42b244
cmp dword [esi + 4], 0
je 0x42b271
test byte [ebx + 0x45], 1
jne 0x42b263
mov eax, ebx
call fcn.0042a160
test eax, eax
jne 0x42b263
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42b381
mov edx, esi
mov eax, ebx
call fcn.0042aea0
jmp 0x42b381
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 0x42b37a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042d1f8
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.004280c4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042b228
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.0042d1f8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b381
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 0x434b64
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.00403b04
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x434bb3
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.00403d34
pop ebx
mov esp, ebp
pop ebp
ret