joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443288
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x4432db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045b988
test al, al
je 0x4432db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045b5c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4432db
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045b5c4
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x446780
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004045a4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4467d9
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404814
mov esp, ebp
pop ebp
ret
Function at 0x450120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x48aba0], 0
je 0x45027b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x489a88]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45027b
mov eax, dword [0x48aba4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48aba0]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x45024a
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x48aba0]
call fcn.0041aa04
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45023e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45023e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45023e
mov eax, dword [ebp - 0x14]
call fcn.0045b5c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45023e
push ebp
call fcn.004500d4
pop ecx
test al, al
jne 0x45023e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4501fa
mov eax, dword [ebp - 0x14]
call fcn.004599c4
dec eax
jle 0x45023e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040392c
cmp byte [ebp - 1], 0
je 0x45023e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45023e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48aba4]
call fcn.0044f59c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x45018c
mov eax, dword [0x48aba4]
cmp dword [eax + 8], 0
jle 0x450262
mov eax, dword [0x48aba4]
call fcn.0044f648
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45027b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044ff10
pop ecx
test al, al
jne 0x45027b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4548e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x45493b
mov eax, dword [ebp - 0x14]
call fcn.00437688
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45493b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x45493b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x454aca
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x454984
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x454984
mov eax, dword [ebp - 0x14]
call fcn.00437688
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x454abf
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x454aca
jmp 0x454abf
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x454a9a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x454a9a
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x4549c7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x4549c1
sub eax, 3
je 0x4549c1
sub eax, 3
jne 0x4549c7
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x4549de
dec eax
je 0x4549f5
dec eax
je 0x454a1c
dec eax
je 0x4549f5
jmp 0x454a29
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x489a88]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0044310c
jmp 0x454abf
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x454a0f
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.0040392c
jmp 0x454aca
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x454abf
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x454abf
mov eax, dword [0x48ab5c]
cmp byte [eax + 0x20], 0
je 0x454abf
mov eax, dword [0x48ab5c]
cmp dword [eax + 0x1c], 0
je 0x454abf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x48ab5c]
cmp eax, dword [edx + 0x1c]
jne 0x454abf
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.004375a4
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.0040392c
jmp 0x454aca
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x454abf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00452a1c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458d38
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x458d59
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x458d8e
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x458d7e
mov eax, dword [ebp - 4]
call fcn.004573bc
test eax, eax
jne 0x458d7e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x458eb8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045870c
jmp 0x458eb8
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x458eb1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045b5c4
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0045479c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00458d38
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045b5c4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458eb8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x460fb8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x489ce8]
cmp byte [eax + 0xc], 0
je 0x46112a
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x461123
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48abb0], 0
jne 0x461011
push 0x461130
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebp - 4], eax
push 0x461138
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abb0], eax
cmp dword [0x488ddc], 0
jne 0x46110c
push 0x461148
call sub.kernel32.dll_LoadLibraryA
mov dword [0x488ddc], eax
cmp dword [0x488ddc], 0
je 0x46110c
push 0x461154
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abb4], eax
push 0x461164
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abb8], eax
push 0x461178
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abbc], eax
push 0x461190
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abc0], eax
push 0x4611a8
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abc4], eax
push 0x4611bc
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abc8], eax
push 0x4611d4
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abcc], eax
push 0x4611ec
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abd0], eax
push 0x461208
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abd4], eax
push 0x461214
mov eax, dword [0x488ddc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abd8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46112a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret
Function at 0x46781c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467891
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404bf0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a64
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404864
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404bf0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004675c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467898
lea eax, [ebp - 0xc]
call fcn.004045a4
ret
Function at 0x479fec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a05d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00479fc8
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00466cc4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00466814
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a064
lea eax, [ebp - 0x14]
call fcn.004045a4
ret
Function at 0x47f168
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff14
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a54
mov eax, dword [ebp - 8]
call fcn.00404a54
xor eax, eax
push ebp
push 0x47f2c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004045a4
mov dl, 1
mov eax, dword [0x431298]
call fcn.004313f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47f29d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 7
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.004314cc
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00431580
test al, al
je 0x47f27f
mov dword [ebp - 0x1c], 0xc9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xea]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404a64
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov al, byte [ebp + eax - 0xea]
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
jne 0x47f255
jmp 0x47f240
mov eax, dword [ebp - 0x20]
mov byte [ebp + eax - 0xea], 0x20
jmp 0x47f255
mov eax, dword [ebp - 0x20]
cmp byte [ebp + eax - 0xe9], 0
jne 0x47f233
jmp 0x47f255
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xc9
jne 0x47f21e
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xea]
mov ecx, 0xc9
call fcn.00404814
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00408b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f2a4
mov eax, dword [ebp - 0x10]
call fcn.00431484
mov eax, dword [ebp - 0x10]
call fcn.00403724
ret
Function at 0xee4370
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 0xee438e
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 0xf0d074
push ecx
mov edi, eax
call fcn.00ef8198
mov esi, eax
add esp, 8
test esi, esi
jne 0xee43cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ef802e
push esi
call fcn.00ef7fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xee7850
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 0xee78ae
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 0xf12720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xee78ba
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.00ef81e1
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 0xee78ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xf12720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xee792a
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.00ef9082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xee7957
mov word [eax], si
add eax, 2
push eax
call fcn.00ef9030
add esp, 4
jmp 0xee7959
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 0xee78ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xee78b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xee7ff0
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 0xee8080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xee80c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xf0d458
push ecx
call fcn.00ef81e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00ef81e1
add esp, 0x10
jmp 0xee80d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00ef820b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00ef7dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00ee8050
mov eax, dword [0xf12728]
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 0xee813b
push esi
call fcn.00ee7fb0
add esp, 4
mov dword [0xf12728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xee814c
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.00ee7ff0
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 0xeeb440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xeeb4b7
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 0xeeb48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xeeb471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xeeb47e
add edx, ecx
cmp ebx, edx
jb 0xeeb48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xeeb467
xor ecx, ecx
jmp 0xeeb4a2
test eax, eax
jne 0xeeb492
xor ecx, ecx
jmp 0xeeb4a2
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.00eeb3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xeeb8f0
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 0xeeb921
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 0xeeb946
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 0xeeb96e
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 0xeeb993
push ecx
push esi
call fcn.00eeb4c0
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 0xeecc00
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 0xeecc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xeecc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xeecc38
add edx, eax
cmp ebx, edx
jb 0xeecc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xeecc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xeecc50
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 0xeecc70
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 0xeeccb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xeecc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xeecca8
add edx, ecx
cmp ebx, edx
jb 0xeeccb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xeecc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xeecf60
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.00ef9145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xeecffb
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 0xeecfdd
lea eax, [esp + 0x18]
push eax
jmp 0xeecfe2
push 0xf12720
call fcn.00ef8fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xeecfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xeecf40
push 4
push ecx
push eax
call fcn.00ef943f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret