joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb213
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or dword [edi + 0x30], 2
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x424cea
push 0x24
call fcn.00480dc0
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x424cd2
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::FUNCWINEXEC.0
call fcn.004bccf0
mov eax, dword [0x5252ac]
mov ecx, dword [0x5252b0]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ecx
mov byte [esi + 0x18], bl
mov dword [esi + 0x20], ebx
mov dword [edi + 0xc], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [edi + 0xc], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4261b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb8bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or dword [esi + 0x30], 2
cmp dword [esi + 0xc], 0x51e6e0
jne 0x42620d
push 0x1c
call fcn.00480dc0
add esp, 4
test eax, eax
je 0x426201
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x426203
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42b0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaef8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bccf0
mov eax, dword [0x525210]
mov ecx, dword [0x525214]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x40], edi
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 4
Function at 0x42c9c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaef8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKITEM.0
call fcn.004bccf0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
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 4

Function at 0x42e290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaef8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::RESITEM.0
call fcn.004bccf0
mov ecx, dword [0x525228]
mov edx, dword [0x52522c]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov eax, 0x51e6e0
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov eax, dword [0x525224]
mov dword [esi + 0x18], eax
mov dword [esi + 0x68], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edx
mov byte [esi + 0x64], bl
mov dword [esi + 0x6c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed0ef
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::RESITEM.0
call fcn.004bccf0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [ebp - 4], 5
mov ecx, dword [0x525228]
mov edx, dword [0x52522c]
mov eax, 0x51e6e0
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov eax, dword [0x525224]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x68], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], ebx
mov byte [esi + 0x64], bl
mov ecx, esi
mov dword [esi + 0x6c], ebx
call fcn.0042fd40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42fff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaef8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::OPDOWNLOAD.0
call fcn.004bccf0
mov eax, dword [0x525234]
mov ecx, dword [0x525238]
mov edx, dword [0x52523c]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x18], eax
mov eax, 0x51e6e0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, dword [0x525240]
mov dword [esi + 0x2c], ecx
mov ecx, dword [0x525244]
mov dword [esi + 0x40], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov word [esi + 0x4c], bx
mov dword [esi + 0x64], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x430160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebcb9
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::OPDOWNLOAD.0
call fcn.004bccf0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [ebp - 4], 3
mov eax, dword [0x525234]
mov ecx, dword [0x525238]
mov edx, dword [0x52523c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [0x525244]
mov eax, 0x51e6e0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, dword [0x525240]
mov dword [esi + 0x3c], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov word [esi + 0x4c], bx
mov ecx, esi
mov dword [esi + 0x64], ebx
call fcn.00432330
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x434fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaef8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::OPEXECUTE.0
call fcn.004bccf0
mov eax, dword [0x525268]
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
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 4

Function at 0x435160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebbd3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::OPEXECUTE.0
call fcn.004bccf0
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov eax, dword [0x525268]
mov dword [esi + 0x2c], edi
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov ecx, esi
mov dword [esi + 0x30], edi
call fcn.004360e0
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 8

Function at 0x435350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb213
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x34
call fcn.00480dc0
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x4353dc
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::OPEXECUTE.0
call fcn.004bccf0
mov eax, dword [0x525268]
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43db80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaef8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::FUNCSTARTSERVICE.0
call fcn.004bccf0
mov ecx, dword [0x5252d4]
mov edx, dword [0x5252d8]
mov eax, 0x51e6e0
mov dword [esi + 0x14], ecx
mov ecx, dword [0x5252dc]
mov dword [esi + 0x18], edx
mov edx, dword [0x5252e0]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edx
mov dword [esi + 0x30], edi
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 4

Function at 0x43dc90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebbd3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51d584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::FUNCSTARTSERVICE.0
call fcn.004bccf0
mov byte [ebp - 4], 1
mov ecx, dword [0x5252d4]
mov edx, dword [0x5252d8]
mov dword [esi + 0x14], ecx
mov ecx, dword [0x5252dc]
mov dword [esi + 0x18], edx
mov edx, dword [0x5252e0]
mov eax, 0x51e6e0
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x24], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], edi
mov ecx, esi
mov dword [esi + 0x30], edi
call fcn.0043ec70
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 8
Function at 0x446760
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x446767
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x44683d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x509eb0]
add ecx, 8
sub edx, 8
dec esi
jne 0x446780
pop edi
test edx, edx
je 0x44685a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x509eb0]
inc ecx
dec edx
jne 0x446841
not eax
pop esi
ret

Function at 0x446860
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x509eb0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x509eb0]
mov dword [edx + 8], ecx
ret

Function at 0x4468b0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x509eb0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x509eb0]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x447090
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x4470c6
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 0x4470bc
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x4470d7
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.00484d50
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret
Function at 0x447100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x447133
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 0x44712e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x44715e
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x447145
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.00484d50
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x447173
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 0x44716d
cmp byte [esi + 8], 0
je 0x44716d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x447210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x447257
cmp byte [esi + 1], 0
je 0x44725f
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 0x447272
cmp byte [esi + 1], 0
je 0x447266
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 0x44727a
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x447231
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x44727a
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x44728c
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.00483131
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4472a9
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0xffffffff
cmp edi, eax
jbe 0x4473bd
jmp 0x4472c9
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 0x4472d8
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 0x4472ef
mov ebx, 0x404
cmp byte [esi], 0
je 0x447314
cmp byte [esi + 1], 0
je 0x4473bd
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 0x447317
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x447340
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 0x44733b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x447369
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x447351
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.00484d50
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x4473bd
lea eax, [ebx - 3]
test eax, eax
js 0x4473ab
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x44739f
cmp byte [eax + ecx + 1], 0x4b
jne 0x44739f
cmp byte [eax + ecx + 2], 5
jne 0x44739f
cmp byte [eax + ecx + 3], 6
je 0x4473a5
test eax, eax
jns 0x447380
jmp 0x4473ab
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4473bd
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x4472c0
mov eax, dword [ebp - 0x10]
push eax
call fcn.004830b7
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x4482ff
cmp dword [esi + 4], 0xffffffff
jne 0x4482ff
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448270
sub eax, edx
mov al, byte [eax + esi + 0x13f]
cmp al, 0x5c
je 0x4482a1
cmp al, 0x2f
je 0x4482a1
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x448290
mov ax, word [0x50c364]
mov word [edi], ax
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x4482c5
push edi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4482c5
mov eax, 0x2000000
pop edi
pop ecx
pop ebp
ret 8
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edi
push edx
push ebx
call fcn.00446f80
add esp, 0x10
test eax, eax
jne 0x4482e4
mov eax, dword [ebp + 0xc]
pop edi
pop ecx
pop ebp
ret 8
call fcn.004473e0
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ecx
pop ebp
ret 8
mov eax, 0x1000000
pop edi
pop ecx
pop ebp
ret 8

Function at 0x4489a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x51d584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4489d4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4489d4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x448a8e
push esi
mov esi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x4489eb
cmp al, 0x5c
jne 0x4489ed
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4489e3
cmp esi, ebx
je 0x448a21
sub esi, ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00484d50
lea ecx, [ebp - 0x20c]
push ecx
push edi
mov byte [ebp + esi - 0x20c], 0
call fcn.004489a0
add esp, 0x14
mov byte [ebp - 0x108], 0
test edi, edi
je 0x448a40
lea edx, [ebp - 0x108]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x448a36
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448a44
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x448a54
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x448a8e
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004809b9
mov esp, ebp
pop ebp
ret