Function at 0x458f40
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x20a8
call fcn.0045e080
mov eax, dword [0x4337f4]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
mov esi, ecx
jne 0x45927f
push ebx
push 0x42d8bc
push 0x42d898
push 0x80000002
mov dword [0x4337f4], 1
xor ebp, ebp
call fcn.0044dff0
add esp, 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [0x4337f8], ebx
push eax
mov dword [esp + 0x10], ebx
call fcn.00458e70
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x45927f
push edi
push eax
call fcn.00468146
mov ecx, dword [esp + 0x14]
push 0x42bb28
push ecx
call fcn.0045e580
add esp, 0xc
test eax, eax
jne 0x459106
mov edx, dword [esp + 0x10]
push 0x42bb20
push edx
call fcn.0045e580
add esp, 8
test eax, eax
jne 0x459106
mov eax, dword [esp + 0x10]
push 0x42bb10
push eax
call fcn.0045e580
add esp, 8
test eax, eax
je 0x4591fe
mov edi, dword [fcn.004261e0]
push 0x42d88c
push 0x4337fc
call edi
call fcn.00459370
mov esi, eax
cmp esi, ebx
je 0x4591fe
lea ecx, [esp + 0x6c]
push esi
push ecx
call edi
push esi
call fcn.0045e072
add esp, 4
lea edx, [esp + 0x6c]
push 0x42d880
push edx
call dword [fcn.004261cc]
push 0x180
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.0045fa08
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x4591fe
mov ecx, 0x7d0
xor eax, eax
lea edi, [esp + 0x174]
push 0x1f40
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x178]
push ecx
push esi
stosb byte es:[edi], al
call fcn.0045f7ca
add esp, 0xc
test eax, eax
jle 0x4590fb
lea edx, [esp + 0x174]
push edx
call fcn.00468146
lea eax, [esp + 0x178]
push 0x42d86c
push eax
call fcn.00459290
add esp, 0xc
cmp eax, 1
jne 0x4590fb
lea ecx, [esp + 0x1c]
push 0x50
push ecx
lea edx, [esp + 0x17c]
push 0x42d858
push edx
call fcn.004592f0
add esp, 0x10
test eax, eax
je 0x4590fb
lea eax, [esp + 0x1c]
push 0x50
push eax
push 0x43384c
call dword [fcn.004261dc]
lea ecx, [esp + 0x174]
push 0x42d83c
push ecx
call fcn.00459290
add esp, 8
mov dword [0x43389c], eax
mov ebp, 1
push esi
call fcn.0045f6ea
jmp 0x4591fb
push 0x42d82c
push 0x4337fc
call dword [fcn.004261e0]
lea edx, [esp + 0x18]
push ebx
push edx
push 0x42d820
push 0x42b978
push 0x80000001
mov dword [esp + 0x2c], ebx
call fcn.0044ddb0
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, ebx
je 0x4591fe
lea eax, [esp + 0x14]
push ebx
push eax
push 0x42d814
push 0x42b978
push 0x80000001
mov dword [esp + 0x28], ebx
call fcn.0044dbb0
mov esi, dword [esp + 0x28]
add esp, 0x14
cmp esi, ebx
je 0x4591fe
push esi
call fcn.00468146
push 0x42d80c
push esi
call fcn.0045e580
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4591ae
push 0x42d80c
call dword [fcn.004261d8]
add edi, eax
cmp byte [edi], bl
je 0x4591f1
push 0x3b
push edi
call fcn.0045e990
add esp, 8
cmp eax, ebx
je 0x4591ac
mov byte [eax], bl
mov esi, edi
cmp esi, ebx
je 0x4591f1
push 0x3a
push esi
call fcn.0045e990
add esp, 8
cmp eax, ebx
je 0x4591d4
mov byte [eax], bl
inc eax
push eax
call fcn.0045e13a
add esp, 4
mov dword [0x43389c], eax
jmp 0x4591de
mov dword [0x43389c], 0x50
push 0x50
push esi
push 0x43384c
call dword [fcn.004261dc]
mov ebp, 1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045e072
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.0045e072
add esp, 4
cmp ebp, ebx
pop edi
je 0x45927f
push 1
push 0x42d8bc
push 0x42d898
push 0x80000002
mov dword [0x4337f8], 1
call fcn.0044dff0
push 0x4337fc
push 0x42d804
push 0x42d898
push 0x80000002
call fcn.0044df70
push 0x43384c
push 0x42d7fc
push 0x42d898
push 0x80000002
call fcn.0044df70
mov eax, dword [0x43389c]
push eax
push 0x42d7f4
push 0x42d898
push 0x80000002
call fcn.0044dff0
add esp, 0x40
pop esi
pop ebp
pop ebx
add esp, 0x20a8
ret