joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4169a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
push str.UNLOAD.TXT
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x416a11
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x47cbf8], eax
cmp dword [0x47cbf8], 0
je 0x416a11
push 0
push 0
push 0
push 0x40ba30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47cbfc], eax
cmp dword [0x47cbfc], 0
je 0x4169fb
jmp 0x416a11
mov eax, dword [0x47cbf8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x47cbf8], 0
cmp dword [0x472e3c], 1
jne 0x416adf
call fcn.0041c3a0
cmp eax, 1
jne 0x416adf
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x194]
push ecx
push 0x471178
call fcn.0040fe20
add esp, 8
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x416adf
xor edx, edx
mov word [ebp - 0x3a0], dx
push 0x206
push 0
lea eax, [ebp - 0x39e]
push eax
call fcn.00423520
add esp, 0xc
push str.nov.exe
mov ecx, dword [ebp - 0x198]
push ecx
push str.__s_s_
push 0x104
lea edx, [ebp - 0x3a0]
push edx
call fcn.0042359a
add esp, 0x14
mov eax, dword [0x472ee0]
push eax
mov ecx, dword [0x472edc]
push ecx
push 0x472e8e
push 0x472e40
push str.DD61E7CE_22B3_45B0_BF2C_62B2AE0B679B
lea edx, [ebp - 0x3a0]
push edx
call fcn.0040a680
add esp, 0x18
mov eax, dword [ebp - 0x198]
push eax
call dword [0x47cd48]
cmp dword [0x472e30], 0
jne 0x416aed
call fcn.00412560
cmp dword [0x472e34], 1
jne 0x416afb
call fcn.004122d0
cmp dword [0x472e30], 1
jne 0x416b09
call fcn.0041ac50
push 0x15
call fcn.00408cd0
add esp, 4
cmp dword [0x471768], 1
jne 0x416b6a
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x47cc08], eax
cmp dword [0x47cc08], 0
je 0x416b6a
push 0
push 0
push 0
push 0x40f100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47cc0c], eax
cmp dword [0x47cc0c], 0
je 0x416b5d
jmp 0x416b6a
mov ecx, dword [0x47cc08]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x190]
push edx
push 2
call dword [0x47d1c0]
test eax, eax
jne 0x416bd0
cmp dword [0x479dd4], 1
jne 0x416ba0
push 0
push 0
push 0
push 0x41b630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47d368], eax
push 0
push 0
push 0
push 0x421030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47d624], eax
cmp dword [0x47d624], 0
je 0x416bca
mov eax, 1
jmp 0x416bd5
call dword [0x47d1c4]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4174b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4174d1
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x64
jge 0x4175f1
push 0
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x417507
cmp dword [ebp - 8], 0x102
je 0x4175ec
mov edx, dword [ebp - 0xc]
shl edx, 4
add edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x417533
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x417553
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4175ce
push 0
push 4
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4175c4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x4175ba
mov eax, 1
jmp 0x4175f3
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
jmp 0x4174c8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41ac50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x47d2b8
push 0
push 0
push 0x41ace0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47d2b0], eax
cmp dword [0x47d2b0], 0
je 0x41ac80
mov eax, 1
jmp 0x41ac82
xor eax, eax
pop ebp
ret
Function at 0x41c570
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x41c614
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41c60a
mov edx, dword [ebp - 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41c60a
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c600
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jne 0x41c600
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
jmp 0x41c616
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41ca90
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
cmp dword [ebp + 8], 0
je 0x41cab6
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41cc88
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41cc88
mov ecx, dword [ebp + 0x10]
push ecx
push str._s.
push 0x7fff
mov edx, dword [ebp - 8]
push edx
call dword [0x47d0e8]
add esp, 0x10
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41cc7e
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x41cc61
cmp dword [ebp + 8], 1
jne 0x41cb41
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41cb41
jmp 0x41cc55
push 0x437444
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41cb6d
push 0x437448
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41cb72
jmp 0x41cc3c
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x41cc10
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x41cc0e
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s_s_
push 0x7fff
mov edx, dword [ebp - 0x264]
push edx
call dword [0x47d0e8]
add esp, 0x14
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041ca90
add esp, 0x10
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41cc01
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x41cc01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x41cc3c
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s_s
push 0x7fff
mov edx, dword [ebp - 0xc]
push edx
call dword [0x47d0e8]
add esp, 0x14
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41cb23
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41cc74
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
jne 0x41cc74
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esp, ebp
pop ebp
ret
Function at 0x41ce70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x422530
Capabilities:
Get geographical location
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push 0x318
push 0x40
call dword [0x47cd3c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4226e9
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x422578
mov eax, dword [ebp - 4]
push eax
call dword [0x47cd48]
xor eax, eax
jmp 0x4226eb
push str.RtlGetVersion
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4225a1
mov edx, dword [ebp - 4]
push edx
call dword [0x47cd48]
xor eax, eax
jmp 0x4226eb
push 0x11c
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.00423520
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
push ecx
call dword [ebp - 0xc]
test eax, eax
je 0x4225e0
mov edx, dword [ebp - 4]
push edx
call dword [0x47cd48]
xor eax, eax
jmp 0x4226eb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x12c]
mov dword [eax + 0x308], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x30c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x124]
mov dword [ecx + 0x310], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x120]
mov dword [eax + 0x314], ecx
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
mov dword [edx], eax
push 0x50
lea ecx, [ebp - 0x188]
push ecx
call dword [0x47d1cc]
test eax, eax
jne 0x4226df
lea edx, [ebp - 0x188]
push edx
call dword [0x47d1b0]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x4226df
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [eax + 0x228], ecx
mov dword [ebp - 0x190], 0x10
lea edx, [ebp - 0x190]
push edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4226df
mov dword [ebp - 0x194], 0x101
lea ecx, [ebp - 0x194]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call dword [0x47d0b0]
cmp eax, 1
jne 0x4226df
call dword [0x47ce60]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x300], eax
mov dword [ecx + 0x304], edx
mov eax, dword [ebp - 4]
jmp 0x4226eb
mov edx, dword [ebp - 4]
push edx
call dword [0x47cd48]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x427fff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47a230]
jne 0x428009
repz ret
jmp fcn.0042c4a5

Function at 0x42d73c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47a230]
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.0042800e
and dword [ebp - 0x14], 0
cmp dword [0x47e348], 0
mov dword [ebp - 0x18], eax
jne 0x42d7ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42d897
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x439c08
push ebx
call edi
test eax, eax
je 0x42d897
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47e348], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47e34c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47e350], eax
call edi
push eax
call esi
mov dword [0x47e358], eax
test eax, eax
je 0x42d7ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47e354], eax
mov eax, dword [0x47e354]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42d848
cmp dword [0x47e358], ecx
je 0x42d848
push eax
call esi
push dword [0x47e358]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42d848
test ebx, ebx
je 0x42d848
call edi
test eax, eax
je 0x42d83f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42d83f
test byte [ebp - 8], 1
jne 0x42d848
or dword [ebp + 0x10], 0x200000
jmp 0x42d87b
mov eax, dword [0x47e34c]
cmp eax, dword [ebp - 0x18]
je 0x42d87b
push eax
call esi
test eax, eax
je 0x42d87b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42d87b
mov eax, dword [0x47e350]
cmp eax, dword [ebp - 0x18]
je 0x42d87b
push eax
call esi
test eax, eax
je 0x42d87b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47e348]
call esi
test eax, eax
je 0x42d897
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42d899
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427fff
leave
ret
Function at 0x40e791
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x41279f
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x50c3a6a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x27152517
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0xc8c370
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 0xc8c38e
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 0xcb5074
push ecx
mov edi, eax
call fcn.00ca0198
mov esi, eax
add esp, 8
test esi, esi
jne 0xc8c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ca002e
push esi
call fcn.00c9ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xc8f850
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 0xc8f8ae
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 0xcba720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc8f8ba
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.00ca01e1
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 0xc8f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xcba720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc8f92a
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.00ca1082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xc8f957
mov word [eax], si
add eax, 2
push eax
call fcn.00ca1030
add esp, 4
jmp 0xc8f959
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 0xc8f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xc8f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xc900c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xcb5458
push ecx
call fcn.00ca01e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00ca01e1
add esp, 0x10
jmp 0xc900d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00ca020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00c9fdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00c90050
mov eax, dword [0xcba728]
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 0xc9013b
push esi
call fcn.00c8ffb0
add esp, 4
mov dword [0xcba728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xc9014c
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.00c8fff0
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 0xc93440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xc934b7
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 0xc9348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xc93471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xc9347e
add edx, ecx
cmp ebx, edx
jb 0xc9348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xc93467
xor ecx, ecx
jmp 0xc934a2
test eax, eax
jne 0xc93492
xor ecx, ecx
jmp 0xc934a2
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.00c933c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xc938f0
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 0xc93921
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 0xc93946
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 0xc9396e
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 0xc93993
push ecx
push esi
call fcn.00c934c0
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