joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4060c0
Capabilities:
Encode data using xor

Disassembly:
add byte [ebx + 0x42], dl
add al, 0xd9
out 0xff, eax
popfd
and al, byte [ebp*2 - 0x76f97637]
sbb eax, 0x89168bea
jp 0x406073
mov eax, dword [esi]
invalid
push ss
rcl dword [edx], 2
xor al, 0x4a
cmp eax, 0x5357068b
mov dword [edi], ebx
push ecx
adc bl, dl
add byte [ebx + 0x14898916], cl
and byte [eax], al
add byte [ebx + 0x32888977], cl
xor byte [eax], al
add byte [ebp - 0x1639], ch
jmp 0x4060e4
add byte [eax], al
call int.00404a60
mov esi, dword [0x895f5b5e]
and byte [eax], 0x30
add dl, bl
xor eax, eax
pop ebp
cmp dl, byte [eax]
add byte [eax - 0x6f6fab70], dl
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
jae 0x406055
adc byte [esp + edx*8 - 0x3511f717], ch
jne 0x4060df
pop edi
pop esi
mov eax, 0x4500660c
pop ebx
or eax, 0x8b5d08c2
nop
sbb al, 0xfa
pop ds
mov edx, dword [eax + 0x1ffa1c]
inc ebx
pop ebp
add byte [ebx + 0x5d], al
or al, 0x8d
or al, 0x89
mov esi, ebx
lea esi, [ebp - 0x76]
mov ecx, 0x980005
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x6a]
in al, 1
add byte [eax], al
add byte [ebx], bh
shl dword [ecx], 1
test edx, esp
add byte [eax], al
add byte [ebx + 0x7a8be953], cl
add al, 0x8a
push ebx
or byte [ecx + edx*8 + 0x508b2f74], al
or al, 0x33
leave
sbb dl, dl
jbe 0x4060a1
fisubr dword [ecx]
adc byte [ecx], bh
adc eax, 0x8341af74
mov byte [esp], 0xca
jb 0x406156
cmp ecx, edx
jne 0x406143
cmp edx, 0xad0400
jae 0x406143
mov dword [edx + 0x488b1088], esi
or al, 0x41
mov dword [eax + 0xc], ecx
test byte [ebx + 8], 4
je 0x406187
or byte [esp + esi*2], al
das
das
nop
adc byte [eax], dl
outsd dx, dword [esi]
lodsb al, byte [esi]
xor esi, ebx
jp 0x406145
jbe 0x406167
lea esi, [eax + 0xfe14]
mov al, 0x14
inc byte [eax]
add byte [edx], dh
je 0x406167
xor bh, byte [esi]
je 0x406167
cwde
add esi, 4
cmp ecx, edx
jno 0x40615b
cmp esp, dword [edi - 0x69]
sbb al, 0x81
inc byte [eax]
call 0x14b36173
mov dword [eax + ecx*4 + 0x1014], edi
mov ecx, dword [eax + 0xcd21010]
inc ecx
std
mov byte [eax], dl
adc byte [eax], al
add dh, dh
pushfd
or byte [edx + 0x74], dh
mov edi, dword ds:[esi]
adc al, 0x20
neg byte [eax + ecx - 0x74c18b8e]
adc al, 0x20
add byte [eax], al
fmul st(1)
test edx, edx
jbe 0x4061ab
lea esi, [eax + 0x3f002018]
cmp dword [ebp + 0x74], esp
inc byte [ecx - 0x7d]
mov byte [esi + ebx*8], 0xca
jb 0x40619f
cmp ecx, edx
jne 0x4061cb
or ecx, dword [edi]
add al, 0
add byte [ebx + 0x19], dh
mov dword [eax + ecx*4 - 0x11ffdfe8], edi
mov ecx, dword [eax + 0x9b14]
inc ecx
mov dword [eax + 0x4aca2014], ecx
cmp edi, dword [eax - 0x30ffcfe8]
dec ebp
push es
mov dword [eax - 0x7d7189e8], edi
mov edi, dword [edi + 4]
pop edi
inc ecx
pop esi
adc eax, 0x8aa00448
adc eax, 0x3d081a5d
pop edi
pop esi
and cl, byte [ecx]
add byte [eax], al
add byte [ebx + 0x5d], bl
ret 0x6377

Function at 0x407ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
fucompi st(4)
adc al, 0x83
jge 0x407f09
dec edi
jl 0x407ef9
mov dword [ebp + 0x10], 0x1b00004e
fld qword [ebp + 8]
fcomp qword [0x40eb30]
jmp 0x407f4b
Function at 0x40b400
Capabilities:
Encode data using xor

Disassembly:
pop ebp
ret 4
add al, 0xb8
sub byte [eax - 0x6f6f6f70], dl
nop
nop
nop
inc esp
nop
nop
nop
invalid
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edi, edx
or byte [edi - 0x1b57226], bh
cld
and dword [edi + 0x6f], edx
jge 0x40b3a6
test ecx, ecx
jle 0x40b3d0
lodsd eax, dword [esi]
jge 0x40b44e
fisttp dword [edx - 0x39d7c8ce]
add eax, ecx
and edx, dword [ecx + 0x187b2b40]
xor eax, 0x50888840
dec dword [edx - 0x7502c8ac]
pop esp
aaa
dec ebx
jbe 0x40b41b
add eax, ecx
loop 0x40b441
sal dword [edx + 4], 0xb
sal dword [ebx], cl
fild dword [eax - 0x76]
pop es
sbb bh, al
inc eax
add byte [eax + 0x547fff1c], cl
jg 0x40b4a4
aaa
dec byte [edx - 0x7c00c8f5]
loop 0x40b468
shl edx, 2
shr ebx, 6
sub eax, 0x928a15d3
sbb bl, cl
inc eax
add byte [eax + 0x548aff50], cl
aaa
inc dword [ebx + 0x3b403f6a]
int1
mov byte [eax - 1], dl
mov dl, byte [edi + esi - 1]
sub dword [edx + 0x3f], 0x40
cmp esi, ecx
mov dl, byte [edx + 0x40c7fc]
mov byte [eax - 1], dl
jl 0x40b418
mov edx, dword [ebp + 0x1c]
cmp esp, edx
jge 0x40b4e6
xor ecx, ecx
mov cl, byte [eax + edx*8]
shr ecx, 2
inc eax
dec edx
mov bh, byte [eax + 0x97c718]
cmp esi, edx
mov byte [ebx + 0x3e148aff], ch
jne 0x40b51f
and edx, 3
leave
nop
add al, 0x40
cmp ecx, dword [edx + 0x40053d]
mov byte [eax - 0x7f], cl
invalid
mov edx, dword [ebp + 8]
mov byte [eax], 0
sub edi, dword [eax]
pop edi
pop esi
inc eax
pop ebx
cmpps xmm1, xmmword [eax + eax], 0xfe
nop
nop
push 0x9090909d
nop
mov word [ebx + 0x840d43d], es
cmp dword [0x840d4], 0xffffffff
jne 0x40b544
dec dword [0x15ff0424]
clc
sub al, 0x40
or byte [ecx - 0x3d], bl
jne 0x40b56b
inc eax
inc ecx
push dword [esp - 0x14]
or al, bh
Function at 0x4010ec
Capabilities:
Get memory capacity
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
shr eax, 3
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
jmp 0x401111
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jae 0x401190
cmp dword [ebp - 8], 0xeb9
jae 0x401134
push 0
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push dword [ebp + 0x10]
mov eax, dword [ebp - 8]
shl eax, 1
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
push eax
call section..text
cmp dword [ebp - 8], 0x17a3
jae 0x40118b
push str.dugopunuradufajizukuticirose_numevadejugenuwowaciva
push 0
lea eax, [ebp - 0x850]
push eax
push str.cihugafodijigazi
push str.sotesewufi_rozewibomixa_do_cisituzofupehenufuke
push str.yejitico
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.petopavozakewuguhe_dusulokifozokeyatiyoladu
push 0
push str.taxorixi_gozivoga_nozafahugutuwapigoturo_pisifi_taroxofanugosefesudonahe
push str.punoxupayajowaxotomo_decikebetovo_cemaludadavabinajuxu_nocayavudupe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x40110a
leave
ret 0xc
Function at 0x4063d3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b9b0]
jne 0x4063dd
repz ret
jmp fcn.0040d627

Function at 0x40773c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403e23
and dword [ebp - 0x14], 0
cmp dword [0x7d4060], 0
mov dword [ebp - 0x18], eax
jne 0x4077ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407897
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407897
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x7d4060], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x7d4064], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x7d4068], eax
call edi
push eax
call esi
mov dword [0x7d4070], eax
test eax, eax
je 0x4077ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x7d406c], eax
mov eax, dword [0x7d406c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407848
cmp dword [0x7d4070], ecx
je 0x407848
push eax
call esi
push dword [0x7d4070]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407848
test ebx, ebx
je 0x407848
call edi
test eax, eax
je 0x40783f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40783f
test byte [ebp - 8], 1
jne 0x407848
or dword [ebp + 0x10], 0x200000
jmp 0x40787b
mov eax, dword [0x7d4064]
cmp eax, dword [ebp - 0x18]
je 0x40787b
push eax
call esi
test eax, eax
je 0x40787b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40787b
mov eax, dword [0x7d4068]
cmp eax, dword [ebp - 0x18]
je 0x40787b
push eax
call esi
test eax, eax
je 0x40787b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x7d4060]
call esi
test eax, eax
je 0x407897
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407899
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004063d3
leave
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x30d32821
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3a8b24ab
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408951
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edi
add ebx, ecx
mov ebx, ecx
call fcn.00408982
and ecx, ecx
xor dword [eax], edi
inc eax
mov ecx, 0xb7f3f2c7
and ecx, ecx
cmp eax, esi
jne fcn.00408951
ret
Function at 0x1000bb60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.1000bb60]
mov dword [0x100115b0], 0x21bc
mov dword [ebp - 8], eax
jmp 0x1000bb9d
mov al, 1
test al, 1
jne 0x1000bb9d
jmp 0x1000bbc0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x1000bbac
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1000bbc7
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1000bb83
jmp 0x1000bbae
jmp 0x1000bbae
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
jmp 0x1000bb7b
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret

Function at 0x1000bbd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100115ac]
add eax, 0x1043
mov dword [0x100115ac], eax
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x100115ac]
sub eax, 0x732
mov dword [0x100115ac], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 8], eax
mov dword [0x100115b0], 0xea
mov dword [ebp - 4], 0
jmp 0x1000bc6d
mov dword [0x100115b0], 0xb05
mov dword [ebp - 0x10], 1
jmp 0x1000bc40
jmp 0x1000bc66
jmp 0x1000bd41
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
mov dword [0x100115ac], 0x17db
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x1000bcca
jmp 0x1000bc3b
jmp 0x1000bd3c
jmp 0x1000bc93
cmp dword [ebp - 4], 0x104
jge 0x1000bca0
mov dword [0x100115ac], 0x191d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x1000bc6b
jmp 0x1000bca0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x1000bc6d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + eax*2 - 0x1a]
cmp eax, 0x6c
jne 0x1000bd43
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + eax*2 - 0x18]
cmp eax, 0x6f
je 0x1000bc48
jmp 0x1000bd41
mov eax, dword [0x100115ac]
sub eax, 0x22f3
mov dword [0x100115b0], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1000bd3c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
jne 0x1000bc66
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + eax*2 - 0x10]
cmp eax, 0x6c
jne 0x1000bc39
mov dword [0x100115ac], 0xfe8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1000bc26
jmp 0x1000bc39
jmp 0x1000bc3b
jmp 0x1000bd43
mov dword [ebp - 0x10], 0
jmp 0x1000bc40
Function at 0xfa0370
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 0xfa038e
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 0xfc9074
push ecx
mov edi, eax
call fcn.00fb4198
mov esi, eax
add esp, 8
test esi, esi
jne 0xfa03cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00fb402e
push esi
call fcn.00fb3fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xfa3850
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 0xfa38ae
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 0xfce720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xfa38ba
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.00fb41e1
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 0xfa38ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xfce720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xfa392a
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.00fb5082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xfa3957
mov word [eax], si
add eax, 2
push eax
call fcn.00fb5030
add esp, 4
jmp 0xfa3959
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 0xfa38ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xfa38b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xfa40c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xfc9458
push ecx
call fcn.00fb41e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00fb41e1
add esp, 0x10
jmp 0xfa40d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00fb420b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00fb3dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00fa4050
mov eax, dword [0xfce728]
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 0xfa413b
push esi
call fcn.00fa3fb0
add esp, 4
mov dword [0xfce728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xfa414c
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.00fa3ff0
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 0xfa7440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xfa74b7
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 0xfa748e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xfa7471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xfa747e
add edx, ecx
cmp ebx, edx
jb 0xfa748a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xfa7467
xor ecx, ecx
jmp 0xfa74a2
test eax, eax
jne 0xfa7492
xor ecx, ecx
jmp 0xfa74a2
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.00fa73c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xfa78f0
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 0xfa7921
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 0xfa7946
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 0xfa796e
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 0xfa7993
push ecx
push esi
call fcn.00fa74c0
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