Function at 0x1000eb80
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086fd1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x100c4014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x74], ecx
mov ecx, 0x100c75db
call fcn.10085165
mov eax, dword [ebp - 0x74]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [edi + 4], eax
cmp dword [esi + 0x10], 0
je 0x1000ef1e
mov ecx, esi
call fcn.1003d070
test al, al
je 0x1000ef1e
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 4
call fcn.100826df
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
push 3
push ecx
push 0x80000000
push esi
lea ecx, [ebp - 0x18]
call fcn.10042510
test al, al
je 0x1000eee6
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x20], xmm0
call fcn.10042700
test al, al
je 0x1000eede
cmp dword [ebp - 0x1c], 0
ja 0x1000ec83
jb 0x1000eede
cmp dword [ebp - 0x20], 0x46
jb 0x1000eede
mov esi, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x24], 0
test esi, esi
je 0x1000eede
cmp dword [esi], 0xffffffff
je 0x1000eede
push 0
lea eax, [ebp - 0x24]
push eax
push 0x30
lea eax, [ebp - 0x6c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000eede
cmp dword [ebp - 0x24], 0x30
jne 0x1000eede
mov edx, dword [ebp - 0x20]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
or eax, ecx
je 0x1000eede
cmp dword [ebp - 0x6c], 0x61686864
jne 0x1000eede
cmp dword [ebp - 0x68], 2
ja 0x1000eede
mov eax, dword [ebp - 0x64]
cmp eax, 0x46
jb 0x1000eede
mov dword [ebp - 0x1c], 0
cmp eax, edx
jne 0x1000eede
cmp dword [ebp - 0x1c], ecx
jne 0x1000eede
cmp dword [ebp - 0x60], 0
je 0x1000eede
cmp dword [ebp - 0x5c], 0
je 0x1000eede
cmp dword [ebp - 0x58], 0x16
jne 0x1000eede
mov eax, dword [ebp - 0x54]
or eax, dword [ebp - 0x50]
je 0x1000eede
imul eax, dword [ebp - 0x5c], 0x16
cmp dword [ebp - 0x60], eax
jne 0x1000eede
mov eax, dword [ebp - 0x60]
add eax, 0x30
cmp edx, eax
jne 0x1000eede
test ecx, ecx
jne 0x1000eede
lea ecx, [ebp - 0x3c]
call fcn.100026c0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000ee88
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x28], 0
cmp dword [esi], 0xffffffff
je 0x1000eed9
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x16
lea eax, [ebp - 0x3c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000eed9
cmp dword [ebp - 0x24], 0x16
jne 0x1000eed9
cmp dword [ebp - 0x3c], 0
jne 0x1000ee26
cmp dword [ebp - 0x38], 0
jne 0x1000ee26
cmp dword [ebp - 0x34], 0
jne 0x1000ee26
cmp dword [ebp - 0x30], 0
je 0x1000eed9
mov ax, word [ebp - 0x2c]
test ax, ax
je 0x1000ee45
cmp ax, 1
je 0x1000ee45
cmp ax, 2
je 0x1000ee45
cmp ax, 3
jne 0x1000eed9
cmp dword [ebp - 0x2a], 0
je 0x1000eed9
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x1000ee72
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ecx], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov ax, word [ebp - 0x28]
mov word [ecx + 0x14], ax
add dword [edi + 4], 0x16
jmp 0x1000ee7e
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, edi
call fcn.100075d0
sub dword [ebp - 0x1c], 1
jne 0x1000edc0
cmp dword [ebp - 0x4c], 0
je 0x1000ef02
mov byte [ebp - 4], 3
mov eax, 0x2e8ba2e9
mov esi, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, esi
mov dword [ebp - 0x1c], 0
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x16
push eax
push esi
call fcn.1001f930
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x1c]
je 0x1000eefe
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
mov dword [edi + 4], eax
call fcn.100426c0
mov byte [ebp - 4], 2
jmp 0x1000eee6
mov eax, dword [edi]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x18]
call fcn.100426c0
mov byte [ebp - 0x6d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10042420
mov al, byte [ebp - 0x6d]
jmp 0x1000ef20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x18]
call fcn.100426c0
mov byte [ebp - 0x6d], 1
jmp 0x1000eeea
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100826ce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc