joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f366f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
cmp eax, 0x40
jae 0x4f3732
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x4f3696
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x4f36c8
push esi
call fcn.004f32ac
push edi
push dword [ebp - 0x48]
push esi
call fcn.004f32de
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004f2921
add esp, 0x18
jmp 0x4f36da
test edi, edi
je 0x4f36da
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.004540d0
add esp, 0xc
mov eax, ebx
pop edi
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x4f36dd
push esi
call fcn.004f32ac
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004f32de
add esp, 0x10
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x4f36fd
add esi, 0x60
push esi
call fcn.004f32ac
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004f32de
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
pop ebx
call fcn.00453c72
mov esp, ebp
pop ebp
ret 8
call fcn.004559ce
int3

Function at 0x4f4164
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
lea eax, [edi + 8]
cmp dword [eax], esi
jne 0x4f417c
push eax
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4f418e
lea eax, [edi + 0xc]
cmp dword [eax], esi
jne 0x4f418c
push eax
call fcn.004e872f
pop ecx
mov esi, eax
mov eax, esi
pop edi
pop esi
ret
Function at 0x4f457e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esi], ax
cmp byte [edi + 1], al
je 0x4f45f6
mov bl, byte [edi + 2]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x24]
call fcn.004b50bc
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
call fcn.004f48e1
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov al, byte [edi + 3]
mov byte [esi + 0x80], al
jmp 0x4f45ff
mov ecx, esi
call fcn.004ddecc
mov bl, al
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x48], ecx
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x40], 0x3f
mov byte [esi + 5], cl
test bl, bl
jne 0x4f462c
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x24], cl
je 0x4f462c
or word [esi], 1
jmp 0x4f4651
mov eax, 0xfffe
and word [esi], ax
test bl, bl
je 0x4f4651
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f7299
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x4f72ac
xor eax, eax
jmp 0x4f733d
lea eax, [esi + 0x30]
push eax
call fcn.004e8743
pop ecx
test eax, eax
je 0x4f72bf
push 0xc
pop eax
jmp 0x4f733d
push edi
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4f7333
lea eax, [esi + 0x18]
push eax
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4f7333
lea eax, [esi + 0x1c]
push eax
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4f7333
push dword [ebp + 0x14]
lea eax, [esi + 0x20]
push dword [ebp + 0x14]
push eax
call fcn.004e8842
add esp, 0xc
test eax, eax
jne 0x4f7333
push dword [ebp + 0x14]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.004e8842
add esp, 0xc
test eax, eax
jne 0x4f7333
push dword [ebp + 0x10]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
push dword [ebp + 0xc]
push eax
call fcn.004e88a1
add esp, 0xc
test eax, eax
je 0x4f7338
push 0xc
pop eax
jmp 0x4f733c
mov dword [esi], edi
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x4f75ac
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x4f75c3
push ebx
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4f7605
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x4f75d7
push edi
call fcn.004e872f
pop ecx
test eax, eax
jne 0x4f7604
push ebx
call fcn.004e87ad
push edi
call fcn.004e87ad
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x4f75f5
xor eax, eax
jmp 0x4f7604
push esi
push 0x4f756e
push eax
call fcn.004e88a1
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4fcebb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.004b51bd
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00453c72
mov esp, ebp
pop ebp
ret

Function at 0x4fcf4b
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x4fd5e7
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
pop ebp
ret

Function at 0x503829
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x67faba50
Capabilities:
Encode data using xor

Disassembly:
sbb eax, 0xe1687863
sub byte [ebp - 0x73], bl
fcom dword [ebp + 0x25]
xchg ebx, eax
insb byte es:[edi], dx
lodsb al, byte [esi]
je 0x67faba1d
cmc
mov ebp, 0x8e82863b
std
and eax, 0xd7f7c1fb

Function at 0x67fabaf0
Capabilities:
Encode data using xor

Disassembly:
add eax, 0xfc6aca55
cld
xor byte [ecx - 2], 0x4c
loope 0x67fabaec
aam 0xcb
call 0x6649bd88
sbb byte [ebx], 0x18
mov ebx, 0x1165a9a4
popfd
out 0xe6, al
add bh, cl
xchg esp, eax
sar byte [ebp + 0x712baf2f], 1
push ss
fisubr word [eax + 0x4d]
pop edi
fmul dword [edi - 0x60]
scasd eax, dword es:[edi]
jecxz 0x67fabb7d
ja 0x67fabb02
fucomi st(1)
push edx
jbe 0x67fabb2a
cmp dword [edi], 0x9280aba2
scasb al, byte es:[edi]
retf 0x1f8f
stosd dword es:[edi], eax
adc byte [edx + 0x1f8fcaae], 0xf0
invalid
fld xword [ebp - 0x6d]
pushfd
mul dword [0xe021976a]
invalid
Function at 0x401910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x50]
mov esi, dword [ebp + 8]
mov ecx, 0x11
push esi
mov esi, 0x44f470
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0x44
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
xor ebx, ebx
call sub.KERNEL32.DLL_CreateProcessA
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4019f1
test esi, esi
jbe 0x401976
add esi, 0xea60
push esi
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
jmp 0x401981
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
xor edi, edi
jmp 0x4019e8
push 0x3e8
call sub.KERNEL32.DLL_Sleep
mov edx, str.InstallShield_Win
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004019fc
mov ebx, eax
test ebx, ebx
je 0x4019e7
xor eax, eax
xor esi, esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.USER32.DLL_GetWindowThreadProcessId
cmp dword [ebp - 0xc], 0
je 0x4019ce
mov edx, dword [ebp - 0xc]
push edx
push 1
push 0x100000
call sub.KERNEL32.DLL_OpenProcess
mov esi, eax
test esi, esi
je 0x4019e7
push 0x3e8
push esi
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
jne 0x4019d2
push esi
call sub.KERNEL32.DLL_CloseHandle
inc edi
cmp edi, 0x78
jge 0x4019f1
test ebx, ebx
je 0x401985
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4019fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, ecx
mov edi, edx
xor ebx, ebx
call sub.USER32.DLL_GetDesktopWindow
push 5
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
push 0x80
lea eax, [esp + 4]
push eax
push esi
call sub.USER32.DLL_GetClassNameA
push esp
push edi
call sub.KERNEL32.DLL_lstrcmpA
test eax, eax
jne 0x401a70
push 0x80
lea edx, [esp + 0x84]
push edx
push esi
call sub.USER32.DLL_GetWindowTextA
lea ecx, [esp + 0x80]
push ecx
call fcn.00446b7c
pop ecx
push ebp
lea eax, [esp + 0x84]
push eax
call fcn.00444c91
add esp, 8
test eax, eax
je 0x401a70
mov bl, 1
jmp 0x401a7e
push 2
push esi
call sub.USER32.DLL_GetWindow
mov esi, eax
test esi, esi
jne 0x401a1b
test bl, bl
je 0x401a86
mov eax, esi
jmp 0x401a88
xor eax, eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x407598
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.004424d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4075e7
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00442704
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e1b8
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 0x40e1be
ret

Function at 0x41051c
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 0x41056d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x410554
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x410544
jmp 0x41056d
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 0x410555
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4175c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x454af0
cmp dword [edi], 0
jne 0x417644
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x454aec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x450bc4
mov ecx, 2
call fcn.00441610
mov edx, 0x4175a0
lea eax, [esi + 5]
call fcn.004175c0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004175c0
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 0x417619
mov dword [0x454aec], 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 0x417760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4177b0]
test si, 4
je 0x417774
or bl, 1
test si, 8
je 0x41777e
or bl, 4
test si, 1
je 0x417788
or bl, 8
test si, 2
je 0x417792
or bl, 0x10
test si, 0x10
je 0x41779c
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4177ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4177b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4177ec]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4177cd
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4177dc
or bl, 4
test esi, 0x20000000
je 0x4177e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x41dd3c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x41dd4e
add esp, 0xfffffff0
call fcn.00441d64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004370b0
mov eax, ebx
call fcn.0041e088
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x430c80]
call fcn.00441a4c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x430c80]
call fcn.00441a4c
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x430c80]
call fcn.00441a4c
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x430c80]
call fcn.00441a4c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x430c80]
call fcn.00441a4c
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x41a82c
push eax
push 0
push 0
mov eax, dword [0x4547cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x40d93c]
call fcn.0040ec18
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40d93c]
call fcn.0040ec18
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x40d93c]
call fcn.0040ec18
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0041e468
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41e384
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41e384
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41e384
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41de5d
call fcn.00441dbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e168
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41e313
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x41e2f4
mov dl, 1
mov eax, dword [0x430fbc]
call fcn.00441a4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004424d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x41e2e3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042ffdc
test al, al
je 0x41e2d6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x41e324
lea eax, [ebp - 0x254]
call fcn.0043b4a0
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41e2d6
xor eax, eax
push ebp
push 0x41e2cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x41e35c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41e2b8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00442704
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x41e2b8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00442704
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e2d6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x41e1d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00434144
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e31a
lea eax, [ebp - 0x260]
call fcn.004424d4
ret

Function at 0x41eb60
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x454ae0]
cmp byte [eax + 0x95], 0
jne 0x41ebd1
cmp dword [0x454afc], 0
jne 0x41eb92
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x41eb1c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x454afc], eax
cmp dword [0x454af8], 0
jne 0x41ebad
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x454af8], eax
cmp dword [0x454b00], 0
jne 0x41ebd1
push esp
push 0
push 0
push 0x41eac0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x454b00], eax
pop edx
ret
Function at 0x41ecc8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41ecdf
add esp, 0xfffffff0
call fcn.00441d64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004370b0
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x430c80]
call fcn.00441a4c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x430c80]
call fcn.00441a4c
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x40e070]
call fcn.00413a98
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x41ee54
mov eax, dword [0x454968]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00413e68
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4207c8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x454968]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0043e2bc
test eax, eax
je 0x41edd2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043ae54
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043e2e4
test eax, eax
je 0x41ede6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00442704
mov eax, dword [0x45496c]
cmp byte [eax], 0
jne 0x41ee17
mov eax, ebx
call fcn.0041ef40
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41ee49
call fcn.00441dbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41f1b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454ae0]
cmp dword [eax + 0x24], 0
je 0x41f253
cmp dword [ebx + 0x84], 0
jne 0x41f24d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x41f140
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x41f24d
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x41f216
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x41f24d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00432334
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x41f225
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x41fc60
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x41fc95
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004425bc
jmp 0x41fc9f
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00442528
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x420b3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x420b74
mov eax, esi
call fcn.0042bedc
test al, al
je 0x420b74
mov eax, dword [ebx + 0x74]
call fcn.0042bbe0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x420b74
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042bbe0
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x4239b4
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 - 0xc]
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
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x454b3c], 0
sete dl
or al, dl
jne 0x423af4
mov eax, dword [0x454b40]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x454b3c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x423ac3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x454b3c]
call fcn.00432334
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x423abb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x423abb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x423abb
mov eax, dword [ebp - 0x14]
call fcn.0042bbe0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x423abb
push ebp
call fcn.00423970
pop ecx
test al, al
jne 0x423abb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x423a77
mov eax, dword [ebp - 0x14]
call fcn.0042a56c
dec eax
jle 0x423abb
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00441c58
cmp byte [ebp - 1], 0
je 0x423abb
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x423abb
mov edx, dword [ebp - 0x14]
mov eax, dword [0x454b40]
call fcn.004231bc
inc edi
dec esi
jne 0x423a0a
mov eax, dword [0x454b40]
cmp dword [eax + 8], 0
jle 0x423adb
mov eax, dword [0x454b40]
call fcn.0042324c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x423af4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004237d8
pop ecx
test al, al
jne 0x423af4
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