joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f7c5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40f7f3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40f811
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040f72f
jmp 0x40f811
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40f811
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040f72f
test edi, edi
mov eax, edi
jne 0x40f7fb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x43854c]
test ecx, ecx
je 0x40f8d4
jmp 0x40f7c4
ret 8

Function at 0x4167ad
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x434d80]
je 0x4167c8
inc edi
cmp edi, 0x17
jb 0x4167b9
cmp edi, 0x17
jae 0x416948
push ebp
push 3
call fcn.0041f020
cmp eax, 1
pop ecx
je 0x416914
push 3
call fcn.0041f020
test eax, eax
pop ecx
jne 0x4167fc
cmp dword [0x434bd4], 1
je 0x416914
cmp ebx, 0xfc
je 0x416947
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x438860
push ebp
call fcn.0041efbb
add esp, 0xc
test eax, eax
je 0x416832
push esi
push esi
push esi
push esi
push esi
call fcn.00417bb2
add esp, 0x14
push 0x104
mov esi, 0x438879
push esi
push 0
mov byte [0x43897d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x416876
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041efbb
add esp, 0xc
test eax, eax
je 0x416876
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00417bb2
add esp, 0x14
push esi
call fcn.0041ef30
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4168bb
push esi
call fcn.0041ef30
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x438b74
push 0x42d34c
sub ecx, eax
push ecx
push eax
call fcn.0041ee70
add esp, 0x14
test eax, eax
je 0x4168bb
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00417bb2
add esp, 0x14
jmp 0x4168bd
xor esi, esi
push 0x42d348
push ebx
push ebp
call fcn.0041edff
add esp, 0xc
test eax, eax
je 0x4168dd
push esi
push esi
push esi
push esi
push esi
call fcn.00417bb2
add esp, 0x14
push dword [edi*8 + 0x434d84]
push ebx
push ebp
call fcn.0041edff
add esp, 0xc
test eax, eax
je 0x4168ff
push esi
push esi
push esi
push esi
push esi
call fcn.00417bb2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041ec42
add esp, 0xc
jmp 0x416947
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x416947
cmp ebp, 0xffffffff
je 0x416947
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x434d84]
push dword [esi]
call fcn.0041ef30
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41ec42
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00417372
xor ebx, ebx
cmp dword [0x439358], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41ed18
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41edf8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41edf8
push eax
call fcn.00417304
mov dword [esp], 0x42d59c
push edi
mov dword [0x439358], eax
call esi
push eax
call fcn.00417304
mov dword [esp], 0x42d588
push edi
mov dword [0x43935c], eax
call esi
push eax
call fcn.00417304
mov dword [0x439360], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004137fb
test eax, eax
pop ecx
pop ecx
je 0x41ece6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00417bb2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41ed18
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00417304
cmp eax, ebx
pop ecx
mov dword [0x439368], eax
je 0x41ed18
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00417304
pop ecx
mov dword [0x439364], eax
mov eax, dword [0x439364]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41ed9d
cmp dword [0x439368], ecx
je 0x41ed9d
push eax
call fcn.0041737b
push dword [0x439368]
mov esi, eax
call fcn.0041737b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41ed9d
cmp edi, ebx
je 0x41ed9d
call esi
cmp eax, ebx
je 0x41ed6a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41ed6a
test byte [ebp - 0x18], 1
jne 0x41ed9d
lea eax, [ebp - 0x10]
push eax
call fcn.00413832
test eax, eax
pop ecx
je 0x41ed85
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00417bb2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41ed94
or dword [ebp + 0x10], 0x200000
jmp 0x41edd8
or dword [ebp + 0x10], 0x40000
jmp 0x41edd8
mov eax, dword [0x43935c]
cmp eax, dword [ebp - 8]
je 0x41edd8
push eax
call fcn.0041737b
cmp eax, ebx
pop ecx
je 0x41edd8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41edd8
mov eax, dword [0x439360]
cmp eax, dword [ebp - 8]
je 0x41edd8
push eax
call fcn.0041737b
cmp eax, ebx
pop ecx
je 0x41edd8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439358]
call fcn.0041737b
cmp eax, ebx
pop ecx
je 0x41edf8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41edfa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x426fee
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x434d68]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00426f83
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00413b40
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42703d
cmp dword [ebp - 0x1c], 5
jb 0x427055
jmp 0x427051
cmp dword [ebp - 0x10], 1
jne 0x427055
cmp dword [ebp - 0x1c], 4
ja 0x427051
jne 0x427055
cmp dword [ebp - 0x18], 0
jbe 0x427055
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42e76c
call fcn.00426e57
test eax, eax
jge 0x427076
mov byte [0x43952c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00412851
add ebp, 0x78
leave
ret
Function at 0x408740
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4087d0
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4087d0
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408783
test edx, 3
jne 0x408772
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x40877d
jmp 0x408783
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408783
cmp dword [ecx - 8], 1
je 0x40878d
mov edx, ebx
or edx, 3
call fcn.00404e10
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40879f
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046c4

Function at 0x4087dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x40886c
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x40886c
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40881f
test edx, 3
jne 0x40880e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408819
jmp 0x40881f
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40881f
cmp dword [ecx - 8], 1
je 0x408829
mov edx, ebx
or edx, 3
call fcn.00404e10
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40883b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046c4

Function at 0x40bb28
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 0x40bb61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047b4
jmp 0x40bb6a
mov eax, ebx
mov edx, esi
call fcn.00404718
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bb74
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 0x40bb96
movzx eax, byte [esp]
jmp 0x40bb98
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c228
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c0a0
mov eax, dword [0x538e28]
cmp byte [eax], 0
je 0x40c2a4
mov eax, dword [0x538c10]
call fcn.00403060
call fcn.00402e38
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409288
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c2ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c2da
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x538bb4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x53b7f8]
call fcn.00405bb8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40cb8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cc62
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040475c
lea eax, [ebp - 4]
call fcn.00404bd8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b88
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cc4c
mov eax, ebx
call fcn.00402cdc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cc45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b88
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc2f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cc74
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc2f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc4c
mov eax, dword [ebp - 0x10]
call fcn.00402cf8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc69
lea eax, [ebp - 4]
call fcn.004046c4
ret
Function at 0x41eb48
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x53c304
cmp dword [edi], 0
jne 0x41ebc4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x53c300]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x465ae8
mov ecx, 2
call fcn.00402ecc
mov edx, 0x41eb20
lea eax, [esi + 5]
call fcn.0041eb40
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041eb40
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 0x41eb99
mov dword [0x53c300], 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 0x421118
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.00404b88
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x421170
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x538f64]
mov dl, 1
mov eax, dword [0x420c3c]
call fcn.0040c3f4
call fcn.0040410c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00420d44
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 0x4222c8
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 0x4222ce
ret
Function at 0x42e884
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.004046c4
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42e8d2
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.00404934
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432954
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x432a87
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x420c9c]
call fcn.00420d6c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x432a5d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00420e0c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404934
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x432a9c
call fcn.004049d4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00420e70
lea ecx, [ebp - 4]
mov edx, 0x432ad8
mov eax, dword [ebp - 0xc]
call fcn.004210a0
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040ded8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x432a40
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x432ae4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x466440]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432a47
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x432b34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x432b7b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432b5e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432b6f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x432b7b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x437714
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 - 9]
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
cmp dword [0x53c538], 0
je 0x43785d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x538dbc]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43785d
mov eax, dword [0x53c53c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x53c538]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43782c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x53c538]
call fcn.00417c30
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x437824
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x437824
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x437824
mov eax, dword [ebp - 0x14]
call fcn.00441970
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x437824
push ebp
call fcn.004376d0
pop ecx
test al, al
jne 0x437824
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403a94
test al, al
je 0x437824
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403a94
cmp byte [ebp - 1], 0
je 0x437824
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x437824
mov edx, dword [ebp - 0x14]
mov eax, dword [0x53c53c]
call fcn.00436e40
inc edi
dec ebx
jne 0x437779
mov eax, dword [0x53c53c]
cmp dword [eax + 8], 0
jle 0x437844
mov eax, dword [0x53c53c]
call fcn.00436ef8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43785d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00437534
pop ecx
test al, al
jne 0x43785d
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 0x43eb34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406880
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00439a9c
test ebx, ebx
jne 0x43eb87
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043ea70
mov ebx, eax
test ebx, ebx
je 0x43ec72
cmp esi, ebx
je 0x43ebb0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43ebc5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43ebfd
add eax, 0xffffff5f
sub eax, 2
jb 0x43ec15
dec eax
sub eax, 2
jb 0x43ec29
dec eax
sub eax, 2
jb 0x43ec1f
jmp 0x43ec33
add eax, 0xfffffdff
sub eax, 2
jb 0x43ec15
dec eax
sub eax, 2
jb 0x43ec29
dec eax
sub eax, 2
jb 0x43ec1f
jmp 0x43ec33
mov byte [esp + 0x120], 0
jmp 0x43ec3b
mov byte [esp + 0x120], 2
jmp 0x43ec3b
mov byte [esp + 0x120], 1
jmp 0x43ec3b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044c300
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043b1dc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43ec74
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x43f8e0
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 + 0x240], 0
je 0x43f8fc
cmp dword [esi + 4], 0
je 0x43f929
test byte [ebx + 0x55], 1
jne 0x43f91b
mov eax, ebx
call fcn.0043dd34
test eax, eax
jne 0x43f91b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43fa39
mov edx, esi
mov eax, ebx
call fcn.0043f2e8
jmp 0x43fa39
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 0x43fa32
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00441970
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.0043b1dc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043f8e0
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.00441970
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fa39
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