joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4280e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x428125
call fcn.0041fe7c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x428125
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x428141
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042e0c3
mov ebx, eax
test edi, edi
je 0x42813f
test esi, esi
je 0x42813f
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428a69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x428b27
cmp dword [esi + 0x20], 0
je 0x428b27
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428b27
cmp dword [ebp + 8], 0
je 0x428b27
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0041fe7c
push 0x56af38
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x428af8
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x428b27
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0042ec8f
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x428b18
test edi, edi
je 0x428b18
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x428b23
mov ecx, esi
call fcn.00428833
mov eax, ebx
jmp 0x428b29
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42f29b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x42f2c6
cmp dword [ebx + 0x80], 0
jne 0x42f2c6
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0041fe7c
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0042f533
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42f300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041fe7c
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42f337
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0042f358
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42f60f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x559969
call fcn.00536824
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
call fcn.0041fe7c
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x84], ebx
je 0x42f66e
call fcn.0041fe7c
push 5
push dword [esi + 0x84]
mov edi, dword [eax + 0xc]
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x42f67e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
jmp 0x42f681
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42f68d
or eax, 0xffffffff
jmp 0x42f7d5
mov ecx, esi
call fcn.0042fb9f
mov edi, eax
mov dword [ebp - 0x30], edi
call fcn.00426fda
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
test edi, edi
je 0x42f705
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x42f705
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42f705
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041ff72
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42f705
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x150]
test eax, eax
je 0x42f705
mov ecx, dword [ebp - 0x18]
call fcn.004233fb
test eax, eax
je 0x42f705
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.00423261
mov dword [ebp - 0x28], 1
push esi
mov dword [ebp - 4], ebx
call fcn.00426c93
push edi
call fcn.0042814a
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.0042f5b0
test eax, eax
jne 0x42f74d
cmp dword [esi + 0x9c], ebx
jne 0x42f74d
call fcn.0041fe7c
push edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0042814a
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.0042f5b0
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x9c], ebx
jmp 0x42f77e
cmp dword [ebp - 0x28], 0
je 0x42f78e
mov ecx, dword [ebp - 0x18]
push 1
call fcn.00423261
cmp dword [ebp - 0x2c], 0
je 0x42f79d
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x42f7b3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42f7b3
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042fb56
cmp dword [esi + 0x84], ebx
je 0x42f7d2
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x68]
call fcn.00536782
ret
Function at 0x43126b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x431285
mov edi, dword [esi + 0xc]
jmp 0x4312c5
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43129e
call fcn.0042500c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4312b3
call fcn.0042500c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4312c5
call fcn.0042500c
call fcn.0041fe7c
cmp dword [eax + 0x3c], 0
je 0x4312da
push edi
mov ecx, ebx
call fcn.00430a68
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004314ae
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x431303
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x43130f
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x442c00
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x5c1f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x442e25
test esi, esi
je 0x442e25
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x874], ebx
mov dword [ebp - 0x870], ebx
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x868], ebx
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
sub eax, ebx
je 0x442df6
sub eax, 1
je 0x442c98
sub eax, 1
je 0x442d5e
sub eax, 1
jne 0x442e10
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x442df1
push ebx
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041e44a
test eax, eax
je 0x442df1
lea eax, [ebp - 0x414]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x442d56
push ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041e44a
test eax, eax
je 0x442d56
cmp dword [ebp + 0x10], 1
jne 0x442db6
test byte [ebp - 0x854], 0x10
jne 0x442df1
test byte [ebp - 0x624], 0x10
jne 0x442d56
mov ecx, dword [ebp - 0x628]
mov eax, dword [ebp - 0x62c]
cmp dword [ebp - 0x858], ecx
ja 0x442d56
jb 0x442df1
cmp dword [ebp - 0x85c], eax
jb 0x442df1
cmp dword [ebp - 0x858], ecx
jb 0x442e10
ja 0x442d56
cmp dword [ebp - 0x85c], eax
jbe 0x442e10
xor ebx, ebx
inc ebx
jmp 0x442e10
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0xddc]
push 0x408
push 0x2b4
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x442e10
push 0x408
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x442e10
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x442e10
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.00442338
test al, al
jne 0x442df1
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.00442357
xor ebx, ebx
test al, al
setne bl
jmp 0x442e10
or ebx, 0xffffffff
jmp 0x442e10
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x442e0d
xor eax, eax
jmp 0x442e12
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00535f55
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041c062
int3

Function at 0x4436e3
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0048ccb8
call fcn.0041feca
cmp dword [eax + 0x14], 0
jne 0x4436fe
mov ecx, esi
pop esi
jmp fcn.00442ad5
pop esi
ret
Function at 0x445ad2
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x178]
mov bx, word [ebp + 8]
mov edi, eax
push 2
movzx edx, bx
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x445b17
test edi, edi
js 0x445b17
cmp eax, 0x20
je 0x445b0c
cmp bx, 0x71
jne 0x445b17
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x190]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x470981
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
cmp eax, edx
ja 0x470b2a
je 0x470b54
cmp eax, 0xa1
jb 0x470b97
cmp eax, 0xa2
jbe 0x470b54
cmp eax, 0xa3
jbe 0x470b97
cmp eax, 0xa5
jbe 0x470b54
cmp eax, 0xa6
jbe 0x470b97
cmp eax, 0xa8
jbe 0x470b54
cmp eax, 0x100
jne 0x470b97
cmp dword [esi + 0xc0], 0xffffffff
je 0x470b54
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x470b52
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x470ab2
sub eax, 1
jne 0x470b52
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
add eax, ecx
lea edi, [ecx + 1]
jmp 0x470a65
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x470a6b
mov eax, dword [esi + 0xbc]
inc edi
add eax, dword [esi + 0xc0]
cmp edi, eax
jl 0x470a3b
jmp 0x470aaa
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.004234f4
mov edx, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [edx + 0x270]
and dword [esi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x470bbd
mov ecx, dword [esi + 0xc0]
lea edi, [ecx - 1]
add edi, dword [esi + 0xbc]
cmp edi, ecx
jle 0x470aaa
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x470aed
dec edi
cmp edi, dword [esi + 0xc0]
jg 0x470ac5
jmp 0x470aaa
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.004234f4
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [eax + 0x270]
jmp 0x470aa3
cmp eax, 0x200
jb 0x470b97
cmp eax, 0x202
jbe 0x470b54
cmp eax, 0x203
jbe 0x470b97
cmp eax, 0x205
jbe 0x470b54
add eax, 0xfffffdf9
cmp eax, 1
ja 0x470b97
jmp 0x470b54
xor ecx, ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x470b74
cmp dword [eax + 0x20], 0
je 0x470b74
push edi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x470b95
cmp dword [eax + 0x20], 0
je 0x470b95
push edi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [edi + 4], 0x203
jne 0x470bb5
lea eax, [esi + 0x2250]
test eax, eax
je 0x470bad
mov ecx, dword [eax + 0x20]
cmp dword [edi], ecx
je 0x470aaa
push edi
mov ecx, esi
call fcn.00469318
pop edi
pop esi
pop ebp
ret 4
Function at 0x4794cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5c1f64]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x4794f0
xor eax, eax
jmp 0x4795c6
cmp dword [ebp + 0xc], 0
je 0x4794e9
xor ebx, ebx
call fcn.0041fe7c
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4794e9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4794e9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4795dc
push eax
call fcn.0053fd00
inc eax
pop ecx
mov dword [ebp - 8], eax
lea edx, [eax + eax]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x479594
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
and eax, ecx
lea ecx, [edx + 8]
cmp eax, 0x400
ja 0x479576
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.00536d90
mov esi, esp
test esi, esi
je 0x4795dc
mov dword [esi], 0xcccc
jmp 0x47958f
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.0053fbf9
mov esi, eax
pop ecx
test esi, esi
je 0x4795dc
mov dword [esi], 0xdddd
add esi, 8
jmp 0x479596
mov esi, ebx
test esi, esi
je 0x4795dc
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call fcn.0041c882
test eax, eax
je 0x4795b6
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0047ae71
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.0047ae8d
pop ecx
mov eax, ebx
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00535f55
mov esp, ebp
pop ebp
ret 8
call fcn.0041c062
int3
Function at 0x484308
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c1f64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0042332c
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.00427da8
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x484380
cmp esi, 3
jne 0x48436f
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x484380
xor eax, eax
jmp 0x4843d5
cmp esi, 0xa
jl 0x48438a
cmp esi, 0x11
jle 0x48438f
cmp esi, 4
jne 0x4843d3
test edi, 0x800
je 0x48439c
push 2
pop eax
jmp 0x4843d5
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x4843d3
mov eax, esi
sub eax, 4
je 0x484420
sub eax, 9
je 0x48440c
sub eax, 1
je 0x4843fc
dec eax
sub eax, 1
je 0x4843e8
sub eax, 1
je 0x484420
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00535f55
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x4843d5
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x4843d5
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x4843d5
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x4843d5
Function at 0x48d321
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5c1f64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x8000
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x48d353
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x48d37e
cmp dword [0x5c8854], 0
jne 0x48d37e
lea ecx, [esi - 0x41]
cmp ecx, 0x19
jbe 0x48d371
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x48d375
mov eax, esi
jmp 0x48d3f1
push esi
call fcn.0053e3b2
pop ecx
jmp 0x48d3f1
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00539550
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x48d403
call fcn.00422960
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 esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00535f55
mov esp, ebp
pop ebp
ret 4
call fcn.0041c062
int3
Function at 0x48d97d
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x55d920
call fcn.00536824
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
call fcn.0045eaf7
test eax, eax
je 0x48db1e
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebx + 4]
call fcn.0048d824
test eax, eax
je 0x48d9c0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041c899
push eax
lea ecx, [ebp - 0x18]
call fcn.00409c80
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00409b40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0041ced2
call fcn.0041c899
push eax
lea ecx, [ebp - 0x14]
call fcn.00409c80
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00409b40
mov esi, dword [ebp - 0x18]
push eax
push edi
push 0x5779f4
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0041ced2
push edi
push 0x4000100
push 2
push edi
push edi
mov edi, dword [ebp - 0x14]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x48da58
lea ecx, [edi - 0x10]
call fcn.00402870
lea ecx, [esi - 0x10]
jmp 0x48db19
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0041e5f4
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.004206e6
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [ebx + 0x20], 1
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.00420d25
and dword [ebx + 0x20], 0
lea ecx, [ebp - 0x88]
call fcn.004207f6
lea ecx, [ebp - 0x40]
call fcn.0041e65a
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.0048d5fd
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [edi - 0x10]
call fcn.00402870
lea ecx, [esi - 0x10]
call fcn.00402870
xor eax, eax
inc eax
jmp 0x48db20
call fcn.00402870
xor eax, eax
call fcn.00536782
ret 8
Function at 0x4dac8f
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x561545
call fcn.005367ed
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409cb0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x598930
call fcn.00409340
cmp eax, 0xffffffff
jne 0x4dad43
push 0
push 0x571788
lea ecx, [ebp - 0x4d0]
call fcn.00409340
cmp eax, 0xffffffff
jne 0x4dad43
push 0
push 0x56afac
lea ecx, [ebp - 0x4d0]
call fcn.00409340
cmp eax, 0xffffffff
jne 0x4dad43
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409cb0
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4dad1f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402870
jmp 0x4dad72
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00409e40
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402870
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4dad69
mov ebx, dword [ebp - 0x4cc]
jmp 0x4dad72
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402870
mov eax, ebx
call fcn.00536797
ret
Function at 0x4e770f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x4e772e
or ecx, 0xffffffff
jmp 0x4e7734
mov ecx, dword [0x5c187c]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5c1b14
call fcn.00420295
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x4e77d8
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4e77d8
test edi, edi
je 0x4e7789
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x5c18c8
call fcn.00420295
pop ecx
pop ecx
mov ebx, eax
jmp 0x4e778b
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x4e77e3
test ebx, ebx
je 0x4e77c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x4e77d8
cmp dword [ebp - 4], 0
je 0x4e77c4
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x4e77da
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x4e77d8
test edi, edi
je 0x4e77d8
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x4e77d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x4e77d8
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x4e77da