joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4831a7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0047430e
and dword [ebp - 4], 0
cmp dword [0x4e2354], 0
mov ebx, eax
jne 0x483258
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x483309
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a80a8
push edi
call esi
test eax, eax
je 0x483309
push eax
call fcn.0047429c
mov dword [esp], 0x4a8098
push edi
mov dword [0x4e2354], eax
call esi
push eax
call fcn.0047429c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4e2358], eax
call esi
push eax
call fcn.0047429c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e235c], eax
call esi
push eax
call fcn.0047429c
pop ecx
mov dword [0x4e2364], eax
test eax, eax
je 0x483258
push 0x4a8050
push edi
call esi
push eax
call fcn.0047429c
pop ecx
mov dword [0x4e2360], eax
mov eax, dword [0x4e2360]
cmp eax, ebx
je 0x4832b0
cmp dword [0x4e2364], ebx
je 0x4832b0
push eax
call fcn.00474317
push dword [0x4e2364]
mov esi, eax
call fcn.00474317
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4832b0
test edi, edi
je 0x4832b0
call esi
test eax, eax
je 0x4832a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4832a7
test byte [ebp - 0xc], 1
jne 0x4832b0
or dword [ebp + 0x10], 0x200000
jmp 0x4832e9
mov eax, dword [0x4e2358]
cmp eax, ebx
je 0x4832e9
push eax
call fcn.00474317
pop ecx
test eax, eax
je 0x4832e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4832e9
mov eax, dword [0x4e235c]
cmp eax, ebx
je 0x4832e9
push eax
call fcn.00474317
pop ecx
test eax, eax
je 0x4832e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e2354]
call fcn.00474317
pop ecx
test eax, eax
je 0x483309
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48330b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
and al, dh
add byte [ebx], bh
mov eax, 0x2b0d18
jle 0x4061d9
mov dword [eax + 0x18], ebp
xor byte [eax], al
add byte [ecx + 0x48], dl
push ecx
dec eax
add al, 0x5f
inc ecx
pop esi
mov dword [eax + 4], ecx
xor esp, dword [ebx + 0x8c2a137]
xchg dword [edi + 0x5e], ebx
mov eax, 9
pop ebx
aaa
ret 8
push ebp
mov ebp, esp
xor ch, ah
or byte [ebx + 0x564cf645], cl
push edi
enter 0xffffffffffff8a18, 1
jne 0x406413
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [eax + 4]
mov edi, dword [ebx + 0x33]
test edx, edx
pushfd
stosb byte es:[edi], al
clc
jbe 0x4061c8
mov esi, dword [eax + 0x301f]
add esi, 0x15
cmp esi, dword [edx - 0x7cbee98c]
invalid
invalid

Function at 0x407b9c
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x407b9f
imul edi, dword [ecx + 0x5a], 0xffffffdd
jmp fcn.00407b8a

Function at 0x40a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp - 0x66]
mov ecx, dword [eax - 0x6f]
test ecx, ecx
jne 0x40a2ed
in al, 0xdc
aad 0x79
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, dword [esi + 0x5d]
add eax, 0x408b0004
or byte [edx - 0x29], ch
mov eax, dword [eax + 8]
push 0xffffffffffffffd7
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jge 0x40a2e7
add byte [ebp + 0x3dea7dc0], al
add byte [eax], 0
add byte [esi + 0x1c0bd00], bl
add byte [eax + 0x56], bl
cmp eax, 0x80
sahf
add byte [ebp + 0x580001c0], bh
push esi
jne 0x40a2f8
mov eax, 0x81011105
pop esi
pop ebp
ret 4

Function at 0x40a5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add dword [0x5d895318], 0x10
test ebx, ebx
push edi
mov dword [ebp - 4], 0xd000
jge 0x40a5f9
mov eax, dword [ebp + 0xc]
xor ebx, ebx
jo 0x40a625
add byte [ecx + ecx - 0x75], dh
dec esp
cwde
add al, 0x43
mov ecx, dword [eax + ebx*4 + 4]
inc ebx
test ecx, ecx
jne 0x40a5f0
invalid
adc byte [ebx - 0xc0cf69], cl
adc eax, 0xd340c196
Function at 0x402f50
Capabilities:
Query or enumerate registry value

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

Function at 0x403c94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45f048], 0
je 0x403cf5
cmp word [0x45f21c], 0xd7b2
jne 0x403cbd
cmp dword [0x45f224], 0
jbe 0x403cbd
mov eax, 0x45f218
call dword [0x45f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45d06c
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 0x403d1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45d030], 0
jne 0x403d11
push 0
push 0x45d064
push 0x45d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405968
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 0x4059ce
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.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40aaf0
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 0x40ab29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40ab32
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b1e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b05c
mov eax, dword [0x45e0c0]
cmp byte [eax], 0
je 0x40b260
mov eax, dword [0x45dee0]
call fcn.00402980
call fcn.00402824
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.00408328
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 0x40b2a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b296
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45de90]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45f664]
call fcn.00404e7c
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 0x40bafc
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 0x40bbd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bbbc
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bbb5
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.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bbe4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb9f
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 0x40bbbc
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bbd9
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x40c050
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 0x40c0b4
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.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407eb8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0bb
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x41a218
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45f884
cmp dword [edi], 0
jne 0x41a294
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45f880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45d3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a1f0
lea eax, [esi + 5]
call fcn.0041a210
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a210
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 0x41a269
mov dword [0x45f880], 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 0x41b4b8
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 0x41b4be
ret
Function at 0x41d9ac
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 0x41d9fd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d9e4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d9d4
jmp 0x41d9fd
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 0x41d9e5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f9f0
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 0x42f93c
call sub.user32.dll_EnumWindows
ret

Function at 0x42fb10
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 0x42fb8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042f570
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 0x42fb35
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042f170
cmp dword [ebp - 4], 0
je 0x42fb77
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
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 0x42fb94
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x432e44
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 [0x45fb54], 0
je 0x432f93
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45e05c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x432f93
mov eax, dword [0x45fb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45fb54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x432f62
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45fb54]
call fcn.004137d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x432f5a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x432f5a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x432f5a
mov eax, dword [ebp - 0x14]
call fcn.0043badc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x432f5a
push ebp
call fcn.00432e00
pop ecx
test al, al
jne 0x432f5a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432f16
mov eax, dword [ebp - 0x14]
call fcn.0043a60c
dec eax
jle 0x432f5a
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.004032d4
cmp byte [ebp - 1], 0
je 0x432f5a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x432f5a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45fb58]
call fcn.004325cc
inc edi
dec ebx
jne 0x432ea9
mov eax, dword [0x45fb58]
cmp dword [eax + 8], 0
jle 0x432f7a
mov eax, dword [0x45fb58]
call fcn.0043265c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432f93
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432c68
pop ecx
test al, al
jne 0x432f93
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 0x436574
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 0x4365c0
mov eax, esi
call fcn.0044c03c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4365c0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4365c0
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 0x4366ff
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x436600
cmp eax, 0x108
ja 0x436600
mov eax, esi
call fcn.0044c03c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4366f6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4366ff
jmp 0x4366f6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4366df
cmp eax, 0x20a
ja 0x4366df
test byte [esi + 0x50], 0x80
jne 0x436632
sub eax, 0x203
je 0x43662f
sub eax, 3
je 0x43662f
sub eax, 3
jne 0x436632
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x436646
dec eax
je 0x43665b
dec eax
je 0x436678
dec eax
je 0x43665b
jmp 0x43667f
mov ecx, ebx
mov eax, dword [0x45e05c]
mov eax, dword [eax]
mov edx, esi
call fcn.00455878
jmp 0x4366f6
cmp byte [esi + 0x5d], 1
jne 0x436671
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x4366ff
or word [esi + 0x54], 1
jmp 0x4366f6
and word [esi + 0x54], 0xfffe
jmp 0x4366f6
mov eax, dword [0x45fb10]
cmp byte [eax + 0x20], 0
je 0x4366f6
mov eax, dword [0x45fb10]
cmp dword [eax + 0x1c], 0
je 0x4366f6
mov eax, dword [ebx]
mov edx, dword [0x45fb10]
cmp eax, dword [edx + 0x1c]
jne 0x4366f6
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.0044bf80
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.004032d4
jmp 0x4366ff
cmp eax, 0xb00b
jne 0x4366f6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00434e94
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 0x439c6c
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 + 0x1f8], 0
je 0x439c88
cmp dword [esi + 4], 0
je 0x439cb5
test byte [ebx + 0x55], 1
jne 0x439ca7
mov eax, ebx
call fcn.0043880c
test eax, eax
jne 0x439ca7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439dc5
mov edx, esi
mov eax, ebx
call fcn.00439790
jmp 0x439dc5
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 0x439dbe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043badc
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.004364a8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00439c6c
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.0043badc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439dc5
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 0x4404dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45e1d0]
cmp byte [eax + 0xc], 0
je 0x440649
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440642
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45fb64], 0
jne 0x440530
push 0x440650
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440658
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb64], eax
cmp dword [0x45dba0], 0
jne 0x44062b
push 0x440668
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45dba0], eax
cmp dword [0x45dba0], 0
je 0x44062b
push 0x440674
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb68], eax
push 0x440684
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb6c], eax
push 0x440698
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb70], eax
push 0x4406b0
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb74], eax
push 0x4406c8
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb78], eax
push 0x4406dc
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb7c], eax
push 0x4406f4
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb80], eax
push 0x44070c
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb84], eax
push 0x440728
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb88], eax
push 0x440734
mov eax, dword [0x45dba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440649
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444764
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.00403e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4447b3
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.00404080
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44bef0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44bf40]
test si, 4
je 0x44bf04
or bl, 1
test si, 8
je 0x44bf0e
or bl, 4
test si, 1
je 0x44bf18
or bl, 8
test si, 2
je 0x44bf22
or bl, 0x10
test si, 0x10
je 0x44bf2c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bf3b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret