joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59ffe4
Capabilities:
Hash data using sha256

Disassembly:
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax], edx
mov edx, 0x5d0148
add eax, 8
mov ecx, 0x20
call fcn.0054b35c
ret

Function at 0x5a6de0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.004048b8
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov eax, dword [0x5d063c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
call fcn.00406d7c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00406d7c
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0xa]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x5a6e9c
mov eax, dword [0x5d063c]
mov eax, dword [eax]
call fcn.004c70cc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x14], 0
je 0x5a6e7b
cmp dword [ebp - 0x14], 0x103
je 0x5a6e7b
mov eax, dword [0x5d063c]
mov eax, dword [eax]
call fcn.004c6acc
cmp dword [ebp - 0x14], 0x103
jne 0x5a6e94
mov eax, dword [0x5d063c]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
je 0x5a6e47
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x5a6ea3
mov dword [ebp - 0x10], 0x2b67
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x5a76e4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406cd8
xor eax, eax
push ebp
push 0x5a776c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x23]
xor ecx, ecx
mov edx, 0x1e
call fcn.004048b8
mov dword [ebp - 0x1f], 3
mov word [ebp - 0x13], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x5a7788
mov edx, dword [ebp - 4]
call fcn.004071d4
mov eax, dword [ebp - 0x28]
call fcn.00406d7c
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x23]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a7773
lea eax, [ebp - 0x28]
call fcn.00406ce0
lea eax, [ebp - 4]
call fcn.00406ce0
ret

Function at 0x5a788c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x44cc28]
call fcn.0044de2c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5a78ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0044df14
xor ecx, ecx
mov edx, 0x5a790c
mov eax, dword [ebp - 0xc]
call fcn.0044e05c
mov ecx, dword [ebp - 8]
mov edx, 0x5a799c
mov eax, dword [ebp - 0xc]
call fcn.0044ea8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a78f3
ret
Function at 0x5a79b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 6], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x5a7a2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.0040707c
push 0xffffffffffffffff
movzx eax, word [ebp - 2]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406d7c
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
jne 0x5a7a02
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00406d44
mov eax, dword [ebp - 0xc]
call fcn.00406d7c
mov edx, eax
mov eax, dword [ebp - 6]
call fcn.00406eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a7a31
lea eax, [ebp - 0xc]
call fcn.00406ce0
ret

Function at 0x5a83f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x5a853c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x5d6c70], 0
je 0x5a8521
lea eax, [ebp - 8]
mov ecx, 0x5a8554
mov edx, dword [0x5d6c60]
call fcn.004071d4
mov eax, dword [ebp - 8]
call fcn.0041447c
test al, al
jne 0x5a8466
mov byte [0x5d6c70], 0
jmp 0x5a8521
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov cx, word [0x5a8568]
mov dl, 3
mov eax, 0x5a8578
call fcn.0047e154
dec eax
jne 0x5a8521
mov eax, 0x5a8698
call fcn.005a7fb4
test al, al
jne 0x5a8444
xor eax, eax
push ebp
push 0x5a851a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x5a8698
call fcn.005a7fb4
test al, al
je 0x5a849c
push 0
push 0x5a86a8
call sub.kernel32.dll_WinExec
mov dl, 1
mov eax, dword [0x42d820]
call fcn.00439c3c
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
mov ecx, 0x5a8554
mov edx, dword [0x5d6c60]
call fcn.004071d4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov ecx, dword [0x5d6c24]
mov edx, 0x5a86d0
mov eax, dword [ebp - 4]
call fcn.005a80f0
call fcn.0041f128
push eax
lea eax, [ebp - 0x10]
mov ecx, 0x5a8554
mov edx, dword [0x5d6c60]
call fcn.004071d4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x80]
mov eax, dword [ebp - 4]
call fcn.00404ef4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8521
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8543
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00406ce8
ret
Function at 0x5aa0d8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x5aa325
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x5d6c72], 0
je 0x5aa2f0
lea eax, [ebp - 0x2c]
mov ecx, 0x5aa33c
mov edx, dword [0x5d6c68]
call fcn.004071d4
mov eax, dword [ebp - 0x2c]
call fcn.0041447c
test al, al
jne 0x5aa15a
mov byte [0x5d6c72], 0
jmp 0x5aa2f0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov cx, word [0x5aa350]
mov dl, 3
mov eax, 0x5aa360
call fcn.0047e154
dec eax
jne 0x5aa2f0
mov eax, 0x5aa480
call fcn.005a7fb4
test al, al
jne 0x5aa138
xor eax, eax
push ebp
push 0x5aa2e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
mov ecx, 0x5aa33c
mov edx, dword [0x5d6c68]
call fcn.004071d4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
call fcn.00563cfc
xor eax, eax
push ebp
push 0x5aa2d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00565b4c
push 0x5aa49c
push dword [0x5d6c34]
push 0x5aa4f0
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004072b8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.0054d200
test eax, eax
jne 0x5aa2a9
cmp dword [ebp - 0x18], 0
jle 0x5aa201
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.00406e7c
jmp 0x5aa26c
push 0x5aa52c
push dword [0x5d6c28]
push 0x5aa5f4
push dword [0x5d6c40]
push 0x5aa5f4
push dword [0x5d6c30]
push 0x5aa5f4
push dword [0x5d6c34]
push 0x5aa608
lea eax, [ebp - 0x20]
mov edx, 9
call fcn.004072b8
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov ecx, 0xfde9
call fcn.00406f44
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0054a96c
mov eax, dword [ebp - 8]
call fcn.00564464
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00413ea8
mov eax, dword [ebp - 0x10]
call fcn.0054d37c
push 0x5aa63c
push dword [ebp - 0x1c]
push 0x5aa67c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004072b8
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov ecx, 0xfde9
call fcn.00406f44
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.0054a96c
mov eax, dword [ebp - 0xc]
call fcn.00596bc0
mov eax, dword [ebp - 8]
call fcn.005645f0
mov edx, dword [ebp - 8]
call fcn.0054aa94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aa2db
call fcn.00563e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aa32c
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00406200
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00406ce8
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406ce8
ret
Function at 0x1014d6a
Capabilities:
Inspect load icon resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x101ed2c]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov ax, word [0x1001a74]
mov word [ebp - 0x204], ax
xor eax, eax
push 0x7f
pop ecx
lea edi, [ebp - 0x202]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x101ee10]
mov ecx, dword [eax + 0x1f0]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x98
cmp dword [0x101eeb0], 0
jne 0x1014d49
mov eax, dword [0x101edbc]
cdq
mov esi, 0xca
idiv esi
cmp eax, 4
mov dword [0x101edc4], eax
jge 0x1014d1b
push 4
pop eax
mov edi, ecx
mov dword [0x101edc4], eax
mov dword [0x101edc8], 1
shl edi, 2
jmp 0x1014d23
mov edi, eax
imul edi, edi, 0xca
mov ecx, dword [0x101edb8]
imul eax, eax, 0x39
add ecx, 0xfffffffb
mov esi, ecx
sub esi, eax
sub esi, dword [0x101edc0]
mov dword [ebp - 0x208], 5
sub ecx, esi
mov ebx, ecx
jmp 0x1014d6b
mov esi, dword [eax + 0x128]
mov ecx, dword [eax + 0x120]
mov ebx, dword [eax + 0x12c]
mov edi, esi
sub edi, ecx
sub ebx, dword [eax + 0x124]
mov dword [ebp - 0x208], ecx
push 0x100
lea eax, [ebp - 0x204]
push eax
push 1
push dword [0x101ee0c]
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
push eax
push dword [0x101ee0c]
push eax
push eax
push ebx
push edi
push esi
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push 0xca0000
push eax
push 0x101ec80
push 0x8040000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101a8d9
leave
ret 4

Function at 0x101562c
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.USER32.dll_ToUnicodeEx]
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
push 0
push dword [ebp + 0x18]
or edi, 0x80
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call esi
test eax, eax
mov dword [ebp + 0xc], eax
jge 0x101561a
push dword [ebp + 0x1c]
push 0
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov eax, ecx
jg 0x101562f
xor eax, eax
inc eax
test ecx, ecx
jne 0x101562f
mov word [ebx], 0x20
and word [ebx + eax*2], 0
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret 0x18
Function at 0x1015e0a
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x101ed2c]
push ebx
push esi
push edi
mov esi, 0x2000000
push esi
push 0
push 0
mov dword [ebp - 4], eax
mov dword [ebp - 0xd0], 5
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov edi, eax
test edi, edi
mov ebx, reloc.USER32.dll_CheckDlgButton
jne 0x1015e08
push esi
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov edi, eax
test edi, edi
je 0x1015e6a
lea eax, [ebp - 0xd4]
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 2
push edi
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
push edi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001ce0
lea eax, [ebp - 0xcc]
push eax
call esi
test eax, eax
jne 0x1015e4c
mov dword [ebp - 0xd0], 1
jmp 0x1015e64
push ebx
lea eax, [ebp - 0xcc]
push eax
call esi
test eax, eax
jne 0x1015e64
mov dword [ebp - 0xd0], 3
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101a8d9
leave
ret

Function at 0x1016411
Capabilities:
Get common file path
Hide graphical window
Log keystrokes via polling
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x101ed2c]
push ebx
push esi
xor ebx, ebx
mov esi, 0x2000000
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push ebx
mov dword [ebp - 0x264], eax
mov dword [edi], ebx
call dword [sym.imp.USER32.dll_OpenInputDesktop]
cmp eax, ebx
mov dword [ebp - 0x260], eax
jne 0x10163a6
push esi
push ebx
push ebx
push reloc.USER32.dll_CheckDlgButton
call dword [sym.imp.USER32.dll_OpenDesktopW]
cmp eax, ebx
mov dword [ebp - 0x260], eax
jne 0x10163a6
xor eax, eax
jmp 0x101647a
lea eax, [ebp - 0x268]
push eax
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push 2
pop esi
push esi
push dword [ebp - 0x260]
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
cmp dword [ebp - 0x264], ebx
je 0x10163e6
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
lea eax, [ebp - 0x25c]
push 0x1001ce0
push eax
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x1016408
mov dword [edi], 1
jmp 0x1016457
lea eax, [ebp - 0x25c]
push reloc.USER32.dll_CheckDlgButton
push eax
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x1016424
mov dword [edi], 3
jmp 0x1016457
lea eax, [ebp - 0x25c]
push reloc.comdlg32.dll_ChooseFontW
push eax
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x101643c
mov dword [edi], esi
jmp 0x1016457
lea eax, [ebp - 0x25c]
push 0x1001d94
push eax
call ebx
neg eax
sbb eax, eax
neg eax
pop ecx
add eax, 4
pop ecx
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
push dword [ebp - 0x260]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0101a8d9
leave
ret 4
Function at 0x10178ee
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x10178e9
cmp eax, dword [0x101ee50]
je 0x10178ed
cmp eax, dword [0x101ee54]
je 0x10178ed
cmp eax, dword [0x101ee58]
je 0x10178ed
cmp dword [0x101edf8], 0
je 0x10178e9
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
imul eax, eax, 0x5c
mov eax, dword [eax + 0x101c228]
test eax, eax
je 0x10178ed
cmp eax, 1
je 0x10178ed
xor eax, eax
jmp 0x10178f0
xor eax, eax
inc eax
pop ebp
ret 4
Function at 0x112e370
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 0x112e38e
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 0x1157074
push ecx
mov edi, eax
call fcn.01142198
mov esi, eax
add esp, 8
test esi, esi
jne 0x112e3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0114202e
push esi
call fcn.01141fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x1131850
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 0x11318ae
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 0x115c720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x11318ba
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.011421e1
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 0x11318ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x115c720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x113192a
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.01143082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x1131957
mov word [eax], si
add eax, 2
push eax
call fcn.01143030
add esp, 4
jmp 0x1131959
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 0x11318ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x11318b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x11320c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1157458
push ecx
call fcn.011421e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.011421e1
add esp, 0x10
jmp 0x11320d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0114220b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.01141dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.01132050
mov eax, dword [0x115c728]
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 0x113213b
push esi
call fcn.01131fb0
add esp, 4
mov dword [0x115c728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x113214c
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.01131ff0
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 0x1135440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x11354b7
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 0x113548e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1135471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x113547e
add edx, ecx
cmp ebx, edx
jb 0x113548a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1135467
xor ecx, ecx
jmp 0x11354a2
test eax, eax
jne 0x1135492
xor ecx, ecx
jmp 0x11354a2
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.011353c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x11358f0
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 0x1135921
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 0x1135946
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 0x113596e
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 0x1135993
push ecx
push esi
call fcn.011354c0
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 0x1136c00
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 0x1136c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x1136c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x1136c38
add edx, eax
cmp ebx, edx
jb 0x1136c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x1136c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x1136c50
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 0x1136c70
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 0x1136cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1136c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x1136ca8
add edx, ecx
cmp ebx, edx
jb 0x1136cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1136c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1136f60
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.01143145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x1136ffb
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 0x1136fdd
lea eax, [esp + 0x18]
push eax
jmp 0x1136fe2
push 0x115c720
call fcn.01142fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x1136fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x1136f40
push 4
push ecx
push eax
call fcn.0114343f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x1137310
Capabilities:
Query or enumerate registry key

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 0
push 0
push 0
push edi
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.01143145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x11373ab
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_RegEnumKeyExW]
test eax, eax
jne 0x113738d
lea eax, [esp + 0x18]
push eax
jmp 0x1137392
push 0x115c720
call fcn.01142fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x1137360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x1136f40
push 4
push ecx
push eax
call fcn.0114343f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret