joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4534d0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x4534f7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.00453440
cmp eax, 0xffffffff
je 0x4534e7
push esi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x45352d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004c5420
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x108]
push 0x5c
push edx
call fcn.004c3490
mov esi, eax
add esp, 8
test esi, esi
je 0x45357c
inc esi
push 0x104
push 0
push edi
call fcn.004c5420
mov edx, edi
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x453592
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004be8b8
mov esp, ebp
pop ebp
ret

Function at 0x4535b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4535fe
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x453611
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
push ebx
push ecx
call fcn.004bf041
add esp, 8
test eax, eax
je 0x453639
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x453611
jmp 0x45363f
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x456bba
Capabilities:
Create thread

Disassembly:
sub esp, 8
jne 0x456bcc
and edi, 0x1e85053
add byte [eax], al
add byte [ecx + ebx*2 - 0x7efd82a7], bh
bnd ja 0x456bd4
jae 0xe82dbf21
push ecx
push ebx
call 0x456bba
mov ecx, 0x18244483
push es
invalid
add dword [esp + 0x18], 6
sub esp, 4
jne 0x456bef
or eax, 0xc181027d
jge 0x456be3
add ecx, 0x57be0177
ja 0x456be6
mov esi, 0xe8515557
add eax, 0xbd000000
push edi
push ebp
push ecx
call 0x456bf3
mov ebp, 0xa364ee73
jmp dword [esp + 0x2c]
jae 0x456bdf
mov dword fs:[0x2c2464ff], eax
ror byte [edx + edi*4], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
jne 0x10a308e
add byte [eax], al
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x1d6c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1d68], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x4575f0
call fcn.004c3e12
add esp, 0xc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x456bf3
Capabilities:
Create thread

Disassembly:
sub esp, 8
jne 0x456bcc
and edi, 0x1e85053
add byte [eax], al
add byte [ecx + ebx*2 - 0x7efd82a7], bh
bnd ja 0x456bd4
jae 0xe82dbf21
push ecx
push ebx
call 0x456bba
mov ecx, 0x18244483
push es
invalid
add dword [esp + 0x18], 6
sub esp, 4
jne 0x456bef
or eax, 0xc181027d
jge 0x456be3
add ecx, 0x57be0177
ja 0x456be6
mov esi, 0xe8515557
add eax, 0xbd000000
push edi
push ebp
push ecx
call 0x456bf3
mov ebp, 0xa364ee73
jmp dword [esp + 0x2c]
jae 0x456bdf
mov dword fs:[0x2c2464ff], eax
ror byte [edx + edi*4], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
jne 0x10a308e
add byte [eax], al
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x1d6c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1d68], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x4575f0
call fcn.004c3e12
add esp, 0xc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x456c90
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee68
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5946c4], 3
jb 0x456d41
push 3
xor ecx, ecx
lea esi, [ebp - 0x2c]
mov edx, 0x5946b4
call fcn.00421e30
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x456ce3
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x456d29
fild qword [ebp - 0x38]
fld qword [0x562c68]
mov dword [ebp - 4], 0xffffffff
fmul st(1), st(0)
fmul st(1), st(0)
fmulp st(1)
fstp dword [ebp - 0x30]
cmp dword [ebp - 0x18], esi
jb 0x456d24
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bf135
add esp, 4
fld dword [ebp - 0x30]
jmp 0x456d43
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x456d41
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bf135
add esp, 4
fldz
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x45d2b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x45d2d2
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x45d2f2
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x45d336
mov ecx, dword [ebx + 0x50]
push 4
push 0x3000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x45d336
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x45d36e
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x45d260
mov dword [esi + 0x18], 0x45d270
mov dword [esi + 0x1c], 0x45d290
mov dword [esi + 0x20], eax
mov edx, dword [ebx + 0x54]
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
mov dword [ebp - 4], eax
call fcn.004c4af0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
mov dword [esi], eax
mov dword [eax + 0x34], edi
mov eax, dword [ebp + 0xc]
push ebx
push eax
push ecx
call fcn.0045ce90
add esp, 0x1c
test al, al
jne 0x45d3ea
push 0x570
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
sub eax, dword [ebx + 0x34]
je 0x45d3fc
push eax
mov eax, esi
call fcn.0045d060
add esp, 4
call fcn.0045d0f0
test eax, eax
je 0x45d436
push esi
call fcn.0045cf50
add esp, 4
mov eax, esi
call fcn.0045d020
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x45d44b
push 0
push 1
add eax, edi
push edi
call eax
test eax, eax
jne 0x45d444
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0045d540
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x577760]
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 + 8]
mov edi, ecx
xor ecx, ecx
mov esi, edx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x234]
call fcn.0045de10
test eax, eax
je 0x45ddcc
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], 0
jae 0x45dd2c
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x238]
push edx
push 0xf003f
push 0
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45dda6
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x244]
push eax
push 0
push esi
push ecx
mov dword [ebp - 0x240], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45dda6
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45dd85
mov esi, dword [ebp - 0x23c]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
call fcn.00422da0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], 8
jb 0x45ddc5
mov edx, dword [ebp - 0x234]
push edx
call fcn.004bf135
add esp, 4
mov eax, 1
jmp 0x45dded
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], 8
jb 0x45ddeb
mov eax, dword [ebp - 0x234]
push eax
call fcn.004bf135
add esp, 4
xor eax, eax
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.004be8b8
mov esp, ebp
pop ebp
ret 4

Function at 0x45de10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0
mov eax, 0x560238
mov dword [ebp - 0x210], 0x104
call fcn.00422da0
mov edx, dword [edi + 8]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x20c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45de9f
inc dword [edi + 8]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45de70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00422da0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [edi + 8], 0
xor eax, eax
pop esi
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x45ed50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x45edfe
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x45edc4
mov eax, dword [ebp - 0x110]
cmp eax, 1
jne 0x45edac
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x45edfe
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x45edfe
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x45ede6
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x45edfe
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x45ee10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec6a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x577760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45ee82
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045a070
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x28]
mov edi, 0x10
cmp dword [ebp + 0x3c], edi
jae 0x45ee92
lea ecx, [ebp + 0x28]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x45ee9d
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call esi
mov ecx, dword [ebp + 0x64]
cmp dword [ebp + 0x78], edi
jae 0x45eebe
lea ecx, [ebp + 0x64]
mov eax, dword [ebp + 0x48]
cmp dword [ebp + 0x5c], edi
jae 0x45eec9
lea eax, [ebp + 0x48]
mov edx, dword [ebp + 0x74]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call esi
mov ecx, dword [ebp + 0xa0]
cmp dword [ebp + 0xb4], edi
jae 0x45eeed
lea ecx, [ebp + 0xa0]
mov eax, dword [ebp + 0x84]
cmp dword [ebp + 0x98], edi
jae 0x45ef01
lea eax, [ebp + 0x84]
mov edx, dword [ebp + 0xb0]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call esi
mov ecx, dword [ebp + 0xdc]
cmp dword [ebp + 0xf0], edi
jae 0x45ef28
lea ecx, [ebp + 0xdc]
mov eax, dword [ebp + 0xc0]
cmp dword [ebp + 0xd4], edi
jae 0x45ef3c
lea eax, [ebp + 0xc0]
mov edx, dword [ebp + 0xec]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call esi
mov ecx, dword [ebp + 0x118]
cmp dword [ebp + 0x12c], edi
jae 0x45ef63
lea ecx, [ebp + 0x118]
mov eax, dword [ebp + 0xfc]
cmp dword [ebp + 0x110], edi
jae 0x45ef77
lea eax, [ebp + 0xfc]
mov edx, dword [ebp + 0x128]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call esi
mov eax, dword [ebp + 0x174]
cmp dword [ebp + 0x188], edi
jae 0x45ef9e
lea eax, [ebp + 0x174]
mov edx, dword [ebp - 0x10]
push 4
lea ecx, [ebp + 0x1ac]
push ecx
push 4
push 0
push eax
push edx
call esi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45efc0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045a070
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x462d40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x462d4e
xor eax, eax
pop ebp
ret
push esi
not eax
cmp edx, 8
jb 0x462e1d
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558ef8]
add ecx, 8
sub edx, 8
dec esi
jne 0x462d60
pop edi
test edx, edx
je 0x462e3a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x558ef8]
inc ecx
dec edx
jne 0x462e21
not eax
pop esi
pop ebp
ret

Function at 0x463680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x4636bb
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4636b0
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x4636cc
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.004c4af0
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret

Function at 0x4636f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x463723
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46371e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x46374e
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x463735
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.004c4af0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x463763
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x46375d
cmp byte [esi + 8], 0
je 0x46375d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x4638c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x463907
cmp byte [esi + 1], 0
je 0x46390f
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x463921
cmp byte [esi + 1], 0
je 0x463915
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x463929
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x4638e1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x463929
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x46393b
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.004be940
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x463955
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x463a69
jmp 0x463979
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x463988
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x46399f
mov ebx, 0x404
cmp byte [esi], 0
je 0x4639c4
cmp byte [esi + 1], 0
je 0x463a69
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4639c7
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x4639f0
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4639eb
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x463a19
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x463a01
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.004c4af0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x463a69
lea eax, [ebx - 3]
test eax, eax
jle 0x463a5d
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x463a4f
cmp byte [eax + ecx + 1], 0x4b
jne 0x463a4f
cmp byte [eax + ecx + 2], 5
jne 0x463a4f
cmp byte [eax + ecx + 3], 6
je 0x463a55
test eax, eax
jg 0x463a30
jmp 0x463a5d
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x463a69
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x463970
mov eax, dword [ebp - 0x10]
push eax
call fcn.004be8c7
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x464ceb
cmp dword [esi + 4], 0xffffffff
jne 0x464ceb
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x464c95
mov eax, dword [0x561190]
push 0x1c
mov dword [edi], eax
mov dword [ebp - 4], 0
call fcn.004bf242
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
mov word [eax], 0x100
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], 0
mov dword [eax + 0xc], 0
call fcn.00463a80
mov dword [esi], eax
mov eax, dword [0x592764]
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x4653f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4654dc
movzx eax, word [edi]
test ax, ax
je 0x4654dc
push esi
mov esi, edi
mov ecx, edi
cmp ax, 0x2f
je 0x465430
cmp ax, 0x5c
jne 0x465432
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x465424
cmp esi, edi
je 0x46546e
sub esi, edi
sar esi, 1
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004c32a9
lea edx, [ebp - 0x20c]
push edx
xor ecx, ecx
push ebx
mov word [ebp + esi*2 - 0x20c], cx
call fcn.004653f0
add esp, 0x14
lea edx, [ebp - 0x414]
mov eax, ebx
sub edx, ebx
jmp 0x465480
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x465480
mov eax, edi
mov edx, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465493
lea edi, [ebp - 0x414]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4654b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x414]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
Function at 0x465f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [0x592760]
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x465f34
sub eax, edi
jne 0x465f46
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xec], eax
mov eax, ecx
mov dword [esi + 0xe8], 1
mov dword [esi + 0xf0], edx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x465f67
sub eax, edi
push eax
push ecx
lea ecx, [esi + 4]
call fcn.0041c5b0
mov eax, ebx
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x465f80
sub eax, ecx
push eax
push ebx
lea ecx, [esi + 0x3c]
call fcn.0041c5b0
mov edi, dword [ebp + 0x14]
mov eax, edi
lea edx, [eax + 1]
jmp 0x465fa0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x465fa0
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x58]
call fcn.0041c5b0
cmp dword [esi + 0xe8], 0
push esi
je 0x465fd8
push 0
push fcn.00465ff0
call fcn.004c3e12
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x10
call fcn.00465ff0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x10