joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4210cb
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x421214
call fcn.004108ac
sub esp, 0x16c
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push 0x800
push 0x160
lea eax, [ebp - 0x178]
push eax
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x18], ebx
push edi
mov dword [ebp - 4], ebx
mov byte [esi], bl
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x42112f
test byte [ebp - 0x16e], 1
je 0x42112f
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
push 0x43d198
push ebx
push 0x43d188
call fcn.00420e41
test eax, eax
jge 0x421156
mov dword [ebp - 4], 0xffffffff
call fcn.0042121e
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x184]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push 0x43d178
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax]
test eax, eax
jl 0x421204
mov eax, 0
test edi, edi
je 0x42119e
push edi
call fcn.00410c90
add esp, 4
lea ebx, [eax + 1]
lea eax, [eax*2 + 5]
and al, 0xfc
call fcn.00410c60
mov eax, esp
push ebx
push edi
push eax
call fcn.004207c1
push 0
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ecx]
push dword [ebp - 0x14]
call dword [eax + 0x14]
test eax, eax
jl 0x4211f9
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4211bb
xor eax, eax
jmp 0x4211be
mov eax, dword [eax + 0x1c]
push 2
mov ecx, dword [ebp - 0x10]
push eax
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax + 0x4c]
test eax, eax
jl 0x4211f9
push 0
mov ecx, dword [ebp - 0x10]
push 0
mov eax, dword [ecx]
push dword [ebp + 0x14]
push esi
push dword [ebp - 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.0042121e
mov eax, 1
jmp 0x42113d
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
jmp 0x42112f
Function at 0x421226
Capabilities:
Get disk information

Disassembly:
mov eax, 0x421305
call fcn.004108ac
sub esp, 0x150
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov ebx, 0x104
push eax
mov edi, dword [ebp + 8]
push edi
mov esi, dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x421273
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.004201c1
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push edi
call fcn.00421317
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x1c]
push eax
push ecx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4212b2
mov dword [ebp - 4], 0xffffffff
call fcn.0042130f
jmp 0x42125e
test byte [ebp - 0x14], 2
jne 0x4212bf
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x14], 4
jne 0x4212ef
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4212ef
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xffffffff
call fcn.0042130f
mov eax, 1
jmp 0x421260

Function at 0x421c8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.00438350
mov ebx, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x421cc0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push dword [esp + 0x14]
push edi
mov ecx, esi
call fcn.00421cd2
pop edi
pop esi
pop ebx
ret 8
Function at 0x421fde
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
cmp dword [ecx + 0x40], 0
mov edi, ecx
je 0x42200c
call fcn.00438350
mov esi, dword [eax + 0xc]
push 5
push dword [edi + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x422019
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x422027
mov eax, 0xffffffff
jmp 0x4220dd
mov ecx, edi
xor ebp, ebp
call fcn.00421f69
mov esi, eax
call fcn.00422ec2
push esi
call fcn.00422895
test esi, esi
je 0x422059
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x422059
push ebp
push esi
mov ebp, 1
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call fcn.00422e7d
push esi
call fcn.00422895
push eax
mov ecx, edi
push ebx
call fcn.00421cd2
test eax, eax
je 0x4220a9
test byte [edi + 0x24], 0x10
je 0x422096
mov ebx, 4
mov ecx, edi
call fcn.004259f1
test ah, 1
je 0x42208e
mov ebx, 5
push ebx
mov ecx, edi
call fcn.0042561c
push 0x97
xor eax, eax
push eax
mov ecx, edi
push eax
push eax
push eax
push eax
call fcn.00425aed
test ebp, ebp
je 0x4220b6
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x4220cc
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x1c]
jne 0x4220cc
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
mov ecx, edi
call fcn.00421f9f
mov eax, dword [edi + 0x2c]
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4222ab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
mov edi, ecx
cmp dword [ecx + 0x40], 0
je 0x4222d8
call fcn.00438350
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4222e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, 1
test esi, esi
je 0x422325
cmp word [esi + 2], 0xffff
mov eax, dword [esi]
jne 0x422305
mov cx, word [esi + 0x12]
mov eax, dword [esi + 0xc]
mov dx, word [esi + 0x14]
jmp 0x42230d
mov cx, word [esi + 0xa]
mov dx, word [esi + 0xc]
test eax, 0x1801
jne 0x422323
test cx, cx
jne 0x422323
test dx, dx
mov eax, 1
je 0x422325
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x4253d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebp
mov edi, ecx
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x425414
call fcn.00438350
mov ebp, dword [eax + 0xc]
push 0xf0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x425414
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42540b
xor eax, eax
jmp 0x42541c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00425423
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x4269c9
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp dword [eax + 4], 0x100
jne 0x426a0e
cmp dword [eax + 8], 0x70
jne 0x426a0e
mov eax, dword [eax + 0xc]
shr eax, 0x10
test ah, 0x40
jne 0x426a0e
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x426a0e
push 0x11
call esi
test ax, ax
jl 0x426a0e
push 0x12
call esi
test ax, ax
mov eax, 1
jge 0x426a10
xor eax, eax
pop esi
ret 4

Function at 0x426ce8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
push 0x118
push 0
mov esi, dword [ebp + 8]
push esi
call fcn.00410d30
add esp, 0xc
lea ecx, [esi + 0x12]
push 0x104
push dword [edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x426d9d
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x14]
push eax
push edx
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x426d3a
xor eax, eax
jmp 0x426da2
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
jne 0x426d51
xor eax, eax
jmp 0x426da2
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
mov byte [esi + 0x10], 0
call fcn.0041e77f
mov eax, dword [eax]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
lea edi, [esi + 8]
push ecx
mov dword [esi], eax
lea ecx, [ebp - 4]
call fcn.0041e77f
mov ecx, dword [eax]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov dword [edi], ecx
push eax
lea ecx, [ebp - 4]
call fcn.0041e77f
mov eax, dword [eax]
cmp dword [esi], 0
mov dword [esi + 4], eax
jne 0x426d96
mov dword [esi], eax
cmp dword [edi], 0
jne 0x426d9d
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x428a99
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
test al, 1
je 0x428abf
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
test eax, eax
jne 0x428ad5
xor eax, eax
jmp 0x428ada
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x20]
call dword [eax + 0x9c]
test eax, eax
mov eax, 0
je 0x428ada
mov eax, 1
pop esi
ret
Function at 0x428f68
Capabilities:
Get common file path
Get disk size
Timestomp file

Disassembly:
mov eax, 0x42911f
call fcn.004108ac
sub esp, 0x248
mov dword [ebp - 0x14], ecx
add ecx, 0x10
push esi
mov dword [ebp - 0x18], ecx
call fcn.004202a1
test byte [ebp + 0xd], 0x10
je 0x42904c
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 8]
call fcn.00426daa
test eax, eax
je 0x42904c
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.004201c1
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
call fcn.00421317
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x2c]
push edx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x428fe9
mov esi, dword [ebp - 0x34]
imul esi, dword [ebp - 0x2c]
imul esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x144]
add eax, eax
cmp eax, esi
jge 0x429040
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x254]
push eax
push ecx
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ecx, dword [ebp - 0x1c]
push 0x105
mov byte [ecx], 0
mov ecx, dword [ebp - 0x18]
call fcn.0042065f
push eax
lea ecx, [ebp - 0x254]
push 0
push 0x447418
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
call fcn.004206b4
mov dword [ebp - 4], 0xffffffff
call fcn.00429129
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
je 0x429131
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00420a87
test eax, eax
je 0x429131
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00420469
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x20]
push ecx
mov eax, dword [ebp - 0x14]
push edx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4290c7
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x150]
push eax
push ecx
call fcn.00426e64
add esp, 8
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x20]
push ecx
push edx
push eax
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
push eax
push eax
push 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
push dword [ebp - 0x10]
call fcn.00420809
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x10]
push esi
push 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
test eax, eax
je 0x42910f
push esi
mov eax, dword [ebp - 0x18]
push 4
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
push esi
call fcn.0042083b
add esp, 4
mov eax, 1
jmp 0x42914a
mov ecx, dword [ebp - 0x18]
call fcn.004202a1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.00420a87
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42bc23
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, 0x100
cmp edi, eax
ja 0x42bc6a
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, edi
jne 0x42bc6a
push esi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42bc74
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x42d458
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0042d3d5
mov esi, eax
cmp dword [edi], 0
je 0x42d4aa
push 0x20
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x20]
push ecx
push dword [ebp + 0x10]
push edx
call fcn.0042d4cb
test eax, eax
jne 0x42d4c5
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0042dab3
mov ecx, edi
call fcn.0042d423
jmp 0x42d4c5
lea eax, [ebp + 0x18]
lea edx, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea ecx, [ebp - 0x20]
push ecx
push esi
call fcn.0042bc23
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42dc51
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0042d3d5
mov esi, eax
cmp dword [edi], 0
je 0x42dcc0
push 0x20
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 8]
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.0042dcec
test eax, eax
jne 0x42dca0
push 0xffffffffffffffff
push 0
push 0xf111
call fcn.0042dab3
mov ecx, edi
call fcn.0042d423
cmp dword [ebp + 0x1c], 6
jne 0x42dcb0
fld qword [ebp - 8]
mov ecx, dword [ebp + 0x10]
fstp dword [ecx]
jmp 0x42dce4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov dword [ecx], edx
jmp 0x42dce4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push str._.g
lea eax, [ebp - 0x28]
push eax
call fcn.0040f8d0
add esp, 0x14
lea ecx, [ebp - 0x28]
push ecx
push esi
call fcn.0042bc23
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42ea91
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42eab1
xor eax, eax
jmp 0x42ec09
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42eac6
xor eax, eax
jmp 0x42ec09
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
add edi, 0x40
push edi
call fcn.00410bc0
add esp, 4
mov esi, eax
test esi, esi
jne 0x42eae4
xor eax, eax
jmp 0x42ec09
push edi
push dword [ebp - 0xc]
push esi
call fcn.004108d0
add esp, 0xc
mov edi, dword [esi]
mov dword [ebp - 8], 0x10
add edi, esi
xor eax, eax
mov edx, 0x43e528
mov ecx, dword [edi]
cmp dword [edx], ecx
je 0x42eb17
add edx, 8
inc eax
cmp edx, 0x43e548
jb 0x42eb05
jmp 0x42eb6c
cmp dword [ebp + 0x10], 0
je 0x42eb2f
cmp dword [eax*8 + 0x43e52c], 0x12
je 0x42eb6c
mov dword [edi], 0xffffff
jmp 0x42eb6c
mov ebx, dword [eax*8 + 0x43e52c]
push ebx
call dword [sym.imp.USER32.dll_GetSysColor]
movzx eax, ah
push ebx
mov dword [ebp - 4], eax
shl dword [ebp - 4], 8
call dword [sym.imp.USER32.dll_GetSysColor]
movzx eax, al
shl eax, 0x10
push ebx
or dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetSysColor]
shr eax, 0x10
movzx ecx, al
or dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [edi], edx
add edi, 4
dec dword [ebp - 8]
jne 0x42eafc
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push ebx
mov dword [ebp - 0x10], eax
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 8], eax
test eax, eax
je 0x42ebf2
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, 1
mov cl, byte [esi + 0xe]
push 0xcc0020
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push 0
shl edx, cl
push esi
lea eax, [eax + edx*4 + 0x28]
push eax
push ebx
push edi
push 0
push 0
push ebx
push edi
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_StretchDIBits]
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call fcn.00410c40
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x430d4a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ecx + 0x74], 0
mov esi, ecx
je 0x430d92
push dword [ebp + 8]
call fcn.004399c4
mov esi, eax
test esi, esi
jne 0x430d6c
xor eax, eax
jmp 0x430dbd
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
sbb eax, eax
neg eax
jmp 0x430dbd
push dword [ebp + 0x10]
push 0x447130
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x10]
push dword [esi + 0x88]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431377
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call fcn.004232d2
test eax, eax
je 0x431398
mov eax, 1
jmp 0x431581
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4313ae
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00422895
test byte [esi + 0x64], 0x20
mov dword [ebp - 4], eax
jne 0x4313d1
cmp edi, 0x201
je 0x4313d1
cmp edi, 0x202
jne 0x43153b
cmp edi, 0x200
jb 0x4313e1
cmp edi, 0x209
jbe 0x4313f9
cmp edi, 0xa0
jb 0x43153b
cmp edi, 0xa9
ja 0x43153b
call fcn.00437d9a
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x10], edx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x28
lea ecx, [ebp - 0x3c]
push 0
push ecx
call fcn.00410d30
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x28
push ecx
mov ebx, dword [esi]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, esi
call dword [ebx + 0x68]
cmp dword [ebp - 0x18], 0xffffffff
mov ebx, eax
je 0x43145a
push dword [ebp - 0x18]
call fcn.00410c40
add esp, 4
cmp edi, 0x201
jne 0x431471
test byte [ebp - 0x35], 0x80
je 0x431471
mov dword [ebp - 0xc], 1
jmp 0x431478
mov dword [ebp - 0xc], 0
cmp edi, 0x201
je 0x431496
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x431496
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x104]
test ebx, ebx
jl 0x431505
cmp dword [ebp - 0xc], 0
jne 0x431505
cmp edi, 0x202
jne 0x4314c7
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0xe0]
push 0xc8
mov ecx, esi
push 0xe001
call fcn.0043111a
jmp 0x431532
test byte [esi + 0x60], 8
jne 0x4314f8
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4314f8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x104], ebx
je 0x431532
push 0x12c
mov ecx, esi
push 0xe000
call fcn.0043111a
jmp 0x431532
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xe0]
jmp 0x431532
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x431518
cmp dword [ebp - 0xc], 0
je 0x431532
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0xe0]
push 0xe001
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 8]
mov dword [eax + 0x104], ebx
mov ecx, esi
call fcn.0042432b
test eax, eax
je 0x431550
cmp dword [eax + 0x50], 0
je 0x431550
xor eax, eax
jmp 0x431581
cmp dword [ebp - 4], 0
je 0x431577
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
mov ebx, dword [ecx]
call dword [ebx + 0x94]
test eax, eax
jne 0x43158a
mov ecx, dword [ebp - 4]
call fcn.004241ae
mov dword [ebp - 4], eax
test eax, eax
jne 0x431556
push dword [ebp + 8]
mov ecx, esi
call fcn.004255e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x431581
Function at 0x4342ed
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
je 0x434383
mov ebp, 0x18000000
push ebx
call fcn.004228bf
mov esi, eax
test esi, esi
je 0x434374
mov eax, dword [edi + 0x1c]
cmp ebx, eax
je 0x434374
push ebx
push eax
call fcn.00434141
test eax, eax
je 0x434374
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp dword [esp + 0x14], 0
jne 0x43435d
mov ecx, eax
and ecx, ebp
cmp ecx, 0x10000000
jne 0x434356
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x24], 2
jmp 0x434374
cmp dword [esp + 0x14], 0
je 0x434374
test ebp, eax
jne 0x434374
test byte [esi + 0x24], 2
je 0x434374
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x24], 0xfd
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
jne 0x43430d
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x439a12
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x74], 0
push esi
push edi
je 0x439a69
push dword [ebp + 8]
call fcn.004399c4
mov esi, eax
test esi, esi
jne 0x439a33
mov eax, dword [ebp + 0x10]
jmp 0x439a7e
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
mov dword [ebp - 8], 4
push ecx
push edx
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x439a64
mov eax, dword [ebp - 4]
jmp 0x439a7e
mov eax, dword [ebp + 0x10]
jmp 0x439a7e
push dword [ecx + 0x88]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43a012
Capabilities:
Allocate thread local storage

Disassembly:
push esi
xor eax, eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], eax
cmp dword [esp + 8], eax
mov dword [ecx + 0x1c], 4
mov dword [ecx + 0xc], 1
mov esi, ecx
je 0x43a04e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x43a054
call fcn.0041e91c
jmp 0x43a054
mov dword [esi], 0xffffffff
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret 4

Function at 0x43a1c3
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
lea esi, [ecx + 0x20]
mov edi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x43a1e1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x43a1e4
mov eax, dword [edi + 4]
test eax, eax
je 0x43a1f9
mov ecx, dword [esp + 0xc]
cmp dword [eax + 8], ecx
jle 0x43a1f9
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ecx*4]
jmp 0x43a1fb
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
ret 4