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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00430ce8
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x43d3eb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.004c0962
jmp 0x43d400
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret
Function at 0x440f9b
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x440fec
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.004273ec
mov ecx, ebx
call fcn.00433bfe
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x441042
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x441007
cmp dword [ebp + 0xc], 0x79
je 0x441002
cmp dword [ebp + 0xc], 0x12
jne 0x441042
xor eax, eax
inc eax
jmp 0x441042
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x441047
cmp esi, 0x79
je 0x441047
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x5815bc], 0
jne 0x44103e
test byte [ebx + 0x2f4], 2
jne 0x44103e
cmp esi, 0x12
je 0x44106b
cmp esi, 0x79
jne 0x44103e
test edi, edi
jne 0x44103e
test eax, eax
jne 0x44103e
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00414b33
cmp eax, ebx
jne 0x44108e
test dword [ebp + 0x10], 0x40000000
jne 0x44108e
cmp esi, 0x79
jne 0x44109c
mov ecx, dword [ebp + 8]
jmp 0x441095
cmp esi, 0x79
jne 0x44109c
mov ecx, ebx
call fcn.004a5355
jmp 0x4410b7
cmp dword [ebx + 0x2a0], 0
jge 0x4410b7
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x441040
Function at 0x4488ba
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x521b6d
call fcn.005054f4
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
call fcn.004be929
test eax, eax
je 0x448a89
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
lea ecx, [esi + 4]
xor edi, edi
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
call fcn.00451e98
test eax, eax
je 0x448900
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.0044a215
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00456866
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0046f8d5
lea ecx, [ebp - 0x14]
call fcn.0044a215
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00456866
push eax
push edi
push 0x53eea4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0046f8d5
push edi
push 0x4000100
push 2
push edi
push edi
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x448a73
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0047fba5
push edi
push 0x1000
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0043490b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [eax + 0x20], ebx
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 4
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.00443894
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0x20], edi
mov byte [ebp - 4], 3
call fcn.00495aef
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004fcff6
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.004b1a09
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], esi
call fcn.004daea8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004daea8
mov eax, ebx
jmp 0x448a8b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004daea8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004daea8
xor eax, eax
call fcn.00505599
ret 8
Function at 0x4524a5
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x529e7a
call fcn.005054c1
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push 0x23
push edi
mov dword [ebp - 0x10], esi
call fcn.004d3675
pop ecx
pop ecx
mov dword [ebp - 4], esi
xor ebx, ebx
push 0x94
lea eax, [ebp - 0x1c]
inc ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.004c83f8
mov esi, eax
mov dword [ebp - 4], ebx
push 0x90
lea eax, [ebp - 0x18]
push eax
call fcn.004c83f8
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
call fcn.004c2fad
pop ecx
pop ecx
mov byte [ebp - 4], 3
push edi
call fcn.0048afed
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004cdfac
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.004cdfac
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004cdfac
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x452546
push dword [edi]
call fcn.00488156
pop ecx
push 0x55908c
push edi
call fcn.0046efaa
mov eax, edi
call fcn.00505599
ret

Function at 0x4534a2
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x4535e3
push esi
push edi
push 0x53aca0
call fcn.004c7c29
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x453532
mov esi, dword [ebx + 0x168]
jmp 0x45351e
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45351e
push edi
call fcn.00414b33
push eax
push 0x579550
call fcn.0048267c
pop ecx
pop ecx
test eax, eax
je 0x45351e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x45351e
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x4534de
lea ecx, [ebx + 0x164]
call fcn.00480495
jmp 0x4535e1
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x4535e1
jmp 0x453548
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004d81b0
mov esi, dword [eax]
test esi, esi
jne 0x453561
xor ebx, ebx
jmp 0x453564
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4535d7
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4535d7
test edi, edi
je 0x4535a9
push esi
push 0x579550
call fcn.0048267c
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x539a2c
call fcn.0048267c
pop ecx
pop ecx
test eax, eax
je 0x4535d7
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.00406ac3
test eax, eax
jne 0x4535d7
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00467af0
cmp dword [ebp - 8], 0
jne 0x453545
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4645b3
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x581a30], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4645e2
or dword [0x581a30], 1
mov ecx, 0x581a2c
call fcn.0044a215
push 0x52c7e5
call fcn.00503f1f
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4645ee
call fcn.004dbf49
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x464667
cmp dword [eax + 0x20], 0
je 0x464667
test eax, eax
je 0x464605
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x464667
mov eax, dword [edi + 4]
dec eax
je 0x464646
dec eax
je 0x46461c
dec eax
jne 0x464667
mov esi, 0x428e
jmp 0x46464b
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46464b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x46464b
add esi, 3
jmp 0x46464b
mov esi, 0x3ea0
push esi
mov ecx, 0x581a2c
call fcn.004634f7
test eax, eax
je 0x4645e9
mov eax, dword [0x581a2c]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x464669
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x466b98
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x84]
xor edx, edx
div ecx
mov dword [ebp - 8], eax
test edx, edx
je 0x466bb7
inc dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x88]
xor edx, edx
div ecx
push ebx
mov ebx, eax
test edx, edx
je 0x466bcf
inc ebx
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jle 0x466c1d
push edi
xor edi, edi
test ebx, ebx
jle 0x466c11
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
push 0xcc0020
push 0
push 0
push dword [ebp + 0xc]
push eax
imul eax, edi
push ecx
imul ecx, dword [ebp - 4]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
inc edi
cmp edi, ebx
jl 0x466be0
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x466bda
pop edi
pop ebx
leave
ret 0x18

Function at 0x467d65
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov eax, SysReAllocString
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x467d95
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x467dbb
mov eax, dword [ebp - 4]
cmp dword [ebp + 0x10], esi
je 0x467dbe
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x467dae
jmp 0x467db0
Function at 0x4718e4
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x51c510
call fcn.005054c1
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4719bd
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4719bd
cmp ebx, 0x43
je 0x471926
cmp ebx, 0x2d
jne 0x4719bd
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4719bd
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.0044a215
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.004b7b6a
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.004daea8
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.004c6e95
call fcn.00505599
ret 4
Function at 0x472ec0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x528244
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57bf70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 0xc
mov dword [esp + 0x18], ebx
call fcn.0047d781
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, ebx
je 0x472f1c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x472f1e
xor eax, eax
mov byte [esp + 0x30], bl
mov dword [ebp], eax
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x40]
push ebx
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x472fc4
mov edi, dword [ebp]
cmp esi, dword [edi + 4]
je 0x472f85
mov eax, dword [edi]
push esi
push eax
call fcn.00503955
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x472f82
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push ebx
push ecx
call fcn.00503570
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov edx, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], esi
mov eax, dword [eax]
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x472fab
cmp dword [esp + 0x40], esi
je 0x472fc4
mov esi, dword [ebp]
cmp dword [esi + 4], ebx
je 0x472fc4
mov eax, dword [esi]
push ebx
push eax
call fcn.00503955
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x473c5e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x57bf70]
jne 0x473c68
repz ret
jmp fcn.0050a114

Function at 0x475310
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor esi, esi
xor ebp, ebp
push edi
test ebx, ebx
jb 0x475386
ja 0x475329
cmp esi, dword [esp + 0x20]
jae 0x47538a
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, ebx
sbb eax, ebp
test eax, eax
ja 0x475345
jb 0x475341
cmp ecx, 0x10000
jae 0x475345
mov edi, ecx
jmp 0x47534a
mov edi, 0x10000
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push edi
lea edx, [esi + ecx]
push edx
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x475386
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x475386
add esi, eax
adc ebp, 0
cmp ebp, ebx
jb 0x475329
ja 0x475386
cmp esi, dword [esp + 0x20]
jb 0x475329
cmp esi, dword [esp + 0x20]
jne 0x4753a7
cmp ebp, ebx
jne 0x4753a7
or esi, ebp
je 0x47539f
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x47a962
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x5232f5
call fcn.0050552a
mov esi, ecx
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 0x4d0]
call fcn.004af845
xor ebx, ebx
push ebx
push 0x559088
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 4], ebx
call fcn.0042a16c
cmp eax, 0xffffffff
jne 0x47aa45
push ebx
push 0x532ba4
lea ecx, [ebp - 0x4d0]
call fcn.0042a16c
cmp eax, 0xffffffff
jne 0x47aa45
push ebx
push 0x532ba0
lea ecx, [ebp - 0x4d0]
call fcn.0042a16c
cmp eax, 0xffffffff
jne 0x47aa45
push edi
lea ecx, [ebp - 0x4d4]
call fcn.004af845
mov edi, dword [ebp - 0x4d4]
push ebx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ebx
push edi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x47aa28
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.004daea8
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
call fcn.004daea8
mov eax, esi
call fcn.005055ad
ret
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004cf9df
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004daea8
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push ebx
push dword [ebp - 0x4d0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47aa6f
mov esi, dword [ebp - 0x4cc]
jmp 0x47aa12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
jmp 0x47aa12
Function at 0x47f665
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x57bf70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x47f69e
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x47f6c5
cmp dword [0x57fd78], 0
jne 0x47f6c5
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x47f6b8
push 0x12
call esi
test bx, ax
je 0x47f6bc
mov eax, edi
jmp 0x47f734
push edi
call fcn.0050843f
pop ecx
jmp 0x47f734
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00503570
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x47f6ee
call fcn.004dbf49
call fcn.00422b9c
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473c5e
leave
ret 4

Function at 0x48124a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x52854f
call fcn.005054c1
mov dword [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
push 0x55897c
xor ebx, ebx
push 1
push ebx
push 0x5589ac
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4812ec
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x4812aa
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x4812bc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x5589bc
push eax
call dword [ecx]
test eax, eax
jl 0x4812ec
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4812ec
mov ecx, dword [eax]
push 1
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004cdfac
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004cdfac
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.004cdfac
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004cdfac
call fcn.00505599
ret
Function at 0x483de6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x483e00
call fcn.004dbf49
call fcn.0040a8a5
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x483e20
xor eax, eax
jmp 0x483f3b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x483e19
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x483e19
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d781
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x483dfb
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x483e7d
mov ecx, edi
call fcn.00434e0f
jmp 0x483e82
call fcn.0049e06a
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x483e94
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x483eaf
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x483f27
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x483efe
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x483ef1
test eax, eax
jbe 0x483ef1
push eax
mov ecx, 0x578ff4
call fcn.00449fca
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x483ec8
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x483f27
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0042bcd0
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc