Function at 0x45c5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4af9fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor edx, edx
push esi
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x420], 0x400
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], edx
jmp 0x45c610
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x438], ecx
je 0x45c67a
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x48]
mov esi, eax
cmp edx, dword [ecx + 0x44]
jb 0x45c632
call fcn.00436b00
mov eax, dword [ebp - 0x438]
mov edi, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.004466d0
mov dword [edi], eax
mov dword [edi + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.00423d20
add esp, 4
push ebx
call fcn.0047487b
mov edi, dword [ebp + 0x10]
add esp, 4
cmp edx, edi
jg 0x45c7ee
jl 0x45c699
cmp eax, dword [ebp + 0xc]
ja 0x45c7ee
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov eax, edi
sbb eax, edx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x41c], eax
jl 0x45c6cc
jg 0x45c6c0
cmp dword [ebp - 0x420], ecx
jbe 0x45c6cc
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x420]
push ebx
push ecx
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.00472b3b
push ebx
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
call fcn.0047487b
mov esi, edx
add esp, 0x14
mov dword [ebp - 0x440], eax
cmp esi, edi
jg 0x45c769
jl 0x45c710
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jae 0x45c76c
mov ecx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x428]
add ecx, eax
cmp dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], ecx
jl 0x45c7f4
jg 0x45c740
cmp dword [ebp - 0x430], 0
jbe 0x45c7f4
cmp eax, dword [ebp - 0x420]
jne 0x45c7f4
mov eax, dword [ebp - 0x41c]
cmp dword [ebp - 0x424], eax
jne 0x45c7f4
mov eax, dword [ebp - 0x410]
jmp 0x45c610
mov ecx, dword [ebp + 0xc]
cmp esi, edi
jl 0x45c7da
jg 0x45c776
cmp eax, ecx
jbe 0x45c7da
sub eax, ecx
mov ecx, esi
sbb ecx, edi
neg eax
adc ecx, 0
mov edi, ecx
push 1
neg edi
push edi
push eax
push ebx
mov dword [ebp - 0x420], eax
call fcn.00474c74
add esp, 0x10
push ebx
call fcn.00474cf3
or eax, 0xffffffff
add esp, 4
add dword [ebp - 0x428], eax
push ebx
adc dword [ebp - 0x424], eax
call fcn.0047487b
add esp, 4
cmp edx, esi
jl 0x45c798
jg 0x45c7c7
cmp eax, dword [ebp - 0x440]
jb 0x45c798
mov ecx, dword [ebp - 0x420]
push 1
push edi
push ecx
push ebx
call fcn.00474c74
add esp, 0x10
mov ecx, dword [ebp - 0x418]
add ecx, dword [ebp - 0x428]
mov dword [ebp - 0x418], ecx
jmp 0x45c7f4
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov ebx, ecx
je 0x45c84b
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x48]
mov esi, eax
cmp edx, dword [ecx + 0x44]
jb 0x45c818
call fcn.00436b00
mov edi, dword [esi + 8]
push ebx
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.004466d0
mov dword [edi], eax
mov dword [edi + 8], 4
add dword [esi + 8], 0x10
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.00420960
mov eax, dword [ebp - 0x430]
or eax, dword [ebp - 0x42c]
mov dword [ebp - 0x414], 1
je 0x45c8d2
mov edi, dword [ebp - 0x434]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x45c88b.6
jmp dword [eax*4 + 0x45c8e8]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x45c8bb
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x45c8bb
mov eax, dword [esi]
call fcn.00434fe0
jmp 0x45c8bb
call fcn.00436d30
test eax, eax
je 0x45c8b9
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x45c8bb
xor eax, eax
test eax, eax
jne 0x45c8d2
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d4f1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046d4f1
mov esp, ebp
pop ebp
ret