Function at 0x4079c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
push 0x42cf60
push dword [ebp + 8]
call fcn.00412815
add esp, 8
test eax, eax
je 0x407c78
mov esi, eax
push 2
push 0
push eax
call fcn.00413162
add esp, 0xc
mov ebx, 6
test eax, eax
jne 0x407c99
push esi
call fcn.0041343f
add esp, 4
test eax, eax
jle 0x407c99
mov edi, eax
inc eax
push eax
call fcn.0040a28b
add esp, 4
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
push eax
push esi
call fcn.00413162
add esp, 0xc
mov ebx, 6
test eax, eax
jne 0x407c8d
push esi
push edi
push 1
push dword [ebp - 0x1c]
call fcn.00412f4f
add esp, 0x10
cmp eax, edi
mov eax, dword [ebp - 0x1c]
jne 0x407c90
mov byte [eax + edi], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov edi, eax
mov dword [ebp - 0x14], esi
mov eax, edi
movzx ecx, byte [edi]
cmp ecx, 0xa
je 0x407a9e
cmp ecx, 0xd
je 0x407a9e
test ecx, ecx
je 0x407c7f
lea esi, [eax + 1]
mov edi, esi
mov edx, ecx
cmp dl, 0xa
je 0x407aa3
movzx edx, dl
cmp edx, 0xd
je 0x407aa3
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x407a86
xor edi, edi
jmp 0x407aa9
inc eax
mov edi, eax
jmp 0x407a68
mov byte [edi - 1], 0
mov cl, byte [eax]
cmp cl, 0x23
je 0x407c14
movzx edx, cl
cmp edx, 0x3b
je 0x407c14
lea edx, [eax + 2]
add eax, 3
movzx ebx, cl
cmp ebx, 0x1f
jg 0x407ad3
cmp ebx, 9
je 0x407ad8
jmp 0x407adf
cmp ebx, 0x20
jne 0x407ae9
mov cl, byte [esi]
inc esi
inc edx
inc eax
jmp 0x407ac4
test ebx, ebx
je 0x407c14
jmp 0x407afd
cmp ebx, 0x5b
jne 0x407afd
mov ecx, esi
movzx ebx, byte [ecx]
cmp ebx, 0x5d
jne 0x407b19
inc ecx
inc edx
inc eax
jmp 0x407af0
cmp byte [ebp - 0x10], 0
je 0x407c14
lea eax, [esi - 1]
mov dword [ebp - 0x20], eax
cmp cl, 0x3d
jne 0x407b3a
mov cl, byte [eax + 1]
inc eax
inc esi
jmp 0x407b0d
test ebx, ebx
jne 0x407b29
mov dword [ebp - 0x10], 0
jmp 0x407bd6
cmp bl, 0x5d
je 0x407b55
mov bl, byte [ecx + 1]
inc ecx
inc edx
inc eax
test bl, bl
jne 0x407b29
jmp 0x407b6d
movzx eax, cl
test eax, eax
je 0x407c14
cmp cl, 0x3d
je 0x407b77
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x407b45
xor esi, esi
jmp 0x407b7b
mov byte [ecx], 0
movzx ecx, byte [edx]
cmp ecx, 9
je 0x407b65
cmp ecx, 0x20
jne 0x407b69
inc edx
inc eax
jmp 0x407b58
test ecx, ecx
jne 0x407be6
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x407bc0
push eax
jmp 0x407bc5
mov byte [esi - 1], 0
cmp dword [ebp + 0xc], 0
je 0x407c14
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x407c14
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0x20]
call fcn.00413d20
add esp, 8
test eax, eax
je 0x407c0c
push ebx
call fcn.004141b0
add esp, 4
add ebx, eax
inc ebx
mov eax, dword [ebp - 0x18]
inc eax
cmp byte [ebx], 0
jne 0x407b96
jmp 0x407c14
push str.Strings
push esi
call fcn.00413d20
add esp, 8
test eax, eax
sete al
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
test edi, edi
jne 0x407a68
jmp 0x407c7f
mov esi, dword [ebp - 0x14]
cmp cl, 9
je 0x407bff
movzx ecx, cl
cmp ecx, 0x20
je 0x407bff
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407be9
jmp 0x407c03
mov byte [eax - 1], 0
mov dword [ebp - 0x10], 0
jmp 0x407bd9
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [ebp + 0x10]
jb 0x407c21
test edi, edi
mov esi, dword [ebp - 0x14]
jne 0x407a68
jmp 0x407c7f
push esi
call fcn.004141b0
add esp, 4
inc eax
mov dword [ebp - 0x20], eax
push eax
call fcn.0040a28b
add esp, 4
mov ebx, eax
push dword [ebp - 0x20]
push 0
push eax
call fcn.0040cc90
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + edx*4]
mov dword [ecx + edx*4], ebx
test eax, eax
je 0x407c69
push eax
call fcn.0040a59c
add esp, 4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [eax + ecx*4]
push esi
push ebx
call fcn.00413db0
add esp, 8
inc dword [ebp - 0x24]
jmp 0x407c14
mov ebx, 6
jmp 0x407ca2
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + 0x10]
setne al
lea ebx, [eax + eax*4]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040a59c
add esp, 4
push esi
call fcn.00412900
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret