joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a160
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0
push 0x100
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x44a192
xor eax, eax
jmp 0x44a1f2
mov ecx, dword [ebp + 0xc]
push ecx
movzx edx, word [ebp + 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a3f0
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ebe0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5bda40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0051de71
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00410610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00410610
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
push eax
push 0x597570
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004089d0
add esp, 0xc
push 0
lea ecx, [ebp - 0x2c]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x24]
call fcn.0051deec
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x44a5ac
lea ecx, [ebp - 0x24]
call fcn.0051dcc3
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call fcn.00409330
test eax, eax
je 0x44a52e
lea ecx, [ebp - 0x24]
call fcn.0051de32
test eax, eax
je 0x44a4a8
jmp 0x44a475
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x24]
call fcn.0051e0eb
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
push edx
push 0x597580
lea eax, [ebp - 0x30]
push eax
call fcn.004089d0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004072c0
lea ecx, [ebp - 0x24]
call fcn.00449630
test eax, eax
je 0x44a512
lea ecx, [ebp - 0x30]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x30]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004068e0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x40]
call fcn.0044a3f0
jmp 0x44a5a7
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0051e0eb
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
push eax
push 0x597588
lea ecx, [ebp - 0x30]
push ecx
call fcn.004089d0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004072c0
lea ecx, [ebp - 0x24]
call fcn.00449630
test eax, eax
je 0x44a598
lea ecx, [ebp - 0x30]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x30]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea ecx, [ebp - 0x30]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x44a475
lea ecx, [ebp - 0x24]
call fcn.0051dbdd
lea ecx, [ebp + 8]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0051de9a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004072c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x44c520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570c18
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0053f680
add esp, 0xc
push 0
push 0x23
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x44c5ac
push 0x59515c
mov ecx, dword [ebp + 8]
call fcn.00406900
mov eax, dword [ebp - 0x220]
or eax, 1
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 8]
jmp 0x44c5fc
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00406900
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov ecx, dword [ebp - 0x220]
or ecx, 1
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret

Function at 0x44c710
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x44c722
cmp dword [ebp + 0xc], 0
jne 0x44c726
xor eax, eax
jmp 0x44c795
mov dword [ebp - 4], 6
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jne 0x44c768
mov dword [ebp - 8], 1
jmp 0x44c786
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
jne 0x44c775
jmp 0x44c786
push 0x2710
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp - 4], 0
jg 0x44c734
cmp dword [ebp - 8], 0
jne 0x44c790
xor eax, eax
jmp 0x44c795
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x44c7a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56efc8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5bda40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.0041cbb0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44c7f0
mov dword [ebp - 0x10], 0
jmp 0x44c7f7
mov dword [ebp - 0x10], 1
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00407110
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004072c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44c920
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 4], 1
push 0x595320
lea ecx, [ebp - 0x18]
call fcn.00406900
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp + 0xc]
call fcn.004072e0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x44c9d0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov ecx, dword [ebp - 0x1d0]
or ecx, 1
mov dword [ebp - 0x1d0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x44cb2b
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00519ac8
add esp, 4
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.004072e0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
push 0x595324
mov edx, dword [ebp - 0x14]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
push eax
push 0x595358
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.00406ef0
add esp, 0xc
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1c0]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x1c0]
movzx edx, word [ecx]
push edx
mov ecx, dword [ebp - 0x1d4]
call fcn.004072e0
push eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x1c8]
call fcn.004072c0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], 0
je 0x44cace
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.004069a0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
push ecx
call fcn.00519abd
add esp, 4
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov eax, dword [ebp - 0x1d0]
or eax, 1
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004072c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret
Function at 0x44cb50
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ea83
mov eax, dword fs:[0]
push eax
mov eax, 0x1234
call fcn.0053fde0
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x1024], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406bb0
mov dword [ebp - 0x1010], 0
lea eax, [ebp - 0x1018]
push eax
push 0x1000
lea ecx, [ebp - 0x100c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x44cbdb
mov dword [ebp - 0x123c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004072c0
mov eax, dword [ebp - 0x123c]
jmp 0x44cda6
mov edx, dword [ebp - 0x1018]
shr edx, 2
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1014], 1
jmp 0x44cc05
mov eax, dword [ebp - 0x1014]
add eax, 1
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 0x1014]
cmp ecx, dword [ebp - 0x101c]
jae 0x44cd85
mov edx, dword [ebp - 0x1014]
cmp dword [ebp + edx*4 - 0x100c], 0
je 0x44cd80
mov eax, dword [0x59538c]
mov dword [ebp - 0x122c], eax
mov ecx, dword [0x595390]
mov dword [ebp - 0x1228], ecx
mov edx, dword [0x595394]
mov dword [ebp - 0x1224], edx
mov eax, dword [0x595398]
mov dword [ebp - 0x1220], eax
mov ecx, dword [0x59539c]
mov dword [ebp - 0x121c], ecx
push 0x1f4
push 0
lea edx, [ebp - 0x1218]
push edx
call fcn.0053f680
add esp, 0xc
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp + eax*4 - 0x100c]
push ecx
push 0
push 0x411
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 0x1020], eax
cmp dword [ebp - 0x1020], 0
je 0x44cce4
lea edx, [ebp - 0x1238]
push edx
push 4
lea eax, [ebp - 0x1234]
push eax
mov ecx, dword [ebp - 0x1020]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x44cce4
push 0x104
lea edx, [ebp - 0x122c]
push edx
mov eax, dword [ebp - 0x1234]
push eax
mov ecx, dword [ebp - 0x1020]
push ecx
call sub.PSAPI.DLL_GetModuleBaseNameW
lea ecx, [ebp - 0x1230]
call fcn.00410610
mov byte [ebp - 4], 1
lea edx, [ebp - 0x122c]
push edx
push 0x5953a0
lea eax, [ebp - 0x1230]
push eax
call fcn.004089d0
add esp, 0xc
lea ecx, [ebp - 0x1230]
call fcn.00406bb0
push 0
lea ecx, [ebp - 0x1230]
call fcn.004072e0
push eax
lea ecx, [ebp + 8]
call fcn.00406ae0
cmp eax, 0xffffffff
je 0x44cd64
cmp dword [ebp + 0xc], 0
je 0x44cd49
push 0
mov ecx, dword [ebp - 0x1020]
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov dword [ebp - 0x1010], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1230]
call fcn.004072c0
jmp 0x44cd85
mov edx, dword [ebp - 0x1020]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1230]
call fcn.004072c0
jmp 0x44cbf6
mov eax, dword [ebp - 0x1010]
mov dword [ebp - 0x1240], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004072c0
mov eax, dword [ebp - 0x1240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1024]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret
Function at 0x44d8f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x128], 0x114
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
jne 0x44d922
xor eax, eax
jmp 0x44d970
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x11c]
and ecx, 0xffff
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x130], 2
jne 0x44d96e
cmp dword [ebp - 8], 6
jne 0x44d96e
cmp dword [ebp - 4], 1
jne 0x44d96e
mov eax, 1
jmp 0x44d970
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret
Function at 0x44e660
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570b20
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x104
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.0053f680
add esp, 0xc
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x18]
call fcn.00406900
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x18]
call fcn.004072e0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e747
mov dword [ebp - 0x10], 0x208
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.004072e0
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44e747
lea ecx, [ebp + 8]
call fcn.00408860
shl eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.004072e0
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004072e0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret
Function at 0x44f360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.00439750
mov dword [ebp - 0xc], eax
push 0x595c3c
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x44f392
xor eax, eax
jmp 0x44f447
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44f3c1
xor eax, eax
jmp 0x44f447
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00543950
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0044bf20
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x44f445
mov eax, 1
jmp 0x44f447
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x455cb0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0xc], 0
je 0x455cc5
cmp dword [ebp + 0x10], 0
jne 0x455ccc
xor eax, eax
jmp 0x455d6c
mov dword [ebp - 0xc], 7
push 0
push 0x80
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x40000000
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x455cfe
xor eax, eax
jmp 0x455d6c
mov edx, dword [ebp + 0xc]
push edx
movzx eax, word [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
ja 0x455d3a
xor eax, eax
jmp 0x455d6c
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor edx, edx
cmp edx, dword [ebp - 0x18]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x466dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.00463e00
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x466dfc
mov eax, 7
jmp 0x466eaa
cmp dword [0x5bf70c], 0
je 0x466e16
push 0xc8
call fcn.00467c10
add esp, 4
test eax, eax
je 0x466e2b
xor ecx, ecx
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
jmp 0x466e7b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x466d90
push 0
push 0
call fcn.0053b9cc
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x466e7b
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x466ea0
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4e9350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ced8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2050
call fcn.0053fde0
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 0
push 0
push 0x5895a0
lea ecx, [ebp - 0x24]
call fcn.0051b70a
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 3
push 0
push 0
push 0x600002
push 0
lea ecx, [ebp + 8]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x24]
call fcn.0051c3b6
mov dword [ebp - 0x2058], eax
mov eax, dword [ebp - 0x2058]
mov dword [ebp - 0x28], eax
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
lea ecx, [ebp + 0xc]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4e944b
mov dword [ebp - 0x2040], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0051bf19
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp - 0x2040]
jmp 0x4e963f
xor ecx, ecx
mov word [ebp - 0x2038], cx
push 0x1ffe
push 0
lea edx, [ebp - 0x2036]
push edx
call fcn.0053f680
add esp, 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0x1000
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x205c], eax
mov ecx, dword [ebp - 0x205c]
mov dword [ebp - 0x34], ecx
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2038]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp dword [ebp - 0x34], 0
jg 0x4e9478
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4e959f
mov dword [ebp - 4], 2
jmp 0x4e95d7
jmp 0x4e9608
mov dword [ebp - 0x2054], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0051bf19
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp - 0x2054]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret