joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001af60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.1001f7f0
mov esi, dword [ebp + 0x18]
mov edi, eax
push esi
mov dword [ebp - 8], edi
xor ebx, ebx
call dword [0x101d1ab8]
add esp, 8
test edi, edi
je 0x1001b089
test eax, eax
je 0x1001b089
inc eax
push eax
call fcn.1002045d
mov edx, eax
mov dword [ebp - 0x10], eax
add esp, 4
sub edx, esi
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [edx + esi - 1], cl
test cl, cl
jne 0x1001afa6
push 0x5c
push eax
call fcn.10159de0
mov edi, eax
add esp, 8
test edi, edi
je 0x1001afc7
mov byte [edi], bl
inc edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1001b07a
push 0x400
mov dword [ebp - 4], 0x400
mov dword [ebp - 8], 1
call fcn.1002045d
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001b048
cmp eax, 0xea
jne 0x1001b068
push esi
call fcn.10020458
push dword [ebp - 4]
call fcn.1002045d
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001b015
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1001b055
cmp eax, 2
jne 0x1001b068
push esi
call dword [0x101d1ab8]
push eax
push esi
call fcn.1001f7b0
add esp, 0xc
mov ebx, eax
push esi
call fcn.10020458
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call fcn.10020458
add esp, 4
test ebx, ebx
jne 0x1001b0ae
cmp dword [ebp + 0x2c], 0
je 0x1001b0ae
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x1001b0ae
push esi
call dword [0x101d1ab8]
push eax
push esi
call fcn.1001f7b0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001b0f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop ebp
ret

Function at 0x10023d2d
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x10023d80
push esi
push dword [ebp + 8]
call fcn.10023f19
mov edi, eax
test edi, edi
je 0x10023d7b
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10023d7b
mov eax, dword [ebp - 8]
jmp 0x10023d92
mov eax, dword [ebp + 0x10]
jmp 0x10023d92
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x10023d98
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175f9c
mov eax, dword fs:[0]
push eax
mov eax, 0x1018
call fcn.101584c0
mov eax, dword [0x101d28ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1024], eax
je 0x10023ecc
push 0
push edx
call fcn.10023f19
mov ebx, eax
test ebx, ebx
jne 0x10023e00
push esi
jmp 0x10023ef4
call fcn.1002f183
push eax
lea ecx, [ebp - 0x1014]
call fcn.1002160b
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x1024]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x101c], eax
test eax, eax
jne 0x10023e8b
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.10022a89
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x1024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x101c], eax
call fcn.10024057
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x101c], 0
jne 0x10023eb9
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.1002206b
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.10022ee9
jmp 0x10023efb
push esi
mov ecx, edi
call fcn.100216b4
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x10023eb2
test esi, esi
jne 0x10023ed5
mov esi, 0x10186599
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.100216b4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157bce
leave
ret 0x10

Function at 0x10027b2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x10027b69
call fcn.100258e9
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10027b69
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10027b71
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.10037f0a
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x100285a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10028633
cmp dword [esi + 0x20], 0
je 0x10028633
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10028633
cmp dword [ebp + 8], 0
je 0x10028633
xor edi, edi
mov ebx, edi
call fcn.100258e9
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x10028617
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10028633
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.10038a0b
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1002862f
mov ecx, esi
call fcn.10028349
mov eax, edi
jmp 0x10028635
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1002cbc6
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10175ef6
call fcn.101582e8
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x1002cbec
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1002cc4c
call fcn.1002f183
push eax
lea ecx, [ebp - 0x10]
call fcn.1002160b
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x10183a4c]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.10164a97
push eax
call fcn.10021d35
add esp, 0x14
test esi, esi
je 0x1002cc3f
push esi
call fcn.101645d0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10022ee9
mov eax, ebx
call fcn.101582b1
ret 8
Function at 0x1002dedc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x10176465
call fcn.10158353
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x1002dfe6
cmp ebx, dword [esi + 0xc]
jge 0x1002dfe6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x1002df33
cmp ebx, dword [edi + 8]
jl 0x1002dfd4
cmp dword [ebp + 0xc], 0
je 0x1002dfd4
xor ebx, ebx
jmp 0x1002df6d
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.1002d938
mov edi, eax
test edi, edi
je 0x1002df4d
mov dword [edi], vtable.CThreadData.0
jmp 0x1002df4f
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.1002de06
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x1002df88
push 4
push dword [esi + 0xc]
call fcn.1002d800
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1002dfa0
push 2
push 4
push dword [esi + 0xc]
call fcn.1002d800
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x1002e00d
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.10159700
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1002dfe6
cmp ebx, dword [edi + 8]
jge 0x1002dfe6
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.101582b1
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1002518d
int3
Function at 0x10039111
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x1003913c
cmp dword [edi + 0x80], 0
jne 0x1003913c
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.100258e9
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.100393b0
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10039169
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.100258e9
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1003919c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.100391af
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1003b2eb
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
mov edi, dword [esi + 0xc]
jne 0x1003b341
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1003b31a
call fcn.10033ebf
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1003b32f
call fcn.10033ebf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1003b341
call fcn.10033ebf
call fcn.100258e9
cmp dword [eax + 0x3c], 0
je 0x1003b356
push edi
mov ecx, ebx
call fcn.1003aa19
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1003b528
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1003b37f
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1003b38b
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1003d4f3
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101d28ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.10159700
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.10164a97
push eax
call fcn.10021d35
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x1018821c]
je 0x1003d65d
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1003d671
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1003d671
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x1003d58c
mov eax, edi
jmp 0x1003d5bb
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1003d5a9
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.1003d298
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x1003d5b2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.1003d7b3
test eax, eax
je 0x1003d5e0
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.1003d124
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1003d5e4
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1003d7b3
test eax, eax
je 0x1003d60b
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.1003d124
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1003d60f
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.1003d7b3
test eax, eax
je 0x1003d637
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.1003d124
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x1003d639
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x1003d64b
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x1003d65d
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10157bce
leave
ret 4
xor eax, eax
jmp 0x1003d660
Function at 0x1004179d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.1002cb0c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x100417d9
call fcn.100419b8
mov dword [esi + 0xc], 1
jmp 0x100417de
call fcn.100419b8
cmp dword [esi], 0
je 0x10041827
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10041801
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10027be5
jmp 0x10041812
push 0xff
mov ecx, esi
call fcn.10022a89
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10024057
jmp 0x1004184b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x1004184b
push dword [esi]
push dword [ebp - 4]
call fcn.1002d0a2
pop esi
leave
ret 0xc

Function at 0x1004190f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.100419b8
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10041957
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10027be5
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10024057
jmp 0x10041962
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1002d0a2
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10054730
Capabilities:
Get file system object information

Disassembly:
push 0x394
mov eax, 0x10178175
call fcn.1015831c
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a0], edi
test ecx, ecx
je 0x100548c7
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x10054899
sub eax, 1
je 0x100547af
sub eax, 1
je 0x10054787
sub eax, 1
je 0x100547af
push 0x10186599
mov ecx, edi
call fcn.100216b4
mov eax, edi
call fcn.101582c6
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x10054771
lea eax, [ebp - 0x28c]
push eax
jmp 0x10054776
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x10054771
push esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.1003d675
test eax, eax
je 0x10054771
call fcn.1002f183
push eax
lea ecx, [ebp - 0x3a0]
call fcn.1002160b
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x1005484f
test byte [ebp - 0x21c], 0x18
jne 0x10054871
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x224]
call dword [0x10183a4c]
mov ecx, ebx
call esi
jmp 0x10054871
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x10183a4c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.1002206b
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.10022ee9
jmp 0x1005477d
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x10054771
lea eax, [ebp - 0x390]
jmp 0x100547ac
call fcn.10025173
int3

Function at 0x10054a5a
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.100a3503
call fcn.1002593d
cmp dword [eax + 0x14], 0
jne 0x10054a75
mov ecx, esi
pop esi
jmp fcn.10053d7f
pop esi
ret

Function at 0x10055945
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.1001aa70
call fcn.1002593d
cmp dword [eax + 0x14], 0
jne 0x10055960
mov ecx, esi
pop esi
jmp fcn.100551bb
pop esi
ret
Function at 0x1005e58c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x1005e5a5
call fcn.100258e9
mov esi, dword [eax + 0xc]
push 0x1018e660
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1005e5e7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1005e5e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1005e5e7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1005e5f0
jmp 0x1005e5e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10085894
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x10085a27
je 0x10085a4d
cmp eax, 0xa1
jb 0x10085a8b
cmp eax, 0xa2
jbe 0x10085a4d
cmp eax, 0xa3
jbe 0x10085a8b
cmp eax, 0xa5
jbe 0x10085a4d
cmp eax, 0xa6
jbe 0x10085a8b
cmp eax, 0xa8
jbe 0x10085a4d
cmp eax, 0x100
jne 0x10085a8b
cmp dword [edi + 0xc0], 0xffffffff
je 0x10085a4d
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10085a4d
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x1008597c
sub eax, 1
jne 0x10085a4d
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x1008596b
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x10183a4c]
mov ecx, edi
call esi
test eax, eax
jne 0x100859c8
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x10085941
jmp 0x10085aa5
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x10085aa5
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x10183a4c]
mov ecx, edi
call esi
test eax, eax
jne 0x100859c8
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x10085993
jmp 0x10085aa5
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x10183a4c]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x10183a4c]
mov ecx, edi
call esi
mov ecx, eax
call fcn.1002ce1e
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x10183a4c]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x10085aa5
cmp eax, 0x200
jb 0x10085a8b
cmp eax, 0x202
jbe 0x10085a4d
cmp eax, 0x203
jbe 0x10085a8b
cmp eax, 0x205
jbe 0x10085a4d
add eax, 0xfffffdf9
cmp eax, 1
ja 0x10085a8b
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x10085a6c
cmp dword [eax + 0x20], ebx
je 0x10085a6c
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x10085a8b
cmp dword [eax + 0x20], ebx
je 0x10085a8b
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x10085aaa
lea eax, [edi + 0x2250]
test eax, eax
je 0x10085aa1
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x10085aaa
xor eax, eax
inc eax
jmp 0x10085ab2
push esi
mov ecx, edi
call fcn.1007d96c
pop edi
pop esi
pop ebx
leave
ret 4