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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42d544
xor eax, eax
jmp 0x42d5c4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42d55b
xor eax, eax
jmp 0x42d5c4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x42d5a7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x42d5a7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x42d57e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x42d5b3
xor eax, eax
jmp 0x42d5c4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x42d5c1
xor eax, eax
jmp 0x42d5c4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42ee73
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x42ee6a
xor eax, eax
jmp 0x42ee76
mov eax, 1
jmp 0x42ee76
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x42f8f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 3
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.0042d0e0
add esp, 0xc
mov eax, 2
imul ecx, eax, 3
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 8
jae 0x42f943
jmp 0x42f948
call fcn.00559923
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0xc], dx
xor ecx, ecx
mov word [ebp - 0x214], cx
push 0x206
push 0
lea edx, [ebp - 0x212]
push edx
call fcn.0055ceb0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x5e15cc
push 0x104
lea ecx, [ebp - 0x214]
push ecx
call fcn.0055ad33
add esp, 0x10
lea edx, [ebp - 0x214]
push edx
mov ecx, dword [ebp + 8]
call fcn.00412960
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret

Function at 0x42fac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.0055ceb0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00412960
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret
Function at 0x42fd90
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042e3d0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42fec0
mov edx, dword [ebp - 0x214]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042e3d0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x42fe62
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x42fec6
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
jne 0x42fe95
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x42fec6
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00412960
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x42fec4
xor al, al
jmp 0x42fec6
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret
Function at 0x42fee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e2eb
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x230]
call fcn.0042d270
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042fd90
add esp, 8
lea ecx, [ebp - 0x230]
call fcn.00412ab0
movzx edx, al
test edx, edx
je 0x42ff66
mov byte [ebp - 0x24a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0042d070
mov al, byte [ebp - 0x24a]
jmp 0x430088
mov dword [ebp - 0x25c], 0x208
push str.Volatile_Environment_
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.00431120
add esp, 0xc
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
push edx
lea ecx, [ebp - 0x230]
call fcn.004128b0
lea ecx, [ebp - 0x248]
call fcn.0042d070
lea eax, [ebp - 0x250]
push eax
push 1
push 0
lea ecx, [ebp - 0x230]
call fcn.0042e3d0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430048
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push str.USERPROFILE
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
jne 0x430018
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00412960
jmp 0x430039
mov byte [ebp - 0x24c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0042d070
mov al, byte [ebp - 0x24c]
jmp 0x430088
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x430069
mov byte [ebp - 0x24b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0042d070
mov al, byte [ebp - 0x24b]
jmp 0x430088
mov byte [ebp - 0x249], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0042d070
mov al, byte [ebp - 0x249]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret
Function at 0x430180
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e1a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4301c9
mov al, 1
jmp 0x430276
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jne 0x430267
push 0xffffffffffffffff
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.004308b0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x430265
mov eax, dword [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00412b40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
call fcn.00430180
add esp, 4
movzx eax, al
test eax, eax
je 0x430256
push 0
mov ecx, dword [ebp + 8]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x430238
mov byte [ebp - 0x29], 1
jmp 0x43023c
mov byte [ebp - 0x29], 0
mov cl, byte [ebp - 0x29]
mov byte [ebp - 0x2a], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0042d070
mov al, byte [ebp - 0x2a]
jmp 0x430276
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0042d070
jmp 0x430274
cmp dword [ebp - 0x34], 0xb7
jne 0x430274
mov al, 1
jmp 0x430276
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret
Function at 0x4324d0
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e670
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 1
push 0
push 0
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x432681
mov dword [ebp - 0x74], 0
jmp 0x43254b
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x7c]
jae 0x432677
mov ecx, dword [ebp - 0x74]
shl ecx, 4
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp + 0x20]
cmp eax, dword [edx + ecx]
jne 0x432672
lea ecx, [ebp + 8]
call fcn.0042e3d0
push eax
mov ecx, dword [ebp - 0x74]
shl ecx, 4
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + ecx + 8]
push eax
call fcn.00559eb2
add esp, 8
test eax, eax
jne 0x432672
push str.SMMonitorMag.cpp:CSMMonitorMag::GetSessionPid__:Line_150
push 0
push 1
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00406240
mov edx, dword [eax]
mov dword [ebp - 0x90], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x88], edx
push 0
mov eax, dword [ebp - 0x74]
shl eax, 4
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + eax + 8]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x614354
call fcn.00411530
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x74]
shl edx, 4
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + edx]
push ecx
mov edx, dword [ebp - 0x74]
shl edx, 4
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + edx + 4]
push ecx
push 0
mov ecx, dword [ebp - 0x84]
call fcn.004026d0
push eax
push str._tfind__s_process__Pid_d__session_d_._n
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x90]
mov dword [edx], eax
mov ecx, dword [ebp - 0x8c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x88]
mov dword [edx + 8], eax
call fcn.00405320
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00402230
mov ecx, dword [ebp - 0x74]
shl ecx, 4
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + ecx + 4]
mov dword [edx], ecx
mov dword [ebp - 0x80], 1
jmp 0x432677
jmp 0x432542
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d070
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4363c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 1
jl 0x4363d8
cmp dword [ebp + 0xc], 8
jg 0x4363d8
mov byte [ebp - 1], 1
jmp 0x4363dc
mov byte [ebp - 1], 0
push str.bad_pack_level
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e00
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x436425
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af78], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af70], 0x10000
mov eax, 4
imul ecx, eax, 0x7fff
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4af70], 0
push 0x1fffc
push 0
mov eax, dword [ebp + 8]
add eax, 0x4af70
push eax
call fcn.0055ceb0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x5e327a]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af98], edx
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x5e3278]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af9c], edx
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x5e327c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6afa0], edx
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x5e327e]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af94], edx
cmp dword [ebp + 0xc], 2
jg 0x4364bd
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
or edx, 4
mov eax, dword [ebp + 0x10]
mov word [eax], dx
jmp 0x4364d2
cmp dword [ebp + 0xc], 8
jl 0x4364d2
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
or edx, 2
mov eax, dword [ebp + 0x10]
mov word [eax], dx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af84], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af74], 0
mov dword [ebp - 8], 0x8000
mov eax, dword [ebp - 8]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x1af70
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6af90], 0
je 0x436539
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x436555
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af8c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], 0
jmp 0x4365cd
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6af90], 0x106
jae 0x43657d
mov edx, dword [ebp + 8]
push edx
call fcn.00436980
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 8], 0
jmp 0x43659c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jae 0x4365cd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x1af70]
xor eax, edx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x436593
mov esp, ebp
pop ebp
ret
Function at 0x438380
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x438390
xor eax, eax
jmp 0x43852d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4384ee
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5e3340]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5e3340]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5e3340]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5e3340]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5e3340]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5e3340]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5e3340]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5e3340]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x438399
cmp dword [ebp + 0x10], 0
je 0x438527
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5e3340]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x4384f4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x438530
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x5e3340]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x5e3340]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret
Function at 0x438f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x2d]
test edx, edx
je 0x439072
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x438fe1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x438fe1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00443359
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x3c], 0
jne 0x43900d
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call fcn.00443323
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.0055ff70
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x439036
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x439069
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x30
push edx
call fcn.00438650
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x43902d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x20], 0
je 0x4390cd
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 0x28]
jb 0x43909a
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x439102
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x24]
push eax
call fcn.0055ff70
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x439102
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x4390f6
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x18]
jmp 0x439102
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x439750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x439812
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x8c]
cmp eax, dword [edx + 0x88]
jb 0x439784
xor eax, eax
jmp 0x439882
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x88]
sub eax, dword [edx + 0x8c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jbe 0x4397a7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x8c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0055ff70
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x8c]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x78]
push edx
call fcn.00438380
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 8]
jmp 0x439882
mov edx, dword [ebp - 4]
cmp dword [edx + 0x7c], 0
je 0x439876
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x439843
xor eax, eax
jmp 0x439882
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x78]
push edx
call fcn.00438380
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 0xc]
jmp 0x439882
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x446715
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x44675a
call fcn.0044f60b
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44675a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x446776
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045394c
mov ebx, eax
test edi, edi
je 0x446774
test esi, esi
je 0x446774
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4