Function at 0x417c60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x448c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x4650f0]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4650f0]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
mov esi, dword [esp + 0x858]
mov ebx, ecx
xor ebp, ebp
cmp dword [ebx + 0xc], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
je 0x417cc0
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
push esi
call edx
jmp 0x417fb3
cmp dword [ebx + 0x14], ebp
jne 0x417ccf
mov eax, 0x1f4
jmp 0x417fb3
mov eax, dword [ebx]
mov edx, dword [eax + 0xa4]
call edx
test eax, eax
je 0x417ce7
mov eax, 0x1f5
jmp 0x417fb3
push 0x44d998
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
call fcn.004010e0
lea eax, [esp + 0x34]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x854], ebp
call fcn.00401d00
lea ecx, [esp + 0x30]
mov dword [esp + 0x850], 0xffffffff
call fcn.00411520
mov dword [esp + 0x30], ebp
lea ecx, [ecx]
mov edx, dword [ebx]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x14]
cmp eax, ebp
jne 0x417d4f
mov esi, 0x6a
jmp 0x417d8b
push eax
push 1
lea eax, [esp + 0x48]
push 0x800
push eax
call fcn.004356e9
add esp, 0x10
cmp eax, 1
je 0x417d89
mov ecx, dword [ebx + 0x14]
push ecx
call fcn.0043541e
add esp, 4
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffe0b
add esi, 0x1f5
jmp 0x417d8b
xor esi, esi
mov edx, dword [ebx]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call edx
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x38]
cmp esi, ebp
je 0x417db1
cmp esi, 1
jne 0x417f12
cmp edi, 0x800
jge 0x417dc1
mov dword [esp + 0x30], 1
mov eax, edi
cdq
sub eax, edx
sar eax, 1
test eax, eax
mov dword [esp + 0x14], ebp
jle 0x417ec7
xor ebx, ebx
lea esi, [esp + 0x40]
lea ebp, [esp + 0x42]
mov edi, edi
movzx edx, word [esi]
mov eax, dword [esp + 0x18]
cmp dword [eax + 8], 0
mov dword [esp + 0x1c], edx
je 0x417e08
cmp dx, 0xfefe
ja 0x417e08
rol dx, 8
movzx ecx, dx
mov dword [esp + 0x1c], ecx
mov word [esi], cx
mov edx, ecx
mov ecx, dword [esp + 0x2c]
cmp cx, 0xa
je 0x417ed3
cmp cx, 0xd
je 0x417ee7
cmp dx, 0xfffe
jne 0x417e57
mov dword [eax + 8], 1
mov eax, edi
sub eax, ebx
sub eax, 2
push eax
push ebp
push esi
call fcn.00435ba0
sub dword [esp + 0x20], 1
mov edx, dword [esp + 0x28]
add esp, 0xc
sub edi, 2
sub ebx, 2
sub ebp, 2
sub esi, 2
jmp 0x417e97
cmp dx, 0xfeff
jne 0x417e8e
mov ecx, edi
sub ecx, ebx
sub ecx, 2
push ecx
push ebp
push esi
mov dword [eax + 8], 0
call fcn.00435ba0
sub dword [esp + 0x20], 1
mov edx, dword [esp + 0x28]
add esp, 0xc
sub edi, 2
sub ebx, 2
sub ebp, 2
sub esi, 2
jmp 0x417e97
test dx, dx
je 0x417f19
mov ecx, dword [esp + 0x14]
movzx edx, dx
mov eax, edi
mov dword [esp + 0x2c], edx
cdq
sub eax, edx
add ecx, 1
sar eax, 1
add ebx, 2
add ebp, 2
add esi, 2
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x417de0
mov ebx, dword [esp + 0x18]
xor ebp, ebp
cmp dword [esp + 0x30], ebp
je 0x417d30
jmp 0x417f1d
xor ebp, ebp
cmp dx, 0xd
mov ebx, eax
jne 0x417f08
mov dword [esp + 0x24], 1
jmp 0x417f1d
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor ebp, ebp
cmp dx, 0xa
mov word [esp + eax*2 + 0x3e], 0xa
jne 0x417f08
mov dword [esp + 0x24], 1
jmp 0x417f1d
mov dword [esp + 0x20], 1
jmp 0x417f1d
mov eax, esi
jmp 0x417fb3
xor ebp, ebp
mov ebx, eax
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jle 0x417f5b
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jne 0x417f3d
cmp dword [esp + 0x24], ebp
lea eax, [ecx - 1]
jne 0x417f48
mov eax, ecx
jmp 0x417f48
cmp dword [esp + 0x24], ebp
mov eax, ecx
jne 0x417f48
lea eax, [ecx + 1]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x2c]
mov word [esp + eax*2 + 0x44], bp
call fcn.00417330
mov esi, dword [esp + 0x14]
lea edx, [esi + esi]
cmp edx, edi
jl 0x417f71
cmp dword [esp + 0x20], ebp
je 0x417fb1
add esi, 2
jmp 0x417f7f
cmp dword [esp + 0x20], ebp
je 0x417f7c
add esi, 2
jmp 0x417f7f
add esi, 1
mov ebp, dword [ebx]
mov eax, ebp
mov edx, dword [eax + 0x94]
mov ecx, ebx
call edx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x28], eax
lea edx, [esi + esi]
mov eax, edi
sub eax, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x28]
sbb eax, edx
push eax
mov eax, dword [ebp + 0xa0]
push ecx
mov ecx, ebx
call eax
xor eax, eax
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.00433122
add esp, 0x840
ret 4