joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415b00
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4444e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], esp
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x458bcc]
test byte [eax + 0x30c], 2
je 0x415b84
mov eax, dword [esi + 4]
cmp eax, 0x200
jne 0x415bd9
cmp dword [0x458be0], 0
movzx ecx, word [esi + 0xc]
movzx eax, word [esi + 0xe]
jne 0x415b79
cmp dword [0x458be4], ecx
jne 0x415bfc
cmp dword [0x458be8], eax
jne 0x415bfc
jmp 0x415b84
mov dword [0x458be4], ecx
mov dword [0x458be8], eax
cmp dword [esi + 4], 0x100
jne 0x415bc8
cmp dword [esi + 8], 9
jne 0x415b98
call fcn.00415260
push 2
call fcn.00406830
add esp, 4
test eax, eax
je 0x415bc8
push dword [esi + 0xc]
mov eax, dword [esi + 8]
push eax
push 2
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push 2
call fcn.00406a10
add esp, 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x100
jne 0x415b84
cmp dword [0x458be0], 0
je 0x415c11
jmp 0x415b84
push 0x454168
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.00424aaa
push 0x454168
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.00424aaa
int3
Function at 0x416200
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0xec], 9
je 0x4163af
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x416256
cmp dword [ebp - 0x18], 0x12
je 0x4163d5
lea eax, [ebp - 0x1c]
push eax
call fcn.00415b00
add esp, 4
jmp 0x4163a2
mov eax, dword [esi + 0xec]
dec eax
cmp eax, 7
ja case.0x416266.4
jmp dword [eax*4 + 0x416400]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call edi
cmp dword [ebp - 0x18], 0x12
je 0x4163d5
lea eax, [ebp - 0x1c]
push eax
call fcn.00415b00
add esp, 4
cmp dword [esi + 0xec], 3
je case.0x416266.3
push 0x4ff
push 0x3e8
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4163a2
cmp dword [0x4570d0], 0xffffffff
jne 0x4162c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4162c9
call ebx
push eax
call fcn.00405100
add esp, 4
mov dword [esi + 0xec], eax
cmp dword [0x4570d0], 0xffffffff
jne 0x41631b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov dword [ebp + 8], eax
call fcn.004050a0
add esp, 4
test eax, eax
je 0x416379
mov ecx, dword [esi + 0xf8]
sub ecx, dword [ebp + 8]
push 0x4ff
push ecx
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4163a2
call ebx
add eax, 5
push eax
mov dword [ebp + 8], eax
call fcn.004050a0
add esp, 4
test eax, eax
je 0x41634d
mov eax, dword [esi + 0xf8]
sub eax, dword [ebp + 8]
push 0x4ff
push eax
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4163a2
call ebx
cmp eax, dword [esi + 0xf8]
jge 0x416369
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
cmp eax, dword [esi + 0xf8]
jl 0x416357
mov dword [esi + 0xfc], eax
mov dword [esi + 0xec], 0
mov eax, dword [0x458bcc]
test byte [eax + 0x30c], 2
je 0x4163a2
mov eax, dword [0x458be0]
test eax, eax
je 0x4163a2
dec eax
mov dword [0x458be0], eax
jmp 0x4163a2
mov dword [esi + 0xec], 3
cmp dword [esi + 0xec], 9
jne 0x416225
mov dword [esi + 0xec], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x454168
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x2b
push eax
call fcn.00424aaa
push 0x454168
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
call fcn.00424aaa
push 0x454168
lea eax, [ebp + 8]
mov dword [ebp + 8], 0xa
push eax
call fcn.00424aaa
nop
mov dh, 0x62
inc ecx
add al, bl
bound eax, qword [ecx]
jo 0x41646c
inc ecx
add byte [ecx - 0x46ffbe9d], bh
arpl word [ecx], ax
ljmp 0x4163
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
je 0x4164a0
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push edi
call fcn.00424030
push dword [ebx + 0x1c]
call fcn.0040c220
mov eax, dword [ebx + 0x20]
add esp, 0x10
test eax, eax
je 0x4164a0
push eax
call fcn.0040c220
add esp, 4
mov dword [ebx + 0x1c], edi
pop edi
mov dword [ebx + 0x18], esi
pop esi
mov dword [ebx + 0x20], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418090
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push edi
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
push dword [edi + 8]
call esi
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp + 0xc]
test eax, eax
js 0x418123
mov ecx, dword [ebp - 0x18]
push eax
mov ecx, dword [ecx + 0x130]
call fcn.0041a3f0
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], eax
sub ecx, 1
je 0x4180f5
sub ecx, 1
je 0x4180eb
movzx ecx, word [edi + 0x14]
movzx edx, word [edi + 0x16]
jmp 0x4180fd
movzx ecx, word [edi + 0x18]
movzx edx, word [edi + 0x1a]
jmp 0x4180fd
movzx ecx, word [edi + 0x1c]
movzx edx, word [edi + 0x1e]
push 0xcc0020
movsx eax, dx
push eax
movsx eax, cx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, 0x200
test word [edi + 2], ax
je 0x418150
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 8]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x118]
push eax
push 0xff
push 0xd
push dword [edi + 8]
call esi
push 0
push 0
push 0x31
push dword [edi + 8]
call esi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call edi
push 1
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x25
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004228d0
add esp, 8
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
lea eax, [ebp - 4]
push eax
call fcn.004229f0
add esp, 4
push esi
push ebx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x44542c
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov esi, ecx
push eax
push dword [ebp + 8]
mov ebx, dword [esi + 0x40]
call fcn.004228d0
add esp, 8
push eax
call fcn.00426c43
mov edi, eax
lea eax, [ebp - 4]
push eax
call fcn.004229f0
add esp, 0xc
test edi, edi
jne 0x419b0d
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x3c]
mov eax, 0x4d42
mov word [ebp - 0x14], ax
lea eax, [ebx + 0xe]
add eax, ecx
mov dword [ebp - 0x12], eax
lea eax, [ecx + 0xe]
mov dword [ebp - 0xa], eax
xor eax, eax
push edi
push 0xe
mov dword [ebp - 0xe], eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004279c6
push edi
push dword [esi + 0x3c]
push 1
push dword [esi + 0x18]
call fcn.004279c6
push edi
push ebx
push 1
push dword [esi + 0x14]
call fcn.004279c6
push edi
call fcn.004269c4
add esp, 0x34
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.0041a2a0
mov eax, dword [edi + 0x324]
xor ebx, ebx
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41a971
mov ebx, dword [ecx + 0x34]
push 1
call fcn.00419330
mov eax, dword [edi + 0x324]
push 0
push ebx
mov dword [eax + esi*4], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1a4
call fcn.00422efa
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x41a999
mov dword [esi], 0
mov dword [esi + 0xc4], 0
jmp 0x41a99b
xor esi, esi
mov eax, dword [edi + 0x324]
mov ecx, dword [ebp + 8]
mov dword [eax + ecx*4], esi
mov eax, dword [ebp + 0x14]
and eax, 1
mov dword [esi + 0x48], ecx
push eax
push dword [ebp + 0x10]
mov dword [esi + 0x130], edi
mov ecx, esi
push dword [ebp + 0xc]
mov dword [esi + 0x44], 1
push ebx
push dword [edi + 0x320]
call fcn.0041a670
pop edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4228e0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042fec1

Function at 0x422900
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
and ecx, 1
mov eax, ebx
shl ecx, 4
mov edx, ecx
or edx, 6
and al, 2
push esi
lea eax, [ebp - 0x144]
cmove edx, ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
jne 0x422947
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
and ebx, 4
nop
mov ecx, dword [ebp - 4]
xor eax, eax
and ecx, dword [ebp - 0x144]
cmp eax, ecx
sbb eax, eax
neg eax
test ebx, ebx
jne 0x42296c
xor eax, eax
cmp eax, ecx
sbb eax, eax
inc eax
test eax, eax
je 0x4229b8
mov al, byte [ebp - 0x118]
xor ecx, ecx
test al, al
setne cl
cmp al, 0x2e
jne 0x422998
mov al, byte [ebp - 0x117]
test al, al
je 0x4229b8
cmp al, 0x2e
jne 0x422998
cmp byte [ebp - 0x116], 0
je 0x4229b8
test ecx, ecx
je 0x4229b8
lea eax, [ebp - 0x118]
inc esi
push eax
push edi
call fcn.0040c2d0
push 0x445570
push edi
call fcn.0040c2d0
add esp, 0x10
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x422950
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x422950
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
mov ecx, 0x44542c
test esi, esi
mov eax, 0x446090
push edi
cmovs eax, ecx
push eax
push dword [ebp + 8]
call fcn.00426c43
mov edi, eax
add esp, 8
test edi, edi
jne 0x422d10
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
test esi, esi
js 0x422d20
push 0
push esi
push edi
call fcn.00427211
add esp, 0xc
push edi
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.004279c6
push edi
mov esi, eax
call fcn.004269c4
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x432db5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432c34
Function at 0x906058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009061a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x90607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90606a
add dl, dl
jne 0x906089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9060dc
xor eax, eax
add dl, dl
jne 0x906096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90617d
add dl, dl
jne 0x9060a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9060d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x906075
mov eax, 1
add dl, dl
jne 0x9060ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9060f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9060e1
sub eax, ebx
mov ebx, 1
jne 0x906128
mov ecx, 1
add dl, dl
jne 0x90610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x906119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x906105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x906075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x90613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x906136
cmp eax, 0x7d00
jae 0x90616d
cmp eax, 0x500
jb 0x906168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x906075
cmp eax, 0x7f
ja 0x906170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x906075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x90619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x906075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0xe6c000], 1
mov dword [0xe6c004], 1
mov dword [0xe6c008], 1
mov dword [0xe6bff4], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401415
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401438
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x40145a
cmp eax, 0x20b
je 0x40147f
jmp 0x4014aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x40146c
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401497
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, 0
leave
ret
Function at 0x40ee50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d1d8]
jne 0x40ee5a
repz ret
jmp fcn.00418380
Function at 0x8c1370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x8c138e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x8ea074
push ecx
mov edi, eax
call fcn.008d5198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8c13cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.008d502e
push esi
call fcn.008d4fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x8c4850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x8c48ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x8ef720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8c48ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.008d51e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x8c48ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x8ef720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8c492a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.008d6082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x8c4957
mov word [eax], si
add eax, 2
push eax
call fcn.008d6030
add esp, 4
jmp 0x8c4959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x8c48ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8c48b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x8c4ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x8c5080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x8c50c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x8ea458
push ecx
call fcn.008d51e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.008d51e1
add esp, 0x10
jmp 0x8c50d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.008d520b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.008d4dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.008c5050
mov eax, dword [0x8ef728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x8c513b
push esi
call fcn.008c4fb0
add esp, 4
mov dword [0x8ef728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x8c514c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.008c4ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x8c8440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x8c84b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x8c848e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8c8471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8c847e
add edx, ecx
cmp ebx, edx
jb 0x8c848a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8c8467
xor ecx, ecx
jmp 0x8c84a2
test eax, eax
jne 0x8c8492
xor ecx, ecx
jmp 0x8c84a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.008c83c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x8c88f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x8c8921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x8c8946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x8c896e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x8c8993
push ecx
push esi
call fcn.008c84c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x8c9c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x8c9c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x8c9c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x8c9c38
add edx, eax
cmp ebx, edx
jb 0x8c9c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x8c9c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x8c9c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x8c9c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x8c9cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8c9c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8c9ca8
add edx, ecx
cmp ebx, edx
jb 0x8c9cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8c9c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x8c9f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.008d6145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x8c9ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x8c9fdd
lea eax, [esp + 0x18]
push eax
jmp 0x8c9fe2
push 0x8ef720
call fcn.008d5fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x8c9fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x8c9f40
push 4
push ecx
push eax
call fcn.008d643f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret