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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x28], 0
jne 0x455ca7
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0xc]
push edx
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x455cce
mov eax, dword [ebp - 0x20]
jmp 0x455dbe
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x455cf0
mov eax, dword [ebp - 0x20]
jmp 0x455dbe
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x455d15
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x20]
jmp 0x455dbe
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x455d42
jmp 0x455db1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0041f250
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x455da7
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00410ea0
add esp, 8
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 8
Function at 0x457140
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bcc6
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x20], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004111a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x468ed4
call fcn.00405940
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411460
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x28]
call fcn.00405aa0
push eax
mov ecx, dword [ebp - 0x6c]
call sym.Install_vip.exe_public:_int___thiscall_CNsImage::GetEncoderClsid_wchar_t_const___struct__GUID__
push 0
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00410f90
cmp dword [ebp - 0x18], 0
je 0x457263
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x10], 0
je 0x457273
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x14], 0
je 0x457283
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [ebp - 0x4d], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00411120
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 8
Function at 0x4582b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call sym.Install_vip.exe_public:_bool___thiscall_CNsImage::isStop_int_
movzx edx, al
test edx, edx
jne 0x4582d5
jmp 0x458340
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call sym.Install_vip.exe_public:_int___thiscall_CNsImage::GetMovieIndex_int_
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4582ec
jmp 0x458340
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00411880
mov dword [eax + 0x3c], 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00411880
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push sym.Install_vip.exe_private:_static_unsigned_int___stdcall_CNsImage::MovieThread_void__
push 0
push 0
call fcn.00433d54
add esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x458340
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4

Function at 0x458370
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.0041eb30
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0041eb30
add esp, 0xc
push 0
push 0x14
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x468f48
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x458462
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.msyh.ttf
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45842d
mov eax, 1
jmp 0x458464
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.msyh.ttc
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x458464
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 4
Function at 0x459450
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c38a
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x478edc]
test eax, eax
je 0x459490
or eax, 0xffffffff
jmp 0x45965e
mov byte [0x478edc], 1
push 0x46727c
mov eax, dword [0x478658]
add eax, 8
call fcn.00405aa0
push eax
push 0x467280
call sym.Install_vip.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.0041eb30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [ebp - 0x14]
call fcn.00405900
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x224]
push ecx
push str._s__d.dmp
lea edi, [ebp - 0x14]
call fcn.00406090
add esp, 0xc
mov byte [ebp - 0x63d], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4595de
push 0
push 0
push 2
push 0
push 0
push 0x1f01ff
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0xffffffff
je 0x4595d4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x650], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x648], 1
push 0
push 0
lea ecx, [ebp - 0x650]
push ecx
push 0
mov edx, dword [ebp - 0x644]
push edx
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
je 0x4595c7
mov byte [ebp - 0x63d], 1
mov edx, dword [ebp - 0x644]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x63c]
push ecx
call fcn.0040a2f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x244], 0xea9d
push 9
push 8
push 0xc8
push 0x12c
push 5
push 0
call fcn.00401000
mov esi, eax
add esi, 0x212
call fcn.00401000
mov edx, dword [eax + 4]
push edx
mov edi, esi
xor edx, edx
lea eax, [ebp - 0x63c]
call fcn.0040ac90
mov dword [ebp - 0x654], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x63c]
push eax
call fcn.0040a480
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405b50
mov eax, dword [ebp - 0x654]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 4
Function at 0x4598e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x459901
cmp dword [ebp + 0xc], 0
je 0x459901
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jl 0x459906
jmp 0x4599a4
push 0x294
call fcn.0041e086
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push 0x294
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.0041eb30
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x190
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x10], 0
je 0x459978
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x459978
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
add eax, 0x1cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4596f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4599a4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x44a410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test esi, esi
mov edi, eax
je 0x44a44b
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test edi, edi
pop edi
pop esi
je 0x44a463
mov edx, dword [0x64ecf4]
push 0x64ea28
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp]
add esp, 8
ret

Function at 0x5b51c7
Capabilities:
Encode data using xor

Disassembly:
and ah, byte [edx + 0x35fa5842]
xor eax, 0x47ac9881
adc byte [ecx + 0x52], ch
fdivr dword [ebx - 0x25]
jnp 0x5b519c
adc dl, cl
xchg ebp, eax
rcl dword [eax + 0x8ecbd2c], 0x99
sub al, 0xbd
in al, dx
invalid
cdq
jmp 0x5b51ed
sub al, 0xbd
in al, dx
or byte [ecx - 0x4cd1e015], bl
dec esp
cmp al, 0x68
sbb bh, byte [ebx]
dec ebx
push 0xffffffffffffffee
out dx, al
jns 0x5b51b0
sbb ebp, dword [ecx + ecx + 0x1d]
jp 0x5b5192
invalid
sahf
push ss
sbb eax, 0x81d8bd8f
outsd dx, dword [esi]
mov dword [0x5994e73c], eax
inc eax
jge fcn.005b5207
pop esp
or al, 0x16
out 0x56, eax
sbb dl, dh
sbb al, 0x35
or dword [eax + 0x4c], ebp
enter 0xffffffffffff9610, 0x1b
invalid

Function at 0x64ab2d
Capabilities:
Encode data using xor

Disassembly:
sar byte [esp + edi*8 - 0x70], cl
stc
in eax, 0xe9
enter 0xffffffffffff8912, 0x62
mov ebp, 0x7a2ba235
push ecx
fidivr dword [ebx + 0x14]
sbb al, 0x7a
pushfd
dec eax
and al, 0x8b
push 0x31
push 0xf6e9acfa
stosb byte es:[edi], al
add ecx, 0x6c
xor eax, 0x2bfcfdcc
shl dword [esi], 0xfc
pop edi
in eax, dx
or eax, ebp
daa
sub al, 0x6c
jnp 0x64ab41
jmp 0xc1e8563c
psrad mm4, qword [edi + 0x2f]
jne 0x64abd4
pop esi
mov ds, esp
rcr dword [ecx + 0x25], 1
or eax, 0xeacb0afb
cld
adc esp, edi
cmp dl, bh
mov ecx, 0x5a83a414
add al, 0xba
dec edi
mov esp, 0x4d8c79f4
test byte [ecx], ch
inc esp
scasb al, byte es:[edi]
mov edx, 0x2c22f92a
xor al, 0x45
sahf
cli
cld
imul ebx, dword [esp], 0xfffffffe
add byte [eax], al
jp 0x64ab36
cmovae esp, dword cs:[eax]
mov eax, 0x8a4e516f
jnp 0x64ab22
cmp al, byte [edx]
lodsb al, byte [esi]
f2xm1
dec edx
cmp byte [edx - 0x34], ch
mov dh, byte [eax - 0x3f15c368]
in eax, 0xdf
invalid
push ds
ficomp dword [edi + ebx*2]
push esi
xchg edx, eax
sbb al, 0xc
sbb eax, 0x909c15ad
call eax
sbb bh, byte [esp + ecx*4 - 0x4420d553]
test byte [ebp - 0x751a56e], 0x42
out dx, ax
add al, 0xff
adc dword [ebx], 0xbb7c497d
std
scasd eax, dword es:[edi]
hlt
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x10d6000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x10d600a
jmp 0x10d800f
jmp fcn.00b9e210
Function at 0xf3c370
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 0xf3c38e
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 0xf65074
push ecx
mov edi, eax
call fcn.00f50198
mov esi, eax
add esp, 8
test esi, esi
jne 0xf3c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f5002e
push esi
call fcn.00f4ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xf3f850
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 0xf3f8ae
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 0xf6a720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf3f8ba
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.00f501e1
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 0xf3f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xf6a720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf3f92a
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.00f51082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xf3f957
mov word [eax], si
add eax, 2
push eax
call fcn.00f51030
add esp, 4
jmp 0xf3f959
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 0xf3f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xf3f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xf400c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xf65458
push ecx
call fcn.00f501e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00f501e1
add esp, 0x10
jmp 0xf400d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00f5020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00f4fdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00f40050
mov eax, dword [0xf6a728]
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 0xf4013b
push esi
call fcn.00f3ffb0
add esp, 4
mov dword [0xf6a728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xf4014c
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.00f3fff0
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 0xf43440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xf434b7
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 0xf4348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf43471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf4347e
add edx, ecx
cmp ebx, edx
jb 0xf4348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf43467
xor ecx, ecx
jmp 0xf434a2
test eax, eax
jne 0xf43492
xor ecx, ecx
jmp 0xf434a2
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.00f433c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xf438f0
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 0xf43921
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 0xf43946
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 0xf4396e
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 0xf43993
push ecx
push esi
call fcn.00f434c0
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