joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ef1
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x43305c]
xor eax, ebp
mov dword [ebp + 0x188], eax
and dword [ebp - 0x7c], 0
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x80], 0xfa
call fcn.0040592a
mov esi, dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
pop ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
mov edi, 0x80000002
push edi
push dword [0x434604]
call esi
mov ebx, eax
test ebx, ebx
je 0x403f6b
push str.RemoteRegistry
call fcn.00403dbd
test eax, eax
pop ecx
mov dword [ebp - 0x7c], eax
je 0x403f67
lea eax, [ebp - 0x70]
push eax
push edi
push dword [0x434604]
call esi
mov ebx, eax
test ebx, ebx
jne 0x403fe1
lea eax, [ebp - 0x78]
push eax
push 1
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403fd6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push str.Identifier
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403fcd
lea eax, [ebp - 0x6c]
push 0x42d570
push eax
call fcn.00405d3f
test eax, eax
pop ecx
pop ecx
je 0x403fbe
push str.SysWOW64
jmp 0x403fc3
push str.system32
push dword [ebp - 0x74]
call fcn.0040650f
pop ecx
pop ecx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403ff0
push str.system32
push dword [ebp - 0x74]
call fcn.0040650f
pop ecx
pop ecx
xor edi, edi
cmp dword [ebp - 0x7c], edi
je 0x404002
push str.RemoteRegistry
call fcn.00403e65
pop ecx
cmp dword [ebp - 0x70], edi
je 0x40401c
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x70], edi
je 0x40401c
push dword [ebp - 0x78]
call esi
mov ecx, dword [ebp + 0x188]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405d30
add ebp, 0x18c
leave
ret
Function at 0x405d30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43305c]
jne 0x405d3a
repz ret
jmp fcn.0040ed4f

Function at 0x4172c5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040dc9f
xor ebx, ebx
cmp dword [0x437adc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41739a
push 0x42eb78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x417305
xor eax, eax
jmp 0x41745e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42eb6c
push edi
call esi
cmp eax, ebx
je 0x4172fe
push eax
call fcn.0040dc3c
mov dword [esp], 0x42eb5c
push edi
mov dword [0x437adc], eax
call esi
push eax
call fcn.0040dc3c
mov dword [esp], 0x42eb48
push edi
mov dword [0x437ae0], eax
call esi
push eax
call fcn.0040dc3c
mov dword [0x437ae4], eax
lea eax, [ebp - 8]
push eax
call fcn.00405fc2
test eax, eax
pop ecx
pop ecx
je 0x417368
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004080af
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41739a
push 0x42eb2c
push edi
call esi
push eax
call fcn.0040dc3c
cmp eax, ebx
pop ecx
mov dword [0x437aec], eax
je 0x41739a
push 0x42eb14
push edi
call esi
push eax
call fcn.0040dc3c
pop ecx
mov dword [0x437ae8], eax
mov eax, dword [0x437ae8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x417413
cmp dword [0x437aec], esi
je 0x417413
push eax
call fcn.0040dca8
pop ecx
call eax
cmp eax, ebx
je 0x4173e0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x437aec]
call fcn.0040dca8
pop ecx
call eax
test eax, eax
je 0x4173e0
test byte [ebp - 0x18], 1
jne 0x417413
lea eax, [ebp - 0xc]
push eax
call fcn.00406071
test eax, eax
pop ecx
je 0x4173fb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004080af
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41740a
or dword [ebp + 0x10], 0x200000
jmp 0x417444
or dword [ebp + 0x10], 0x40000
jmp 0x417444
mov eax, dword [0x437ae0]
cmp eax, esi
je 0x417444
push eax
call fcn.0040dca8
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x417444
mov eax, dword [0x437ae4]
cmp eax, esi
je 0x417444
push dword [ebp - 4]
push eax
call fcn.0040dca8
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x437adc]
call fcn.0040dca8
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403090
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbce0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x52c1c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
mov dl, byte [eax]
movzx eax, dl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
and ecx, eax
shl ecx, 3
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + ecx]
cmp eax, dword [ebx + 4]
jne 0x4030f5
mov esi, dword [ebx + 4]
jmp 0x4030fb
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x40310c
nop
mov esi, dword [esi + 4]
cmp dl, byte [esi + 8]
je 0x403154
cmp esi, eax
jne 0x403100
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x40313c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 4], edx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x40319c
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + eax + 4], edi
jmp 0x4031bf
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x403176
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
call fcn.004bee10
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x4031a4
mov dword [ecx], edi
jmp 0x4031bf
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4031bf
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0041ed00
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419ce0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fce0b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x52c1c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004d8600
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [0x504d28]
xor esi, esi
mov bl, byte [ebp + 0x10]
mov bh, byte [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x18], eax
mov eax, dword [0x504d2c]
mov dword [ebp - 0x14], eax
nop dword [eax]
lea eax, [esi + 0x41]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call edi
cmp eax, 3
je 0x419d8c
test bh, bh
je 0x419d7b
cmp eax, 2
je 0x419d8c
test bl, bl
je 0x419e39
cmp eax, 5
jne 0x419e39
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
cmp word [ebp - 0x18], ax
je 0x419dc4
lea eax, [ebp - 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419db5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x238]
call fcn.00422560
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 4], 0
call fcn.0042c2d0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x419e39
mov ecx, dword [ebp - 0x238]
inc eax
cmp eax, 0x7fffffff
ja 0x419e61
add eax, eax
cmp eax, 0x1000
jb 0x419e30
test cl, 0x1f
jne 0x419e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x419e61
sub ecx, eax
cmp ecx, 4
jb 0x419e61
cmp ecx, 0x23
ja 0x419e61
mov ecx, eax
push ecx
call fcn.004bee10
add esp, 4
inc esi
cmp esi, 0x1a
jl 0x419d60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bedf5
mov esp, ebp
pop ebp
ret 0xc
call fcn.004db091
int3
Function at 0x419e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fce5f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x52c1c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x419ed1
mov eax, dword [edi]
jmp 0x419ed3
mov eax, edi
xor edx, edx
mov word [eax], dx
push 0x504960
push ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], 1
call fcn.004e0c7b
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x419fea
push 2
push 0
push ebx
call fcn.004e134b
push ebx
call fcn.004e1944
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.004bef3d
push 0
push 0
push dword [ebp - 0x2c]
mov ebx, eax
call fcn.004e134b
push dword [ebp - 0x2c]
push esi
push 1
push ebx
call fcn.004e0f8b
add esp, 0x18
mov edx, esp
mov byte [eax + ebx], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x419f53
mov eax, dword [edx]
jmp 0x419f55
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x419f61
xor ecx, ecx
jmp 0x419f6f
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419f66
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.004222a0
lea eax, [ebp - 0x28]
push eax
call fcn.0041d410
add esp, 0x1c
mov esi, eax
cmp edi, esi
je 0x419fc4
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x419f9d
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004237a0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x419fb5
mov eax, dword [edi]
jmp 0x419fb7
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.0041e960
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x419fd9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004237a0
push ebx
call fcn.004bef46
push dword [ebp - 0x2c]
call fcn.004e0789
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bedf5
mov esp, ebp
pop ebp
ret
Function at 0x41c210
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x52c1c8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004d8600
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x41c27f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x41c27f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bedf5
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004bedf5
mov esp, ebp
pop ebp
ret

Function at 0x41c2a0
Capabilities:
Acquire debug privileges
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x52c1c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x503bbc
mov dword [ebp - 0x230], 0x22c
xor esi, esi
call fcn.00419510
add esp, 4
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41c371
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41c36a
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c300
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004db643
add esp, 0xc
test eax, eax
jne 0x41c359
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x228]
cmp ecx, eax
je 0x41c359
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 4
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41c2f6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bedf5
mov esp, ebp
pop ebp
ret
Function at 0x41d000
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd2db
mov eax, dword fs:[0]
push eax
mov eax, 0x2090
call fcn.004bf7b0
mov eax, dword [0x52c1c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2054], eax
mov eax, dword [ebp + 0x1c]
push 0x44
mov dword [ebp - 0x2058], eax
lea eax, [ebp - 0x209c]
push 0
push eax
mov dword [ebp - 0x2050], 0
mov dword [ebp - 0x204c], 0
call fcn.004d8600
push 0x2000
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x209c], 0x44
push 0
push eax
mov dword [ebp - 0x2070], 1
call fcn.004d8600
xor eax, eax
mov dword [ebp - 0x2014], 7
add esp, 0x18
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
cmp word [esi], ax
jne 0x41d0bd
xor ecx, ecx
jmp 0x41d0d1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d0c2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2028]
call fcn.00422560
lea eax, [ebp - 0x2028]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2040]
push eax
call fcn.0041c5e0
mov eax, dword [ebp - 0x2014]
add esp, 8
cmp eax, 8
jb 0x41d119
inc eax
lea ecx, [ebp - 0x2028]
push eax
push dword [ebp - 0x2028]
call fcn.004237a0
cmp dword [ebp - 0x202c], 8
lea ecx, [ebp - 0x2040]
lea edx, [ebp - 0x2010]
cmovae ecx, dword [ebp - 0x2040]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x41d133
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
neg eax
mov dword [ebp - 0x209c], 0x44
mov dword [ebp - 0x2094], str.winsta0default
sbb eax, eax
and eax, 5
mov word [ebp - 0x206c], ax
lea eax, [ebp - 0x2050]
push eax
lea eax, [ebp - 0x209c]
push eax
push dword [ebp - 0x2054]
lea eax, [ebp - 0x2010]
push 0
push 0x34
push 0
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0x2050], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41d1a8
xor esi, esi
jmp 0x41d208
push dword [ebp - 0x204c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x204c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp + 0x10], 0
je 0x41d1f7
push 0xffffffffffffffff
push dword [ebp - 0x2050]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2058]
test eax, eax
je 0x41d1ed
push eax
push dword [ebp - 0x2050]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x2050]
call esi
jmp 0x41d203
test edi, edi
je 0x41d203
mov eax, dword [ebp - 0x2050]
mov dword [edi], eax
mov esi, 1
mov ecx, dword [ebp - 0x202c]
cmp ecx, 8
jb 0x41d226
inc ecx
push ecx
push dword [ebp - 0x2040]
lea ecx, [ebp - 0x2040]
call fcn.004237a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bedf5
mov esp, ebp
pop ebp
ret
Function at 0x41e9d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41e9e5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41ea26
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41ea22
nop word [eax + eax]
cmp esi, edx
jae 0x41ea26
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41ea10
cmp esi, edx
jb 0x41ea2b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4232b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x52c1c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, edx
push esi
mov esi, dword [ebp + 0xc]
or ecx, 1
bsr eax, esi
mov dword [ebp - 0x84], 0x10001
mov dword [ebp - 0x80], 0x20001
mov dword [ebp - 0x7c], 0x20002
mov dword [ebp - 0x78], 0x30003
mov dword [ebp - 0x74], 0x40003
mov dword [ebp - 0x70], 0x40004
mov dword [ebp - 0x6c], 0x50004
mov dword [ebp - 0x68], 0x50005
mov dword [ebp - 0x64], 0x60006
mov dword [ebp - 0x60], 0x70006
mov dword [ebp - 0x5c], 0x70007
mov dword [ebp - 0x58], 0x80007
mov dword [ebp - 0x54], 0x80008
mov dword [ebp - 0x50], 0x90009
mov dword [ebp - 0x4c], 0xa0009
mov dword [ebp - 0x48], 0xa000a
mov dword [ebp - 0x44], 0xb000a
mov dword [ebp - 0x40], 0xb000b
mov dword [ebp - 0x3c], 0xc000c
mov dword [ebp - 0x38], 0xd000c
mov dword [ebp - 0x34], 0xd000d
mov dword [ebp - 0x30], 0xe000d
mov dword [ebp - 0x2c], 0xe000e
mov dword [ebp - 0x28], 0xf000f
mov dword [ebp - 0x24], 0x10000f
mov dword [ebp - 0x20], 0x100010
mov dword [ebp - 0x1c], 0x110010
mov dword [ebp - 0x18], 0x110011
mov dword [ebp - 0x14], 0x120012
mov dword [ebp - 0x10], 0x130012
mov dword [ebp - 0xc], 0x130013
mov dword [ebp - 8], 0x140013
mov dword [ebp - 0xb0], 0
je 0x4233c6
add eax, 0x20
jmp 0x4233cf
bsr eax, ecx
mov dword [ebp - 0xb0], eax
xor eax, 0x3f
xorps xmm0, xmm0
xor eax, 0x3f
movzx eax, word [ebp + eax*2 - 0x84]
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x9c], 0xa
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0x64
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0x3e8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0x2710
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x186a0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf4240
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0x989680
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0x5f5e100
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x3b9aca00
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x540be400
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], 0x4876e800
mov dword [ebp - 0x48], 0x17
mov dword [ebp - 0x44], 0xd4a51000
mov dword [ebp - 0x40], 0xe8
mov dword [ebp - 0x3c], 0x4e72a000
mov dword [ebp - 0x38], 0x918
mov dword [ebp - 0x34], 0x107a4000
mov dword [ebp - 0x30], 0x5af3
mov dword [ebp - 0x2c], 0xa4c68000
mov dword [ebp - 0x28], 0x38d7e
mov dword [ebp - 0x24], 0x6fc10000
mov dword [ebp - 0x20], 0x2386f2
mov dword [ebp - 0x1c], 0x5d8a0000
mov dword [ebp - 0x18], 0x1634578
mov dword [ebp - 0x14], 0xa7640000
mov dword [ebp - 0x10], 0xde0b6b3
mov dword [ebp - 0xc], 0x89e80000
mov dword [ebp - 8], 0x8ac72304
cmp esi, dword [ebp + eax*8 - 0xa8]
pop esi
ja 0x423539
jb 0x423524
cmp edx, dword [ebp + eax*8 - 0xac]
jae 0x423539
mov ecx, 1
sub eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bedf5
mov esp, ebp
pop ebp
ret
xor ecx, ecx
sub eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bedf5
mov esp, ebp
pop ebp
ret
Function at 0x423550
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x423561
mov eax, dword [esi]
jmp 0x423563
mov eax, esi
push eax
call fcn.004e2b19
add esp, 4
push esi
test eax, eax
je 0x4235a2
push 0x504d30
push 0x531c60
call fcn.004018f0
add esp, 8
push eax
call fcn.004015e0
push eax
call fcn.00404d50
push esi
push str.Failed_to_create_directory:
call fcn.00409190
add esp, 0x14
xor al, al
pop esi
pop ebp
ret
push str.Directory_created:
push 0x531bb0
call fcn.004018f0
add esp, 8
push eax
call fcn.004015e0
push eax
call fcn.00404d50
add esp, 0xc
mov al, 1
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x52c1c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00422170
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d310
add esp, 0x1c
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42387f
test al, 0x10
je 0x42387f
mov bl, 1
jmp 0x423881
xor bl, bl
mov ecx, dword [ebp - 8]
cmp ecx, 8
jb 0x423896
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.004237a0
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004bedf5
mov esp, ebp
pop ebp
ret

Function at 0x4248a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4248bb
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x4248d7
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4248c6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x42490d
cmp dword [ecx], edi
jne 0x424905
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x424915
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x424915
cmp dword [ecx], edi
jne 0x424918
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.004150a0
push edi
call fcn.004bee10
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8