Function at 0x40a4b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
push 0x42deec
push dword [ebp + 8]
call fcn.00415304
add esp, 8
test eax, eax
je 0x40a730
mov esi, eax
push 2
push 0
push eax
call fcn.00415c51
add esp, 0xc
mov ebx, 6
test eax, eax
jne 0x40a742
push esi
call fcn.00415f2e
add esp, 4
test eax, eax
jle 0x40a742
mov edi, eax
inc eax
push eax
call fcn.0040d9ae
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 0
push esi
call fcn.00415c51
add esp, 0xc
test eax, eax
jne 0x40a737
push esi
push edi
push 1
push dword [ebp - 0x10]
call fcn.00415a3e
add esp, 0x10
cmp eax, edi
jne 0x40a737
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov esi, ecx
mov byte [ecx + edi], 0
lea edi, [esi + 1]
lea ecx, [esi + 2]
lea eax, [esi + 3]
mov ebx, esi
jmp 0x40a564
inc ebx
inc edi
inc ecx
inc eax
movzx edx, byte [ebx]
cmp dl, 0xa
je 0x40a560
cmp dl, 0xd
je 0x40a560
test dl, dl
mov esi, edi
mov dh, dl
je 0x40a755
nop dword [eax]
cmp dh, 0xd
je 0x40a59d
cmp dh, 0xa
je 0x40a59d
mov dh, byte [esi]
inc esi
test dh, dh
jne 0x40a580
xor esi, esi
cmp dl, 0x23
jne 0x40a5ac
jmp 0x40a6a1
mov byte [esi - 1], 0
mov dl, byte [ebx]
cmp dl, 0x23
je 0x40a6a1
cmp dl, 0x3b
je 0x40a6a1
jmp 0x40a5c2
cmp dl, 0x20
jne 0x40a5d6
movzx edx, byte [edi]
inc edi
inc ecx
inc eax
cmp dl, 0x1f
jg 0x40a5b7
cmp dl, 9
je 0x40a5bc
test dl, dl
je 0x40a6a1
jmp 0x40a5ea
cmp dl, 0x5b
jne 0x40a5ea
mov edx, edi
movzx ebx, byte [edx]
cmp bl, 0x5d
jne 0x40a632
inc edx
inc ecx
inc eax
jmp 0x40a5dd
test byte [ebp - 0x14], 1
je 0x40a6a1
mov ebx, dword [ebp + 0xc]
lea eax, [edi - 1]
mov dword [ebp - 0x24], eax
cmp dl, 0x3d
jne 0x40a60d
movzx edx, byte [eax + 1]
inc eax
inc edi
cmp dl, 0x3d
je 0x40a602
test dl, dl
je 0x40a6a1
cmp dl, 0x3d
je 0x40a6b1
movzx edx, byte [edi]
inc edi
test dl, dl
jne 0x40a615
xor edi, edi
test ebx, ebx
jne 0x40a6b9
jmp 0x40a6a1
test bl, bl
jne 0x40a63f
mov dword [ebp - 0x14], 0
jmp 0x40a6a1
cmp bl, 0x5d
je 0x40a651
movzx ebx, byte [edx + 1]
inc edx
inc ecx
inc eax
test bl, bl
jne 0x40a63f
jmp 0x40a669
mov byte [edx], 0
jmp 0x40a658
inc ecx
inc eax
movzx edx, byte [ecx]
cmp dl, 9
je 0x40a656
cmp dl, 0x20
je 0x40a656
test dl, dl
jne 0x40a673
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x40a68b
push eax
jmp 0x40a690
cmp dl, 0x20
je 0x40a6fe
cmp dl, 9
je 0x40a6fe
movzx edx, byte [eax]
inc eax
test dl, dl
jne 0x40a673
jmp 0x40a636
push str.Strings
push edi
call fcn.00416810
add esp, 8
test eax, eax
sete al
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
test esi, esi
jne 0x40a553
jmp 0x40a758
mov byte [edi - 1], 0
test ebx, ebx
je 0x40a6a1
cmp byte [ebx], 0
je 0x40a6a1
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
push ebx
push dword [ebp - 0x24]
call fcn.00416810
add esp, 8
test eax, eax
je 0x40a707
push ebx
call fcn.004168a0
add esp, 4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc edx
add ecx, 0x258
cmp byte [eax + ebx + 1], 0
lea ebx, [eax + ebx + 1]
jne 0x40a6c5
jmp 0x40a6a1
mov byte [eax - 1], 0
jmp 0x40a636
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0x10]
jae 0x40a6a1
inc dword [ebp - 0x20]
push 0x257
push edi
mov edi, dword [ebp - 0x18]
push edi
call fcn.00416930
add esp, 0xc
mov byte [edi + 0x257], 0
jmp 0x40a6a1
mov ebx, 6
jmp 0x40a74b
push dword [ebp - 0x10]
call fcn.0040d9b7
add esp, 4
push esi
call fcn.004153ef
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
xor eax, eax
cmp edx, dword [ebp + 0x10]
setne al
lea ebx, [eax + eax*4]
push ecx
call fcn.0040d9b7
add esp, 4
mov esi, dword [ebp - 0x28]
jmp 0x40a742