Function at 0x1000f300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038607
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1004e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 1
cmp dword [0x1004fe3c], 0
jne 0x1000f3b6
push 0x1004fed4
mov dword [ebp - 0x6c], 0x1004fed4
call fcn.10018734
add esp, 4
test eax, eax
jne 0x1000f6d3
mov byte [ebp - 4], 2
cmp dword [0x1004fe3c], eax
jne 0x1000f3a5
push 0x8a0
call fcn.10019681
add esp, 4
mov dword [ebp - 0x68], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1000c8c0
mov dword [0x1004fe3c], eax
push 0x1004fed4
mov byte [ebp - 4], 1
call fcn.10018745
add esp, 4
push 2
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x10049fd8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10001930
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
call fcn.10022273
mov edi, eax
add esp, 8
mov dword [ebp - 0x6c], edi
test edi, edi
je 0x1000f635
push 2
push 0
push edi
call fcn.10022565
push edi
call fcn.10022bb8
push 0
push 0
push edi
mov dword [ebp - 0x68], eax
call fcn.10022565
add esp, 0x18
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
push dword [ebp - 0x68]
call fcn.10016cf0
push edi
mov byte [ebp - 4], 5
push dword [ebp - 0x68]
mov edi, dword [ebp - 0x34]
push 1
push edi
call fcn.10022dce
mov ecx, dword [ebp - 0x68]
add esp, 0x10
cmp eax, ecx
jne 0x1000f5d6
push ecx
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
push edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.10001930
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x64]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.10001930
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1000f4dc
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f4d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f6ce
push edx
push ecx
call fcn.10019650
add esp, 8
push dword [ebp - 0x6c]
call fcn.1002302e
add esp, 4
test edi, edi
je 0x1000f518
mov ecx, dword [ebp - 0x2c]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x1000f50e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f6ce
push ecx
push edi
call fcn.10019650
add esp, 8
movups xmm0, xmmword [ebp - 0x64]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [esi + 0x10], xmm0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000f571
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f6ce
push edx
push ecx
call fcn.10019650
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1000f5b7
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f5ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f6ce
push edx
push ecx
call fcn.10019650
add esp, 8
mov eax, esi
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.10019642
mov esp, ebp
pop ebp
ret 0x1c
push 0
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x1004592c
mov byte [esi], 0
call fcn.10001930
test edi, edi
je 0x1000f53d
mov ecx, dword [ebp - 0x2c]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x1000f626
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f6ce
push ecx
push edi
call fcn.10019650
add esp, 8
jmp 0x1000f53d
push 0
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x1004592c
mov byte [esi], 0
call fcn.10001930
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000f68a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f6ce
push edx
push ecx
call fcn.10019650
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1000f5b7
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f5ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000f5ad
call fcn.1001dfdf
push eax
call fcn.100183df
int3