Function at 0x403bc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
jg 0x429c0f
mov eax, dword [edi]
xor ebx, ebx
mov dword [edi + 4], ebx
mov byte [eax], bl
mov byte [esp + 0xd], bl
cmp dword [esi + 8], ebx
je 0x429c2f
xor ebp, ebp
lea esp, [esp]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 8]
je 0x403ce4
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov cl, byte [eax + edx]
mov byte [esp + ebp + 0xc], cl
inc ebp
inc eax
mov dword [esi + 0xc], eax
cmp ebp, 1
jb 0x403bf0
add dword [esi + 0x10], ebp
adc dword [esi + 0x14], ebx
cmp ebp, ebx
je 0x403d0d
mov bl, byte [esp + 0xc]
cmp bl, 0xd
je 0x403c66
cmp bl, 0xa
je 0x403c84
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
mov byte [esp + 0xd], 1
jg 0x429c4b
mov eax, dword [edi + 4]
add eax, 2
cmp dword [edi + 8], eax
jb 0x403c8d
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov byte [eax + ecx], bl
inc dword [edi + 4]
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov byte [eax + edx], 0
xor ebx, ebx
jmp 0x403be1
lea eax, [esp + 0xc]
push eax
mov ebx, 1
call fcn.00403d30
test eax, eax
je 0x403c84
cmp byte [esp + 0xc], 0xa
jne 0x429d58
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
cmp eax, 0x41c2
jae 0x429c7d
lea edx, [eax + eax]
mov dword [edi + 8], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x429d4e
add eax, 0xf
shr eax, 4
shl eax, 4
push eax
mov dword [edi + 8], eax
call fcn.004114ca
mov ebp, eax
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x403cdd
mov ecx, dword [edi + 4]
inc ecx
push ecx
push eax
push ebp
call fcn.00410d20
mov edx, dword [edi]
push edx
call fcn.0041109f
add esp, 0x10
mov dword [edi], ebp
jmp 0x403c4b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebx
lea edx, [esp + 0x14]
push edx
push 0x10000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x403c13
jmp 0x429c40
cmp byte [esp + 0xd], 0
jne 0x403c84
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
dec dword [eax]
push edi
call fcn.004376ad
push 0x10
mov dword [edi + 8], 0x10
call fcn.004114ca
add esp, 4
mov dword [edi], eax
jmp 0x403bd4
push esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00443f45
jmp 0x403bea
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
jmp 0x403bfc
dec dword [eax]
push edi
call fcn.004376ad
mov edx, dword [edi + 4]
add edx, 2
push edx
call fcn.0044548f
push eax
mov dword [edi + 8], eax
call fcn.004114ca
mov ecx, dword [edi]
mov ebp, eax
mov eax, dword [edi + 4]
inc eax
push eax
push ecx
push ebp
call fcn.00410d20
jmp 0x403cda
cmp eax, 0x2000000
jae 0x429cc6
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x429c96
fadd qword [0x48b508]
fmul qword [0x48b538]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
fldcw word [esp + 0xe]
jmp 0x403c9e
cmp eax, 0x8000000
jae 0x429d0f
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x429cdf
fadd qword [0x48b508]
fmul qword [0x48b548]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [edi + 8], ecx
fldcw word [esp + 0xe]
jmp 0x403c9e
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jge 0x429d21
fadd qword [0x48b508]
fmul qword [0x48b540]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov edx, dword [esp + 0x14]
fldcw word [esp + 0xe]
jmp 0x403c9b
mov eax, 0x10
jmp 0x403cb2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0040de90
jmp 0x403c84