Function at 0x4af470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce600
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ecx]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], 0
mov eax, dword [eax + 0x364]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [edi + 0x14], 0x10
mov edx, edi
mov esi, dword [edi + 0x10]
mov dword [ebp - 4], 0
jb 0x4af4eb
mov edx, dword [edi]
test esi, esi
je 0x4af50f
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x4af50b
cmp ecx, edx
je 0x4af50f
dec ecx
cmp byte [ecx], 0x2e
jne 0x4af501
sub ecx, edx
jmp 0x4af512
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x4af617
inc ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
cmp esi, ecx
jb 0x4afae7
sub esi, ecx
mov edx, 0xffffffff
cmp esi, 0xffffffff
mov eax, edi
cmovb edx, esi
cmp dword [edi + 0x14], 0x10
jb 0x4af550
mov eax, dword [edi]
add eax, ecx
lea ecx, [ebp - 0x40]
push edx
push eax
call fcn.00402b80
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004f86e0
lea ecx, [ebp - 0x28]
add esp, 8
cmp ecx, eax
je 0x4af599
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4af5cd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af5c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afaec
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x4af617
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af60d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afaec
push ecx
push edx
call fcn.0059b718
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov edx, 3
cmovae ecx, dword [ebp - 0x28]
cmp edi, edx
cmova edi, edx
mov edx, 0x5dd5e0
mov esi, edi
sub esi, 4
jb 0x4af651
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4af656
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4af640
cmp esi, 0xfffffffc
je 0x4af68a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4af683
cmp esi, 0xfffffffd
je 0x4af68a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4af683
cmp esi, 0xfffffffe
je 0x4af68a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4af683
cmp esi, 0xffffffff
je 0x4af68a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4af68a
sbb eax, eax
or eax, 1
jmp 0x4af68c
xor eax, eax
test eax, eax
jne 0x4af69c
cmp dword [ebp - 0x18], 3
jb 0x4af69c
jbe 0x4af785
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, edi
mov edx, 0x5dd5e4
cmovae ecx, dword [ebp - 0x28]
sub esi, 4
jb 0x4af6c4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4af6c9
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4af6b3
cmp esi, 0xfffffffc
je 0x4af6fd
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4af6f6
cmp esi, 0xfffffffd
je 0x4af6fd
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4af6f6
cmp esi, 0xfffffffe
je 0x4af6fd
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4af6f6
cmp esi, 0xffffffff
je 0x4af6fd
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4af6fd
sbb eax, eax
or eax, 1
jmp 0x4af6ff
xor eax, eax
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x4af70d
cmp esi, 3
jb 0x4af70d
jbe 0x4af785
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edx, 0x5dd5e8
cmovae ecx, dword [ebp - 0x28]
sub edi, 4
jb 0x4af733
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4af738
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4af722
cmp edi, 0xfffffffc
je 0x4af76c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4af765
cmp edi, 0xfffffffd
je 0x4af76c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4af765
cmp edi, 0xfffffffe
je 0x4af76c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4af765
cmp edi, 0xffffffff
je 0x4af76c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4af76c
sbb eax, eax
or eax, 1
jmp 0x4af76e
xor eax, eax
test eax, eax
jne 0x4af938
cmp esi, 3
jb 0x4af938
ja 0x4af938
mov esi, dword [ebp - 0x7c]
cmp dword [esi + 0x14], 0x10
jb 0x4af790
mov esi, dword [esi]
call fcn.004aebe0
push 0x5d971c
push esi
test eax, eax
je 0x4af7b1
mov eax, dword [0x665950]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, eax
jmp 0x4af7df
call fcn.005a94a9
mov edi, eax
add esp, 8
test edi, edi
je 0x4af8fb
push 0xc
call fcn.0059b742
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], edi
test esi, esi
je 0x4af8fb
call fcn.004aebe0
push 2
push 0
test eax, eax
je 0x4af803
mov eax, dword [0x665950]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4af80e
push dword [esi + 8]
call fcn.005a9a75
add esp, 0xc
call fcn.004aebe0
test eax, eax
je 0x4af828
mov eax, dword [0x665950]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
jmp 0x4af833
push dword [esi + 8]
call fcn.005aa18d
add esp, 4
mov dword [ebp - 0x78], eax
call fcn.004aebe0
push 0
push 0
test eax, eax
je 0x4af852
mov eax, dword [0x665950]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4af85d
push dword [esi + 8]
call fcn.005a9a75
add esp, 0xc
push dword [ebp - 0x78]
call fcn.0059b726
add esp, 4
mov dword [ebp - 0x7c], eax
call fcn.004aebe0
test eax, eax
je 0x4af88b
mov eax, dword [0x665950]
push esi
push dword [ebp - 0x78]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x4af89e
push dword [esi + 8]
push dword [ebp - 0x78]
push 1
push dword [ebp - 0x7c]
call fcn.005a96a6
add esp, 0x10
call fcn.004aebe0
test eax, eax
je 0x4af8b6
mov eax, dword [0x665950]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4af8c9
push dword [esi + 8]
call fcn.005a93b7
push 0xc
push esi
call fcn.0059b718
add esp, 0xc
mov eax, dword [0x668b24]
mov esi, dword [ebp - 0x7c]
push 0
push dword [ebp - 0x78]
mov eax, dword [eax + 0x94]
push 0
push esi
push 1
call eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov dword [ecx*4 + 0x665908], esi
test eax, eax
jne 0x4af9dc
mov byte [ebp - 0x71], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4afac7
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4afabd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afaf1
jmp 0x4afabd
mov esi, dword [ebp - 0x7c]
cmp dword [esi + 0x14], 0x10
jb 0x4af943
mov esi, dword [esi]
push 0x5d971c
push esi
call fcn.004afb40
mov edi, eax
add esp, 8
test edi, edi
je 0x4af8fb
push 2
push 0
push edi
call fcn.004afbf0
push edi
call fcn.004afc30
push 0
push 0
push edi
mov esi, eax
call fcn.004afbf0
push esi
call fcn.0059b726
push edi
push esi
mov esi, eax
mov dword [ebp - 0x7c], eax
push 1
push esi
call fcn.004afba0
push edi
call fcn.004afb00
mov eax, dword [0x668b24]
add esp, 0x34
mov ecx, dword [ebp - 0x80]
cmp byte [eax + 8], 0
je 0x4af9b5
mov eax, dword [eax + 0x8c]
push 0
push dword [ecx + 0x10]
push 0
push 0
push esi
push 1
call eax
jmp 0x4af9c7
push dword [ecx + 0x10]
mov eax, dword [eax + 0x88]
push 0
push 0
push esi
push 1
call eax
push esi
mov edi, eax
call fcn.0059b72f
add esp, 4
test edi, edi
je 0x4af8fb
jmp 0x4af9de
xor edi, edi
lea ecx, [ebp - 0xb4]
call fcn.0055e500
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xb4], edi
movups xmm0, xmmword [ebp - 0xb4]
mov edi, dword [ebp - 0x80]
push eax
movups xmmword [ebp - 0x68], xmm0
lea eax, [ebp - 0x8c]
add edi, 4
movups xmm0, xmmword [ebp - 0xa4]
push eax
mov ecx, edi
mov dword [ebp - 0x70], esi
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x94]
movq qword [ebp - 0x48], xmm0
call fcn.004ae8a0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x34], xmm0
cmp byte [eax + 0xd], 0
jne 0x4afa53
cmp esi, dword [eax + 0x10]
jge 0x4afab4
cmp dword [edi + 4], 0x3ffffff
je 0x4afaf6
mov esi, dword [edi]
mov dword [ebp - 0x88], edi
push 0x40
mov byte [ebp - 4], 2
mov dword [ebp - 0x84], 0
call fcn.0059b742
movups xmm0, xmmword [ebp - 0x70]
add esp, 4
mov ecx, edi
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x60]
push eax
push dword [ebp - 0x30]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x50]
push dword [ebp - 0x34]
movups xmmword [eax + 0x30], xmm0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.00407920
mov byte [ebp - 0x71], 1
jmp 0x4af8ff
push ecx
push edx
call fcn.0059b718
add esp, 8
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret 8
call fcn.00404b30
call fcn.005a17d1
call fcn.005a17d1
call fcn.00407b10
int3