Function at 0x418b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4823c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 1
mov edi, ecx
push 2
push edi
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 2]
push 2
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
push eax
lea eax, [edi + 4]
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
push eax
lea eax, [edi + 5]
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
push eax
lea eax, [edi + 6]
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
push eax
lea eax, [edi + 7]
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
push eax
lea eax, [edi + 8]
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x10]
push 8
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x18]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x1c]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x20]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x24]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x28]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x2c]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x30]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x34]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x38]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea eax, [edi + 0x3c]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
push esi
push eax
lea ebx, [edi + 0x40]
push 2
push ebx
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
cmp word [ebx], 0
jle 0x418ea5
xor ebx, ebx
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x44]
cmp eax, dword [ecx + 8]
je 0x418d6e
movss xmm0, dword [ebp - 8]
movss dword [eax], xmm0
add eax, 4
mov dword [ecx + 4], eax
jmp 0x418d78
lea edx, [ebp - 8]
push edx
push eax
call fcn.00418700
movzx ecx, word [edi + 0x40]
inc ebx
movsx eax, cx
cmp ebx, eax
jl 0x418d38
mov eax, ecx
mov dword [ebp - 0xc], 0
xor edx, edx
lea ebx, [edi + 0x40]
cmp dx, ax
jge 0x418dea
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
mov eax, dword [edi + 0x54]
lea ecx, [edi + 0x50]
cmp eax, dword [ecx + 8]
je 0x418dcd
movss xmm0, dword [ebp - 8]
movss dword [eax], xmm0
add eax, 4
mov dword [ecx + 4], eax
jmp 0x418dd7
lea edx, [ebp - 8]
push edx
push eax
call fcn.00418700
mov ecx, dword [ebp - 0xc]
movzx edx, word [ebx]
inc ecx
movsx eax, dx
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jl 0x418d97
mov ecx, edx
xor edx, edx
mov dword [ebp - 0xc], 0
movzx eax, cx
cmp dx, cx
jge 0x418e53
nop dword [eax + eax]
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x5c]
cmp eax, dword [ecx + 8]
je 0x418e36
movss xmm0, dword [ebp - 8]
movss dword [eax], xmm0
add eax, 4
mov dword [ecx + 4], eax
jmp 0x418e40
lea edx, [ebp - 8]
push edx
push eax
call fcn.00418700
mov ecx, dword [ebp - 0xc]
movzx edx, word [ebx]
inc ecx
movsx eax, dx
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jl 0x418e00
mov eax, edx
xor ecx, ecx
xor ebx, ebx
cmp cx, ax
jge 0x418ea5
nop dword [eax]
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call fcn.00440bca
add esp, 0x10
cmp eax, 1
jne 0x418eba
mov eax, dword [edi + 0x6c]
lea ecx, [edi + 0x68]
cmp eax, dword [ecx + 8]
je 0x418e92
movss xmm0, dword [ebp - 8]
movss dword [eax], xmm0
add eax, 4
mov dword [ecx + 4], eax
jmp 0x418e9c
lea edx, [ebp - 8]
push edx
push eax
call fcn.00418700
movsx eax, word [edi + 0x40]
inc ebx
cmp ebx, eax
jl 0x418e60
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004334e6
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004334e6
mov esp, ebp
pop ebp
ret 4