Function at 0x434140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x434160
jl 0x434157
cmp dword [ebp + 0xc], 0
ja 0x434160
xor eax, eax
xor edx, edx
jmp 0x434338
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x434182
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00434340
jmp 0x434338
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 0
je 0x4341ac
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
jmp 0x4341b3
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x434288
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0xc]
jae 0x4341dd
lea edx, [ebp - 0x18]
mov dword [ebp - 0x24], edx
jmp 0x4341e3
lea eax, [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 1], 0
movzx edx, byte [ebp - 1]
test edx, edx
je 0x43423c
mov dword [ebp - 0x14], 0
jmp 0x434220
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
je 0x43423a
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x434217
jmp 0x434250
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004530c0
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], edx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0
je 0x434329
mov ecx, dword [ebp - 8]
call fcn.0042c480
mov dword [ebp - 0x3c], 0xfff
cmp dword [ebp - 0xc], 0xfff
jbe 0x4342f8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
push 0xfff
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00457b28
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x1c], 0xfff
je 0x4342f6
xor edx, edx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x40]
sbb ecx, edx
mov edx, ecx
jmp 0x434338
jmp 0x4342a4
cmp dword [ebp - 0xc], 0
jbe 0x434329
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00457b28
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
mov dword [ebp - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x40]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc