Function at 0x417c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
jmp 0x417c6d
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0x22
jne 0x417cb9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 1]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
test edx, edx
jne 0x417c7e
cmp dword [ebp - 0x1c], 0
je 0x417cad
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0x22
je 0x417cb9
xor eax, eax
cmp dword [ebp - 0x1c], 0
sete al
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0x24
ja case.0x417cd6.1
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x417fac]
jmp dword [ecx*4 + 0x417f9c]
cmp dword [ebp - 0x1c], 0
je 0x417ceb
or eax, 0xffffffff
jmp 0x417f95
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx*4], 0
mov eax, dword [ebp - 8]
jmp 0x417f95
cmp dword [ebp - 0x1c], 0
je 0x417d3a
cmp dword [ebp - 0xc], 0
je 0x417d38
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jl 0x417d31
mov eax, dword [ebp - 8]
jmp 0x417f95
mov dword [ebp - 0xc], 0
jmp 0x417d4f
cmp dword [0x459f78], 0
jne 0x417d4f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
jmp 0x417f90
cmp dword [ebp - 0x1c], 0
jne case.0x417cd6.1
mov edx, dword [ebp + 8]
mov byte [edx], 0
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0x10], 0
je 0x417f32
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
call fcn.0043eb9d
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x417d9d
jmp 0x417f90
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [edx]
sub ecx, dword [eax]
cmp ecx, 0xffff
jge 0x417df0
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
add eax, 0xffff
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
call fcn.00434b60
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x417df0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043a397
add esp, 4
jmp 0x417f90
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx*4], ecx
je 0x417e5f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x28]
mov al, byte [edx]
mov byte [ebp - 0x2d], al
add dword [ebp - 0x28], 1
cmp byte [ebp - 0x2d], 0
jne 0x417e1d
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x18]
add edx, dword [eax]
push edx
call fcn.00431790
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov edx, 0xffff
sub edx, ecx
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x18]
add ecx, dword [edx]
add ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00444a33
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x417ea1
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0043a397
add esp, 4
jmp 0x417f90
mov edx, dword [ebp - 0x20]
push edx
call fcn.0043a397
add esp, 4
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
add ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov byte [ecx + eax], 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x18]
add edx, dword [eax]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
lea ecx, [ecx + eax + 1]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov eax, dword [0x459f78]
add eax, 1
mov dword [0x459f78], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00417c40
add esp, 0x18
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [0x459f78]
sub eax, 1
mov dword [0x459f78], eax
mov dword [ebp - 0x10], 0
jmp 0x417f90
cmp dword [ebp - 0xc], 0
je 0x417f90
cmp dword [ebp - 0x1c], 0
je 0x417f67
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0x22
jne 0x417f67
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
cmp ecx, 0x22
je 0x417f67
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jl 0x417f89
mov eax, dword [ebp - 8]
jmp 0x417f95
mov dword [ebp - 0xc], 0
jmp 0x417c64
mov esp, ebp
pop ebp
ret