Function at 0x4db750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4480
call fcn.0041ba00
mov eax, dword [0x58005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x4480], ecx
mov eax, dword [ebp - 0x4480]
mov ecx, dword [ebp - 0x4480]
mov edx, dword [eax + 0x14]
imul edx, dword [ecx + 0x18]
mov dword [ebp - 0x4460], edx
mov eax, dword [ebp - 0x4460]
push eax
mov ecx, dword [ebp - 0x4480]
call fcn.004d98d0
mov ecx, dword [ebp - 0x4480]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x4480]
cmp dword [edx + 0x40], 0
jne 0x4db7b4
xor eax, eax
jmp 0x4dbb4d
mov eax, dword [ebp + 8]
push eax
push 1
push 0xe
lea ecx, [ebp - 0x402c]
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 0x4480]
mov eax, dword [edx + 0x70]
sub eax, 0xe
mov ecx, dword [ebp - 0x4480]
mov dword [ecx + 0x70], eax
mov edx, dword [ebp + 8]
push edx
push 1
push 0x28
lea eax, [ebp - 0x445c]
push eax
call fcn.0041da81
add esp, 0x10
mov ecx, dword [ebp - 0x4480]
mov edx, dword [ecx + 0x70]
sub edx, 0x28
mov eax, dword [ebp - 0x4480]
mov dword [eax + 0x70], edx
mov ecx, dword [ebp - 0x443c]
mov dword [ebp - 0x200c], ecx
cmp dword [ebp - 0x200c], 0
jne 0x4db82b
mov dword [ebp - 0x200c], 0x100
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x200c]
push eax
push 4
lea ecx, [ebp - 0x4430]
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 0x200c]
shl edx, 2
mov eax, dword [ebp - 0x4480]
mov ecx, dword [eax + 0x70]
sub ecx, edx
mov edx, dword [ebp - 0x4480]
mov dword [edx + 0x70], ecx
mov eax, dword [ebp - 0x4480]
mov ecx, dword [eax + 0x14]
add ecx, 3
and ecx, 0xfffffffc
mov dword [ebp - 0x401c], ecx
mov dword [ebp - 0x4434], 0
mov edx, dword [ebp - 0x4480]
cmp dword [edx + 0x6c], 0
jne 0x4db8b1
mov eax, dword [ebp + 8]
push eax
push 0x300000
push 1
mov ecx, dword [0x5a6ef8]
push ecx
call fcn.0041da81
add esp, 0x10
mov dword [ebp - 0x4434], eax
jmp 0x4db8d6
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x4480]
mov ecx, dword [eax + 0x70]
push ecx
push 1
mov edx, dword [0x5a6ef8]
push edx
call fcn.0041da81
add esp, 0x10
mov dword [ebp - 0x4434], eax
mov dword [ebp - 0x4018], 0
mov dword [ebp - 0x4014], 0
jmp 0x4db8fb
mov eax, dword [ebp - 0x4014]
add eax, 1
mov dword [ebp - 0x4014], eax
mov ecx, dword [ebp - 0x4480]
mov edx, dword [ebp - 0x4014]
cmp edx, dword [ecx + 0x14]
jge 0x4db91c
mov eax, dword [ebp - 0x4014]
mov byte [ebp + eax - 0x2008], 0
jmp 0x4db8ec
mov dword [ebp - 0x4464], 0
jmp 0x4db937
mov ecx, dword [ebp - 0x4464]
add ecx, 1
mov dword [ebp - 0x4464], ecx
mov edx, dword [ebp - 0x4480]
mov eax, dword [ebp - 0x4464]
cmp eax, dword [edx + 0x18]
jge 0x4dbb2f
mov dword [ebp - 0x4468], 0
mov ecx, dword [ebp - 0x4480]
mov edx, dword [ebp - 0x4468]
cmp edx, dword [ecx + 0x14]
jge 0x4dba33
mov eax, dword [0x5a6ef8]
add eax, dword [ebp - 0x4018]
mov cl, byte [eax]
mov byte [ebp - 0x4469], cl
mov edx, dword [ebp - 0x4018]
add edx, 1
mov dword [ebp - 0x4018], edx
movsx eax, byte [ebp - 0x4469]
test eax, eax
je 0x4db9bc
mov ecx, dword [ebp - 0x4468]
mov dl, byte [ebp - 0x4469]
mov byte [ebp + ecx - 0x4010], dl
mov eax, dword [ebp - 0x4468]
add eax, 1
mov dword [ebp - 0x4468], eax
jmp 0x4dba2e
mov ecx, dword [0x5a6ef8]
add ecx, dword [ebp - 0x4018]
movsx edx, byte [ecx]
and edx, 0xff
mov dword [ebp - 0x4470], edx
mov eax, dword [ebp - 0x4018]
add eax, 1
mov dword [ebp - 0x4018], eax
mov dword [ebp - 0x4474], 0
jmp 0x4dba01
mov ecx, dword [ebp - 0x4474]
add ecx, 1
mov dword [ebp - 0x4474], ecx
mov edx, dword [ebp - 0x4474]
cmp edx, dword [ebp - 0x4470]
jge 0x4dba2e
mov eax, dword [ebp - 0x4468]
mov byte [ebp + eax - 0x4010], 0
mov ecx, dword [ebp - 0x4468]
add ecx, 1
mov dword [ebp - 0x4468], ecx
jmp 0x4db9f2
jmp 0x4db956
mov dword [ebp - 0x4014], 0
jmp 0x4dba4e
mov edx, dword [ebp - 0x4014]
add edx, 1
mov dword [ebp - 0x4014], edx
mov eax, dword [ebp - 0x4480]
mov ecx, dword [ebp - 0x4014]
cmp ecx, dword [eax + 0x14]
jge 0x4dbaa6
mov edx, dword [ebp - 0x4014]
movsx eax, byte [ebp + edx - 0x2008]
mov ecx, dword [ebp - 0x4014]
movsx edx, byte [ebp + ecx - 0x4010]
xor edx, eax
mov eax, dword [ebp - 0x4014]
mov byte [ebp + eax - 0x4010], dl
mov ecx, dword [ebp - 0x4014]
mov edx, dword [ebp - 0x4014]
mov al, byte [ebp + edx - 0x4010]
mov byte [ebp + ecx - 0x2008], al
jmp 0x4dba3f
mov dword [ebp - 0x4014], 0
jmp 0x4dbac1
mov ecx, dword [ebp - 0x4014]
add ecx, 1
mov dword [ebp - 0x4014], ecx
mov edx, dword [ebp - 0x4480]
mov eax, dword [ebp - 0x4014]
cmp eax, dword [edx + 0x14]
jge 0x4dbb2a
mov ecx, dword [ebp - 0x4014]
movsx edx, byte [ebp + ecx - 0x4010]
and edx, 0xff
mov dword [ebp - 0x447c], edx
mov eax, dword [ebp - 0x447c]
movzx ecx, byte [ebp + eax*4 - 0x442e]
mov dword [ebp - 0x4478], ecx
mov edx, dword [ebp - 0x4480]
mov eax, dword [edx + 0x28]
add eax, dword [ebp - 0x4014]
mov ecx, dword [ebp - 0x4480]
mov edx, dword [ebp - 0x4464]
imul edx, dword [ecx + 0x14]
mov cl, byte [ebp - 0x4478]
mov byte [eax + edx], cl
jmp 0x4dbab2
jmp 0x4db928
mov edx, dword [ebp + 8]
push edx
call fcn.0041329a
add esp, 4
push 1
mov ecx, dword [ebp - 0x4480]
call fcn.004d8480
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004130a1
mov esp, ebp
pop ebp
ret 4