Function at 0x4094d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
push 0x42f260
push dword [ebp + 8]
call fcn.004141c6
add esp, 8
test eax, eax
je 0x409542
mov esi, eax
push 2
push 0
push eax
call fcn.00414c37
add esp, 0xc
mov ebx, 6
test eax, eax
jne 0x4097bc
push esi
call fcn.00414f5a
add esp, 4
test eax, eax
jle 0x4097bc
mov edi, eax
inc eax
push eax
call fcn.0040a313
add esp, 4
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
push esi
call fcn.00414c37
add esp, 0xc
test eax, eax
je 0x40954c
mov ecx, dword [ebp - 0x10]
jmp 0x4097b3
mov ebx, 6
jmp 0x4097c5
push esi
push edi
push 1
push dword [ebp - 0x10]
call fcn.00414a26
add esp, 0x10
cmp eax, edi
mov ecx, dword [ebp - 0x10]
jne 0x4097b3
mov byte [ecx + edi], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov ebx, ecx
mov dword [ebp - 0x14], esi
lea edi, [ebx + 1]
lea ecx, [ebx + 2]
lea esi, [ebx + 3]
movzx edx, byte [ebx]
cmp edx, 0xa
je 0x409593
cmp edx, 0xd
jne 0x409599
inc ebx
inc edi
inc ecx
inc esi
jmp 0x409586
mov dword [ebp - 0x20], edi
mov eax, edx
test edx, edx
je 0x40979f
cmp al, 0xa
je 0x4095bd
movzx eax, al
cmp eax, 0xd
je 0x4095bd
mov al, byte [edi]
inc edi
test al, al
jne 0x4095a6
xor ebx, ebx
jmp 0x4095c5
mov byte [edi - 1], 0
mov dl, byte [ebx]
mov ebx, edi
cmp dl, 0x23
mov edi, dword [ebp - 0x20]
je 0x409611
movzx eax, dl
cmp eax, 0x3b
je 0x409611
jmp 0x4095e1
cmp eax, 0x20
jne 0x4095f4
mov dl, byte [edi]
inc edi
inc ecx
inc esi
movzx eax, dl
cmp eax, 0x1f
jg 0x4095d7
cmp eax, 9
je 0x4095dc
test eax, eax
je 0x409611
jmp 0x40960b
cmp eax, 0x5b
jne 0x40960b
mov dword [ebp - 0x18], ebx
mov edx, edi
movzx ebx, byte [edx]
cmp ebx, 0x5d
jne 0x409624
inc edx
inc ecx
inc esi
jmp 0x4095fe
test byte [ebp - 0x1c], 1
jne 0x40964b
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test ebx, ebx
jne 0x40957d
jmp 0x4097a5
test ebx, ebx
jne 0x40963a
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
jmp 0x409617
cmp bl, 0x5d
je 0x40967d
mov bl, byte [edx + 1]
inc edx
inc ecx
inc esi
test bl, bl
jne 0x40963a
jmp 0x409695
lea eax, [edi - 1]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp dl, 0x3d
jne 0x409663
mov dl, byte [eax + 1]
inc eax
inc edi
jmp 0x409657
movzx eax, dl
test eax, eax
je 0x409617
cmp dl, 0x3d
je 0x4096c0
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x40966a
mov dword [ebp - 0x18], ebx
xor edi, edi
jmp 0x4096c7
mov byte [edx], 0
movzx edx, byte [ecx]
cmp edx, 9
je 0x40968d
cmp edx, 0x20
jne 0x409691
inc ecx
inc esi
jmp 0x409680
test edx, edx
jne 0x40970b
mov eax, dword [ebp + 0x18]
test eax, eax
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
je 0x4096a5
push eax
jmp 0x4096aa
push str.Strings
push edi
call fcn.004158d0
add esp, 8
test eax, eax
sete al
mov dword [ebp - 0x1c], eax
jmp 0x409614
mov dword [ebp - 0x18], ebx
mov byte [edi - 1], 0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x409635
cmp byte [ebx], 0
je 0x409635
mov dword [ebp - 0x24], 0
push ebx
push dword [ebp - 0x20]
call fcn.004158d0
add esp, 8
test eax, eax
je 0x40973a
push ebx
call fcn.00415e00
add esp, 4
add ebx, eax
inc ebx
inc dword [ebp - 0x24]
cmp byte [ebx], 0
jne 0x4096e2
jmp 0x409632
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
cmp dl, 9
je 0x409727
movzx eax, dl
cmp eax, 0x20
je 0x409727
mov dl, byte [esi]
inc esi
test dl, dl
jne 0x409711
jmp 0x40972b
mov byte [esi - 1], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x14]
jmp 0x409617
mov ebx, dword [ebp - 0x24]
cmp ebx, dword [ebp + 0x10]
jae 0x409632
mov dword [ebp - 0x20], edi
push edi
call fcn.00415e00
add esp, 4
mov esi, eax
inc esi
push esi
call fcn.0040a313
add esp, 4
mov edi, eax
push esi
push 0
push eax
call fcn.0040cc70
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + ebx*4]
mov dword [ecx + ebx*4], edi
test eax, eax
je 0x40978b
push eax
call fcn.0040a31c
add esp, 4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x24]
mov edi, dword [eax + ecx*4]
push dword [ebp - 0x20]
push edi
call fcn.00415960
add esp, 8
inc dword [ebp - 0x28]
jmp 0x40962f
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp + 0x10]
setne al
lea ebx, [eax + eax*4]
push ecx
call fcn.0040a31c
add esp, 4
push esi
call fcn.004142bb
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret