joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b60
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa44
mov ecx, 0xf
lea eax, [esp]
push esi
push edi
mov esi, str._wbnox_dwd
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push eax
xor edi, edi
call fcn.00403cc3
add esp, 4
test eax, eax
jbe 0x402ba7
lea esi, [esp + 8]
inc word [esi]
lea ecx, [esp + 8]
push ecx
inc edi
add esi, 2
call fcn.00403cc3
add esp, 4
cmp edi, eax
jb 0x402b8f
lea edx, [esp + 0x44]
push edx
call fcn.00402680
add esp, 4
lea eax, [esp + 0x24c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 8]
lea edx, [esp + 0x24c]
push ecx
push edx
call fcn.00403a90
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x254]
push eax
push ecx
call fcn.00403a90
lea edx, [esp + 0x25c]
push str..ldf
push edx
call fcn.00403a90
lea eax, [esp + 0x264]
push eax
call fcn.00403cc3
mov edx, dword [esp + 0xa6c]
lea ecx, [esp + eax*2 + 0x268]
push ecx
push edx
call fcn.00402790
push 0xffffffffffffffff
lea eax, [esp + 0x274]
push 0
push eax
call fcn.004017a0
add esp, 0x30
mov al, 1
pop edi
pop esi
add esp, 0xa44
ret

Function at 0x402c40
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa44
mov ecx, 0xf
lea eax, [esp]
push esi
push edi
mov esi, str._wbnox_dwd
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push eax
xor edi, edi
call fcn.00403cc3
add esp, 4
test eax, eax
jbe 0x402c87
lea esi, [esp + 8]
inc word [esi]
lea ecx, [esp + 8]
push ecx
inc edi
add esi, 2
call fcn.00403cc3
add esp, 4
cmp edi, eax
jb 0x402c6f
lea edx, [esp + 0x44]
push edx
call fcn.00402680
add esp, 4
lea eax, [esp + 0x24c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 8]
lea edx, [esp + 0x24c]
push ecx
push edx
call fcn.00403a90
lea eax, [esp + 0x254]
push eax
call fcn.00403cc3
mov edx, dword [esp + 0xa5c]
lea ecx, [esp + eax*2 + 0x258]
push ecx
push edx
call fcn.00402790
lea eax, [esp + 0x260]
push str..ldf
push eax
call fcn.00403a90
lea ecx, [esp + 0x60]
lea edx, [esp + 0x268]
push ecx
push edx
call fcn.00403a90
push 0xffffffffffffffff
lea eax, [esp + 0x274]
push 0
push eax
call fcn.004017a0
add esp, 0x30
mov al, 1
pop edi
pop esi
add esp, 0xa44
ret
Function at 0x402d20
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x454
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x256]
mov word [esp + 0x254], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
mov esi, str._dbgn
lea edi, [esp + 0x20]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402d86
mov cl, byte [esp + edx + 0x20]
lea edi, [esp + 0x20]
inc cl
xor eax, eax
mov byte [esp + edx + 0x20], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x402d69
mov edx, dword [0x40b2fc]
mov eax, dword [str.ltrs_a_s]
mov ecx, dword [0x40b2f8]
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov eax, dword [0x40b300]
mov dword [esp + 0xc], ecx
mov cx, word [0x40b304]
lea edx, [esp + 8]
mov dword [esp + 0x14], eax
push edx
mov word [esp + 0x1c], cx
xor edi, edi
call fcn.00403cc3
add esp, 4
test eax, eax
jbe 0x402de7
lea esi, [esp + 8]
inc word [esi]
lea eax, [esp + 8]
push eax
inc edi
add esi, 2
call fcn.00403cc3
add esp, 4
cmp edi, eax
jb 0x402dcf
lea ecx, [esp + 0x254]
push ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 8]
lea eax, [esp + 0x254]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 2
push 0
push 1
lea ecx, [esp + 0x268]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402e57
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x28]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [esp + 0x258]
push 0
push edx
call fcn.004017a0
add esp, 0xc
pop edi
pop esi
add esp, 0x454
ret
Function at 0x4031a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x114
push edi
xor edx, edx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
mov ecx, dword [0x40b584]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str.vhmvnqc3_cnb]
mov dword [esp + 8], ecx
mov cl, byte [0x40b58c]
mov dword [esp + 4], eax
mov eax, dword [0x40b588]
mov byte [esp + 0x10], cl
mov dword [esp + 0xc], eax
lea edi, [esp + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403210
mov al, byte [esp + edx + 4]
lea edi, [esp + 4]
inc al
or ecx, 0xffffffff
mov byte [esp + edx + 4], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4031f3
lea edx, [esp + 0x14]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x14]
push 0x103
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea ecx, [esp + 0x14]
push ecx
call fcn.00401f40
add esp, 4
mov al, 1
pop edi
add esp, 0x114
ret
Function at 0x403260
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
sub esp, 0x550
mov dx, word [0x40f0cc]
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], dx
mov word [esp + 0x314], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x316]
mov word [esp + 0x10c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10e]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xa]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push 8
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x210]
lea edx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 8]
push str..l
push eax
call esi
lea ecx, [esp + 8]
push 0x40bab8
push ecx
call esi
lea edx, [esp + 0x418]
lea eax, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40333b
pop edi
xor al, al
pop esi
add esp, 0x550
ret
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x448]
lea edx, [esp + 0x214]
push ecx
push edx
lea eax, [esp + 0x320]
push str._s_s
push eax
call edi
lea ecx, [esp + 0x120]
lea edx, [esp + 0x328]
push ecx
push edx
call fcn.004033f0
add esp, 0x18
test eax, eax
je 0x4033bb
lea eax, [esp + 0x110]
push eax
call fcn.00401220
add esp, 4
test eax, eax
je 0x4033bb
lea ecx, [esp + 0x110]
push ecx
call fcn.00403510
add esp, 4
test al, al
je 0x4033bb
lea edx, [esp + 0x110]
push edx
call fcn.00401f40
add esp, 4
lea eax, [esp + 0x41c]
push eax
push esi
call ebx
test eax, eax
jne 0x403348
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004031a0
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0x550
ret
Function at 0x403630
Capabilities:
Query or enumerate registry value

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

Function at 0x404374
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x458048], 0
je 0x4043d5
cmp word [0x45821c], 0xd7b2
jne 0x40439d
cmp dword [0x458224], 0
jbe 0x40439d
mov eax, 0x458218
call dword [0x458234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x456070
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 0x4043fc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x456030], 0
jne 0x4043f1
push 0
push 0x456068
push 0x456070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406070
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 0x4060d6
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.00404760
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403098
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060c0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060dd
lea eax, [ebp - 0x10]
call fcn.004044f0
ret

Function at 0x40c094
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 0x40c0cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045e0
jmp 0x40c0d6
mov eax, ebx
mov edx, esi
call fcn.00404544
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c0e0
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 0x40c101
mov al, byte [esp]
jmp 0x40c103
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c788
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c600
mov eax, dword [0x45712c]
cmp byte [eax], 0
je 0x40c804
mov eax, dword [0x456f54]
call fcn.00402cf0
call fcn.00402864
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.00409894
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 0x40c84c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c83a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x456f00]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458664]
call fcn.00405584
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 0x40d0a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d176
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404588
lea eax, [ebp - 8]
call fcn.00404a00
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049b0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d160
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d159
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 - 8]
call fcn.004049b0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d143
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d188
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d143
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d160
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d17d
lea eax, [ebp - 8]
call fcn.004044f0
ret

Function at 0x40d5f4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d658
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404760
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409424
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d65f
lea eax, [ebp - 0xc]
call fcn.004044f0
ret

Function at 0x41b780
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x458884
cmp dword [edi], 0
jne 0x41b7fc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x458880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x456450
mov ecx, 2
call fcn.004028f8
mov edx, 0x41b758
lea eax, [esi + 5]
call fcn.0041b778
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b778
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 0x41b7d1
mov dword [0x458880], 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 0x41ca18
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 0x41ca1e
ret
Function at 0x41ef54
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 0x41efa5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ef8c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ef7c
jmp 0x41efa5
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 0x41ef8d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e72c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42e678
call sub.user32.dll_EnumWindows
ret

Function at 0x42e84c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42e8c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042e2ac
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42e871
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042deac
cmp dword [ebp - 4], 0
je 0x42e8b3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004049b0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e8d0
lea eax, [ebp - 4]
call fcn.004044f0
ret

Function at 0x431a14
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 [0x458b54], 0
je 0x431b63
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4570d0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x431b63
mov eax, dword [0x458b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x458b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x431b32
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x458b54]
call fcn.00414d50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x431b2a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x431b2a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x431b2a
mov eax, dword [ebp - 0x14]
call fcn.0043a6ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x431b2a
push ebp
call fcn.004319d0
pop ecx
test al, al
jne 0x431b2a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x431ae6
mov eax, dword [ebp - 0x14]
call fcn.004391dc
dec eax
jle 0x431b2a
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.004039b4
cmp byte [ebp - 1], 0
je 0x431b2a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x431b2a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458b58]
call fcn.0043119c
inc edi
dec ebx
jne 0x431a79
mov eax, dword [0x458b58]
cmp dword [eax + 8], 0
jle 0x431b4a
mov eax, dword [0x458b58]
call fcn.0043122c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431b63
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00431838
pop ecx
test al, al
jne 0x431b63
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 0x435144
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 0x435190
mov eax, esi
call fcn.0044a918
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435190
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435190
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4352cf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4351d0
cmp eax, 0x108
ja 0x4351d0
mov eax, esi
call fcn.0044a918
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4352c6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4352cf
jmp 0x4352c6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4352af
cmp eax, 0x20a
ja 0x4352af
test byte [esi + 0x50], 0x80
jne 0x435202
sub eax, 0x203
je 0x4351ff
sub eax, 3
je 0x4351ff
sub eax, 3
jne 0x435202
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435216
dec eax
je 0x43522b
dec eax
je 0x435248
dec eax
je 0x43522b
jmp 0x43524f
mov ecx, ebx
mov eax, dword [0x4570d0]
mov eax, dword [eax]
mov edx, esi
call fcn.004540c4
jmp 0x4352c6
cmp byte [esi + 0x5d], 1
jne 0x435241
mov eax, esi
mov si, 0xffed
call fcn.004039b4
jmp 0x4352cf
or word [esi + 0x54], 1
jmp 0x4352c6
and word [esi + 0x54], 0xfffe
jmp 0x4352c6
mov eax, dword [0x458b10]
cmp byte [eax + 0x20], 0
je 0x4352c6
mov eax, dword [0x458b10]
cmp dword [eax + 0x1c], 0
je 0x4352c6
mov eax, dword [ebx]
mov edx, dword [0x458b10]
cmp eax, dword [edx + 0x1c]
jne 0x4352c6
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.0044a85c
mov byte [ebp - 0xc], al
mov ax, 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.004039b4
jmp 0x4352cf
cmp eax, 0xb00b
jne 0x4352c6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00433a64
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 0x43f024
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x457230]
cmp byte [eax + 0xc], 0
je 0x43f191
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f18a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x458b64], 0
jne 0x43f078
push 0x43f198
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43f1a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b64], eax
cmp dword [0x456c10], 0
jne 0x43f173
push 0x43f1b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x456c10], eax
cmp dword [0x456c10], 0
je 0x43f173
push 0x43f1bc
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b68], eax
push 0x43f1cc
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b6c], eax
push 0x43f1e0
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b70], eax
push 0x43f1f8
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b74], eax
push 0x43f210
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b78], eax
push 0x43f224
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b7c], eax
push 0x43f23c
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b80], eax
push 0x43f254
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b84], eax
push 0x43f270
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b88], eax
push 0x43f27c
mov eax, dword [0x456c10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f191
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x443038
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.004044f0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x443087
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.00404760
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a7cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a81c]
test si, 4
je 0x44a7e0
or bl, 1
test si, 8
je 0x44a7ea
or bl, 4
test si, 1
je 0x44a7f4
or bl, 8
test si, 2
je 0x44a7fe
or bl, 0x10
test si, 0x10
je 0x44a808
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a817
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret