joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ee51
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417950
cmp edx, dword [eax]
je 0x40ee73
add eax, 8
inc ecx
cmp eax, 0x4179e0
jl 0x40ee64
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417950]
jne 0x40efa1
mov eax, dword [0x464a58]
cmp eax, 1
je 0x40ef7b
test eax, eax
jne 0x40eea4
cmp dword [0x417664], 1
je 0x40ef7b
cmp edx, 0xfc
je 0x40efa1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40eedb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040fb10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040f190
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40ef1e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f190
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4125cc
push edi
call fcn.00410540
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040fb10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040fb20
lea eax, [ebp - 0xa0]
push 0x4125ac
push eax
call fcn.0040fb20
push dword [esi + 0x417954]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040fb20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004104b5
add esp, 0x2c
pop edi
jmp 0x40efa1
lea eax, [ebp + 8]
lea esi, [esi + 0x417954]
push 0
push eax
push dword [esi]
call fcn.0040f190
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402ae8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004047c0
test esi, esi
jne 0x402b1e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004048b0
jmp 0x402b3c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040298c
mov edi, eax
test esi, esi
je 0x402b3c
cmp dword [ebx], 0
je 0x402b3c
dec esi
jmp 0x402b25
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4038b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x49b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40394c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40392c
xor eax, eax
push ebp
push 0x403925
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 0x403968
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 0x40392c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x49b020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x49b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404640
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49e048], 0
je 0x4046a1
cmp word [0x49e21c], 0xd7b2
jne 0x404669
cmp dword [0x49e224], 0
jbe 0x404669
mov eax, 0x49e218
call dword [0x49e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49b070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4046c8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49b030], 0
jne 0x4046bd
push 0
push 0x49b068
push 0x49b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405bfc
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 0xf0019
push 0
push 0x405e2c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c7f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e2c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c7f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e48
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405d08
xor eax, eax
push ebp
push 0x405d01
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405a38
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 0x405ce6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405e68
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405ce6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d08
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x405e22
cmp byte [ebp - 0xd], 0
jne 0x405d4f
cmp byte [ebp - 0x12], 0
je 0x405e22
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405d68
dec ebx
cmp byte [ebx], 0x2e
je 0x405d77
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405d67
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405e22
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405db4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e22
cmp byte [ebp - 0xd], 0
je 0x405e22
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e22
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x4064f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40655e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404a30
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040331c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406548
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406565
lea eax, [ebp - 0x10]
call fcn.004047c0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c9c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40907d
test al, 0x10
jne 0x409081
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bd98
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 0x40bdd1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004048b0
jmp 0x40bdda
mov eax, ebx
mov edx, esi
call fcn.00404814
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bde4
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 0x40be06
movzx eax, byte [esp]
jmp 0x40be08
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c498
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c310
mov eax, dword [0x49cf0c]
cmp byte [eax], 0
je 0x40c514
mov eax, dword [0x49ccdc]
call fcn.00402f30
call fcn.004028b8
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.00409528
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 0x40c55c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c54a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49cc7c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49e664]
call fcn.004059e0
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 0x40cda8
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 0x40ce7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404858
lea eax, [ebp - 4]
call fcn.00404cec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c9c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce68
mov eax, ebx
call fcn.00402750
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce61
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.00404c9c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce4b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ce90
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce4b
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 0x40ce68
mov eax, dword [ebp - 0x10]
call fcn.00402770
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce85
lea eax, [ebp - 4]
call fcn.004047c0
ret

Function at 0x41bc34
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49e888
cmp dword [edi], 0
jne 0x41bcb0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49e884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49b3ec
mov ecx, 2
call fcn.0040294c
mov edx, 0x41bc0c
lea eax, [esi + 5]
call fcn.0041bc2c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041bc2c
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 0x41bc85
mov dword [0x49e884], 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 0x41c5d4
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
movzx eax, byte [ebp + 8]
call fcn.0041c080
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.00404c9c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x41c633
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49ce14]
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.0040c658
call fcn.00404208
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41c63c
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.00404c9c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41c694
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49d03c]
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.0040c658
call fcn.00404208
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041c0b0
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 0x439708
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c8c
xor eax, eax
push ebp
push 0x439836
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x439809
xor eax, eax
push ebp
push 0x439802
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a9c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4397d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4397c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a9c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c9c
mov edx, ebx
pop ecx
call fcn.0040294c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4397cd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x49cc18]
mov dl, 1
mov eax, dword [0x40796c]
call fcn.0040c61c
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43983d
lea eax, [ebp - 4]
call fcn.004047c0
ret
Function at 0x439844
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4399ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e8c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x439a18
call fcn.00404ae8
mov eax, ebx
call fcn.0041b1bc
mov edi, eax
dec edi
test edi, edi
jl 0x4398fc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b190
mov edx, dword [0x42d240]
call fcn.00403bc8
test al, al
je 0x4398f8
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041b190
lea edx, [ebp - 0x14]
call fcn.004403c0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e8c
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404b5c
inc esi
dec edi
jne 0x4398aa
movzx eax, byte [0x439a1c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x439a28
mov eax, dword [ebp - 8]
call fcn.0040d920
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404858
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004403c0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x439a18
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x330]
call fcn.004403c0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x439a18
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x439a18
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x439a34
call fcn.00409bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439a06
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047e4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004047e4
lea eax, [ebp - 0x14]
call fcn.004047c0
lea eax, [ebp - 0x10]
call fcn.004047c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret
Function at 0x43de1c
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 [0x49eb18], 0
je 0x43df65
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x49ce98]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43df65
mov eax, dword [0x49eb1c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x49eb18]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43df34
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x49eb18]
call fcn.00414d78
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43df2c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ae], 0
je 0x43df2c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43df2c
mov eax, dword [ebp - 0x14]
call fcn.004472b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43df2c
push ebp
call fcn.0043ddd8
pop ecx
test al, al
jne 0x43df2c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403c38
test al, al
je 0x43df2c
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, 0xffbd
call fcn.00403c38
cmp byte [ebp - 1], 0
je 0x43df2c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43df2c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49eb1c]
call fcn.0043d534
inc edi
dec ebx
jne 0x43de81
mov eax, dword [0x49eb1c]
cmp dword [eax + 8], 0
jle 0x43df4c
mov eax, dword [0x49eb1c]
call fcn.0043d5ec
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43df65
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043dc3c
pop ecx
test al, al
jne 0x43df65
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 0x4416f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44173e
xor edx, edx
mov eax, esi
call fcn.00458184
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44173e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x268], 0
je 0x44173e
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x268]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44187f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x441780
cmp eax, 0x109
ja 0x441780
mov dl, 1
mov eax, esi
call fcn.00458184
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441876
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xfc]
test al, al
jne 0x44187f
jmp 0x441876
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44185f
cmp eax, 0x20a
ja 0x44185f
test byte [esi + 0x50], 0x80
jne 0x4417b2
sub eax, 0x203
je 0x4417af
sub eax, 3
je 0x4417af
sub eax, 3
jne 0x4417b2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4417c6
dec eax
je 0x4417db
dec eax
je 0x4417f8
dec eax
je 0x4417db
jmp 0x4417ff
mov ecx, ebx
mov eax, dword [0x49ce98]
mov eax, dword [eax]
mov edx, esi
call fcn.00462a10
jmp 0x441876
cmp byte [esi + 0x5d], 1
jne 0x4417f1
mov eax, esi
mov si, 0xffed
call fcn.00403c38
jmp 0x44187f
or word [esi + 0x54], 1
jmp 0x441876
and word [esi + 0x54], 0xfffe
jmp 0x441876
mov eax, dword [0x49ead4]
cmp byte [eax + 0x20], 0
je 0x441876
mov eax, dword [0x49ead4]
cmp dword [eax + 0x1c], 0
je 0x441876
mov eax, dword [ebx]
mov edx, dword [0x49ead4]
cmp eax, dword [edx + 0x1c]
jne 0x441876
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004580c8
mov byte [ebp - 0xc], al
movzx eax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403c38
jmp 0x44187f
cmp eax, 0xb00b
jne 0x441876
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043ff68
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4447c0
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.004067ec
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.0043ff0c
test ebx, ebx
jne 0x444813
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004446fc
mov ebx, eax
test ebx, ebx
je 0x4448fe
cmp esi, ebx
je 0x44483c
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 0x444851
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 0x444889
add eax, 0xffffff5f
sub eax, 2
jb 0x4448a1
dec eax
sub eax, 2
jb 0x4448b5
dec eax
sub eax, 2
jb 0x4448ab
jmp 0x4448bf
add eax, 0xfffffdff
sub eax, 2
jb 0x4448a1
dec eax
sub eax, 2
jb 0x4448b5
dec eax
sub eax, 2
jb 0x4448ab
jmp 0x4448bf
mov byte [esp + 0x120], 0
jmp 0x4448c7
mov byte [esp + 0x120], 2
jmp 0x4448c7
mov byte [esp + 0x120], 1
jmp 0x4448c7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004580c8
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00441620
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x444900
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret