Function at 0x4079a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
push 0x42c4e4
push dword [ebp + 8]
call fcn.004123aa
add esp, 8
test eax, eax
je 0x407c53
mov esi, eax
push 2
push 0
push eax
call fcn.00412d51
add esp, 0xc
mov ebx, 6
test eax, eax
jne 0x407c74
push esi
call fcn.00413028
add esp, 4
test eax, eax
jle 0x407c74
mov edi, eax
inc eax
push eax
call fcn.0040a27b
add esp, 4
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
push eax
push esi
call fcn.00412d51
add esp, 0xc
test eax, eax
jne 0x407c68
push esi
push edi
push 1
push dword [ebp - 0x1c]
call fcn.00412b33
add esp, 0x10
cmp eax, edi
mov eax, dword [ebp - 0x1c]
jne 0x407c6b
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 0x407a79
cmp ecx, 0xd
je 0x407a79
test ecx, ecx
je 0x407c5a
lea esi, [eax + 1]
mov edi, esi
mov edx, ecx
cmp dl, 0xa
je 0x407a7e
movzx edx, dl
cmp edx, 0xd
je 0x407a7e
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x407a61
xor edi, edi
jmp 0x407a84
inc eax
mov edi, eax
jmp 0x407a43
mov byte [edi - 1], 0
mov cl, byte [eax]
cmp cl, 0x23
je 0x407bef
movzx edx, cl
cmp edx, 0x3b
je 0x407bef
lea edx, [eax + 2]
add eax, 3
movzx ebx, cl
cmp ebx, 0x1f
jg 0x407aae
cmp ebx, 9
je 0x407ab3
jmp 0x407aba
cmp ebx, 0x20
jne 0x407ac4
mov cl, byte [esi]
inc esi
inc edx
inc eax
jmp 0x407a9f
test ebx, ebx
je 0x407bef
jmp 0x407ad8
cmp ebx, 0x5b
jne 0x407ad8
mov ecx, esi
movzx ebx, byte [ecx]
cmp ebx, 0x5d
jne 0x407af4
inc ecx
inc edx
inc eax
jmp 0x407acb
cmp byte [ebp - 0x10], 0
je 0x407bef
lea eax, [esi - 1]
mov dword [ebp - 0x20], eax
cmp cl, 0x3d
jne 0x407b15
mov cl, byte [eax + 1]
inc eax
inc esi
jmp 0x407ae8
test ebx, ebx
jne 0x407b04
mov dword [ebp - 0x10], 0
jmp 0x407bb1
cmp bl, 0x5d
je 0x407b30
mov bl, byte [ecx + 1]
inc ecx
inc edx
inc eax
test bl, bl
jne 0x407b04
jmp 0x407b48
movzx eax, cl
test eax, eax
je 0x407bef
cmp cl, 0x3d
je 0x407b52
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x407b20
xor esi, esi
jmp 0x407b56
mov byte [ecx], 0
movzx ecx, byte [edx]
cmp ecx, 9
je 0x407b40
cmp ecx, 0x20
jne 0x407b44
inc edx
inc eax
jmp 0x407b33
test ecx, ecx
jne 0x407bc1
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x407b9b
push eax
jmp 0x407ba0
mov byte [esi - 1], 0
cmp dword [ebp + 0xc], 0
je 0x407bef
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x407bef
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0x20]
call fcn.00413910
add esp, 8
test eax, eax
je 0x407be7
push ebx
call fcn.00413e20
add esp, 4
add ebx, eax
inc ebx
mov eax, dword [ebp - 0x18]
inc eax
cmp byte [ebx], 0
jne 0x407b71
jmp 0x407bef
push str.Strings
push esi
call fcn.00413910
add esp, 8
test eax, eax
sete al
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
test edi, edi
jne 0x407a43
jmp 0x407c5a
mov esi, dword [ebp - 0x14]
cmp cl, 9
je 0x407bda
movzx ecx, cl
cmp ecx, 0x20
je 0x407bda
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407bc4
jmp 0x407bde
mov byte [eax - 1], 0
mov dword [ebp - 0x10], 0
jmp 0x407bb4
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [ebp + 0x10]
jb 0x407bfc
test edi, edi
mov esi, dword [ebp - 0x14]
invalid
test dword [ecx - 2], ecx
invalid