joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4315c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f17d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5a800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5a8ec8], 0x28
jl 0x431618
push 0x5a8ecc
call fcn.004377b0
mov ecx, dword [0x5a8ec4]
add esp, 4
test ecx, ecx
je 0x43160a
mov eax, dword [ecx]
mov dword [0x5a8ec4], eax
mov dword [0x5a8ecc], 1
test ecx, ecx
jne 0x431637
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x431637
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.00431960
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x431730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447415
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5a800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x5a8ec8], 0x28
jl 0x43178c
push 0x5a8ecc
call fcn.004377b0
mov esi, dword [0x5a8ec4]
add esp, 4
test esi, esi
je 0x43177e
mov eax, dword [esi]
mov dword [0x5a8ec4], eax
mov dword [0x5a8ecc], 1
test esi, esi
jne 0x4317ab
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x4317ab
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.00431960
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.004318d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fffd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5a800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x5a8ec8], 0xc
jl 0x431cdb
push 0x5a8ecc
call fcn.004377b0
mov ecx, dword [0x5a8ec4]
add esp, 4
test ecx, ecx
je 0x431ccd
mov eax, dword [ecx]
mov dword [0x5a8ec4], eax
mov dword [0x5a8ecc], 1
test ecx, ecx
jne 0x431cfa
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x431cfa
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x5a8ef0], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432010
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4476bb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x5a800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800000
mov dword [0x5a8eb0], 0x597c0c
mov dword [0x5a8eb8], 0x597e34
push 0
mov dword [ebp - 0x14], 0x5a8eb0
mov dword [0x5a8ecc], 1
mov dword [0x5a8ec8], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x432087
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea eax, [ecx + 0x800000]
mov dword [0x5a8ec4], ecx
mov dword [0x5a8ec0], eax
mov edx, 0x7fff
mov eax, dword [0x5a8ec8]
mov dword [0x5a8ebc], ecx
nop dword [eax + eax]
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5a8ec8]
add ecx, eax
sub edx, 1
jne 0x4320b0
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x5a8ed0
mov dword [ebp - 0x18], 0x5a8ed0
mov dword [ebp - 0x1c], 0x5a8ed0
mov dword [0x5a8ed0], 0x596230
mov dword [0x5a8ed4], edx
mov dword [0x5a8ed8], edx
mov byte [ebp - 4], 1
mov dword [0x5a8ed0], 0x5961cc
mov dword [0x5a8edc], edx
mov dword [0x5a8ee4], edx
mov dword [0x5a8ee0], edx
mov dword [0x5a8ee8], 0x40
mov byte [ebp - 4], 2
mov dword [0x5a8ee8], 0x80
mov byte [ebp - 4], 5
mov dword [0x5a8eec], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x5a8f00
mov dword [ebp - 0x20], 0x5a8f00
call esi
mov byte [ebp - 4], 7
mov dword [0x5a8f18], 0
mov byte [ebp - 4], 8
push 0x5a8f24
mov dword [ebp - 0x24], 0x5a8f24
call esi
mov byte [ebp - 4], 9
mov dword [0x5a8f3c], 0x3e8
mov dword [ebp - 0x28], 0x5a8f50
mov dword [ebp - 0x2c], 0x5a8f50
mov dword [0x5a8f50], 0x596230
mov dword [0x5a8f54], 0
mov dword [0x5a8f58], 0
mov byte [ebp - 4], 0xa
mov dword [0x5a8f50], 0x5961cc
mov dword [0x5a8f5c], 0
mov dword [0x5a8f64], 0
mov dword [0x5a8f60], 0
mov dword [0x5a8f68], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x5a8f68], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x5a8f44], 0x3e80
mov dword [0x5a8f48], 1
mov dword [0x5a8f4c], 0
lea eax, [eax*2 + 2]
mov dword [0x5a8f40], eax
mov byte [ebp - 4], 0xe
push 0x5a8f6c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x5a8f84
call fcn.00431960
mov byte [ebp - 4], 0x10
mov dword [0x5a8ef0], 0
mov dword [0x5a8fac], 0
movsd xmm0, qword [0x59cd68]
movsd qword [0x5a8ef8], xmm0
xorps xmm0, xmm0
mov dword [0x5a8fb0], 0
mov dword [0x5a8fb4], 0
mov dword [0x5a8fb8], 0
mov dword [0x5a8ef4], 0
movq qword [0x5a8f1c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x5a8eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x432d5f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x432e35
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x432e35
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x432e2c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x432e10
cmp edi, 1
jne 0x432dd5
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x432e27
cmp edi, 2
jne 0x432de8
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x432e27
cmp edi, 4
jne 0x432df9
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x432e27
cmp edi, 8
jne 0x432e10
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x432e27
test edi, edi
jle 0x432e27
push edi
mov ecx, esi
call fcn.00436bf0
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x433150
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x5a8ec8]
jg 0x43318b
push 0x5a8ecc
call fcn.004377b0
mov ecx, dword [0x5a8ec4]
add esp, 4
test ecx, ecx
je 0x43317d
mov eax, dword [ecx]
mov dword [0x5a8ec4], eax
mov dword [0x5a8ecc], 1
test ecx, ecx
jne 0x4331a9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4331a9
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x433210
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x5a8ebc]
jb 0x433284
cmp esi, dword [0x5a8ec0]
jae 0x433284
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x5a8ec8]
jle 0x433299
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x43329d
push dword [0x5a8ec8]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push 0x5a8ecc
call fcn.004377b0
mov eax, dword [0x5a8ec4]
add esp, 0x10
mov dword [esi], eax
mov dword [0x5a8ec4], esi
mov esi, edi
mov dword [0x5a8ecc], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x43327d
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x433f00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4479cd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x5a800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test ecx, ecx
je 0x434092
cmp word [ecx], 0
je 0x434092
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x7c], 0x44
test eax, eax
js 0x433f79
or dword [ebp - 0x50], 1
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x38]
call fcn.00436ca0
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x433fff
xor esi, esi
jmp 0x434022
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43405d
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x434058
mov ecx, 0x5a8eb8
call fcn.00437980
jmp 0x43405d
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4340b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 8]
push eax
push 1
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4340dc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x208
push eax
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp + 8]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447a2c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x5a800c]
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 ebx, ecx
push 9
push str.browse:__
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x43421f
lea ecx, [ebp - 0x278]
call fcn.00402e10
mov dword [ebp - 4], 0
lea eax, [ebx + 0x12]
push eax
lea ecx, [ebp - 0x278]
mov dword [ebp - method.CWString.virtual_0], vtable.CWString.0
call fcn.00438360
mov dword [ebp - 4], 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00439650
mov byte [ebp - 4], 2
mov edx, eax
push 0x597c88
lea ecx, [ebp - 0x2a4]
call fcn.00439510
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4341ce
cmp dword [eax + 0x24], ecx
mov ecx, 0x5962e4
je 0x4341ce
mov ecx, dword [eax + 0x1c]
push 1
push 0
push ecx
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.00402b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00402b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00402b00
mov eax, 1
jmp 0x434365
push 0xa
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x434215
xor eax, eax
mov edx, str..htm
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
call fcn.004340b0
add esp, 4
test eax, eax
je 0x434363
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x434266
lea eax, [ebp - 0x21c]
mov ecx, 0xa
mov esi, str._shellopencommand
mov edx, eax
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004340b0
add esp, 4
test eax, eax
je 0x434363
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
lea eax, [ebp - 0x21c]
push str.__1_
push eax
call esi
add esp, 8
test eax, eax
je 0x4342b9
xor ecx, ecx
mov word [eax], cx
jmp 0x4342f6
lea eax, [ebp - 0x21c]
push 0x597d4c
push eax
call esi
add esp, 8
test eax, eax
je 0x4342d5
xor ecx, ecx
mov word [eax], cx
jmp 0x4342f6
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4342e0
sub ecx, edx
sar ecx, 1
lea eax, [ebp + ecx*2 - 0x21e]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040b830
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push 0x20
call fcn.004382e0
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00438360
mov eax, dword [ebp - 0x240]
test eax, eax
jne 0x43433f
cmp dword [ebp - 0x228], 0
mov eax, 0x5962e4
cmovne eax, dword [ebp - 0x230]
push 0xffffffffffffffff
mov ecx, eax
call fcn.00433f00
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.00402b00
mov eax, esi
jmp 0x434365
xor eax, eax
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.0043d953
mov esp, ebp
pop ebp
ret
Function at 0x4343c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.0042fcd0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
movzx eax, word [edx]
test ax, ax
je 0x4343f9
mov ecx, eax
cmp cx, 0x20
ja 0x4343f9
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
jne 0x4343e5
movzx eax, word [edx]
mov esi, eax
mov ecx, eax
mov dword [ebp - 8], esi
cmp eax, 0x22
jne 0x43440c
movzx ecx, word [edx + 2]
xor eax, eax
cmp esi, 0x22
lea esi, [edx + 2]
sete al
lea eax, [eax*2 + 0x20]
movzx edi, ax
mov eax, dword [ebp - 8]
cmp ax, 0x22
cmovne esi, edx
movzx edx, cx
cmp cx, di
je 0x43444e
movzx ecx, cx
test cx, cx
je 0x434458
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
mov edx, eax
cmp ax, di
jne 0x434436
mov eax, dword [ebp - 8]
test dx, dx
je 0x43445b
add esi, 2
jmp 0x43445b
mov eax, dword [ebp - 8]
cmp ax, 0x22
jne 0x43446a
cmp word [esi], 0x20
jne 0x43446a
add esi, 2
movzx eax, word [esi]
test ax, ax
je 0x4345c9
mov ecx, eax
nop dword [eax + eax]
cmp cx, 0x22
jne 0x434527
movzx eax, word [esi + 2]
add esi, 2
mov ebx, esi
test ax, ax
je 0x4344b4
mov ecx, eax
nop word [eax + eax]
cmp cx, 0x22
je 0x4344b4
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x4344a0
mov edi, ebx
sub edi, esi
sar edi, 1
test edi, edi
jle 0x4344e6
mov ecx, dword [ebp - 4]
add edi, edi
mov edx, dword [ecx]
lea eax, [edi + 2]
push eax
call dword [edx]
push edi
push esi
push eax
mov dword [ebp - 8], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov edi, eax
jmp 0x4344e8
xor edi, edi
mov ecx, dword [ebp - 4]
add ecx, 4
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, esi
cmp eax, 4
jl 0x434507
mov eax, dword [ecx + 0xc]
mov dword [esi + eax], edi
add dword [ecx + 0x14], 4
jmp 0x434513
lea eax, [esi + 4]
push eax
call fcn.00436bf0
mov dword [eax + esi], edi
cmp word [ebx], 0
mov esi, ebx
je 0x4345b8
lea esi, [ebx + 2]
jmp 0x4345b8
cmp cx, 0x20
jbe 0x4345b5
mov ebx, esi
movzx ecx, cx
cmp cx, 0x22
je 0x434550
cmp cx, 0x20
jbe 0x434550
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x434536
mov edi, ebx
sub edi, esi
sar edi, 1
test edi, edi
jle 0x434582
mov ecx, dword [ebp - 4]
add edi, edi
mov edx, dword [ecx]
lea eax, [edi + 2]
push eax
call dword [edx]
push edi
push esi
push eax
mov dword [ebp - 8], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov edi, eax
jmp 0x434584
xor edi, edi
mov ecx, dword [ebp - 4]
add ecx, 4
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
sub eax, esi
cmp eax, 4
jl 0x4345a5
mov eax, dword [ecx + 0xc]
mov dword [esi + eax], edi
mov esi, ebx
add dword [ecx + 0x14], 4
jmp 0x4345b8
lea eax, [esi + 4]
push eax
call fcn.00436bf0
mov dword [eax + esi], edi
mov esi, ebx
jmp 0x4345b8
add esi, 2
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x434480
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
pop edi
pop esi
shr eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4371b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x437289
cmp word [eax], 0
je 0x437289
push ebx
push esi
push 0x597d68
push eax
or esi, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43725c
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov eax, dword [ebp + 8]
add esp, 0x1c
test eax, eax
jle 0x43724b
push ebx
push eax
push 1
push eax
mov ecx, edi
call fcn.00436b90
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x43724f
push esi
mov ecx, edi
call fcn.00436bf0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret 8
xor esi, esi
jmp 0x437252
or esi, 0xffffffff
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x43726b
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov eax, esi
mov dword [edi + 0xc], 0
pop esi
pop ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
pop edi
pop ebp
ret 8
or eax, 0xffffffff
pop edi
pop ebp
ret 8
Function at 0x40d8ee
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x402bf0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xfcc008], 0x8088405
inc edx
mov dword [ebx + 0xfcc008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404464
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x4044c9
test ecx, ecx
je fcn.0040419c
cmp edx, dword [eax]
je 0x4044d0
cmp ecx, dword [eax]
je 0x404486
push eax
push ecx
call fcn.0040419c
pop edx
pop eax
jmp fcn.00404420
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
push eax
mov eax, dword [ebx - 4]
add eax, dword [esi - 4]
call fcn.0040420c
mov edi, eax
mov edx, eax
mov eax, ebx
mov ecx, dword [ebx - 4]
call fcn.0040293c
mov edx, edi
mov eax, esi
mov ecx, dword [esi - 4]
add edx, dword [ebx - 4]
call fcn.0040293c
pop eax
mov edx, edi
test edi, edi
je 0x4044c0
dec dword [edi - 8]
call fcn.0040419c
pop edi
pop esi
pop ebx
ret
mov edx, ecx
jmp fcn.0040419c
mov edx, ecx
jmp fcn.00404420

Function at 0x42f460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f48d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42f47e
and ecx, 3
je 0x42f4a5
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42f492
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42f4e9
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f4d1
pop esi
and esi, 3
je 0x42f50e
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42f4ef
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42f518
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f544
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f535
and ecx, 3
je 0x42f55c
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42f549
pop esi
pop edi
pop ebx
pop ebp
ret 4