Function at 0x100616b0
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 0x101ee63a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x3c], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
xor edi, edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], edi
test eax, eax
jne 0x10061720
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], 1
jmp 0x100618a1
xor ecx, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 1
push eax
push 1
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x1006185d
movzx eax, word [ebp - 0x30]
inc eax
cmp byte [ebx + 8], 0
je 0x100617dc
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101c8844
movzx ecx, word [ebp - 0x30]
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], eax
push dword [ebp - 0x3c]
mov word [eax + ecx*2], dx
movzx ecx, word [ebp - 0x30]
push ecx
push 2
push eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
call eax
movzx ecx, word [ebp - 0x30]
add esp, 0x10
cmp eax, ecx
jne 0x1006184d
mov edx, dword [ebp - 0x34]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100617c0
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10005390
jmp 0x1006184d
push eax
call fcn.101c8844
movzx ecx, word [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x34], eax
push dword [ebp - 0x3c]
mov byte [ecx + eax], 0
movzx ecx, word [ebp - 0x30]
push ecx
push 1
push eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
call eax
movzx ecx, word [ebp - 0x30]
add esp, 0x10
cmp eax, ecx
jne 0x1006184d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x34]
push 0
push 0xffffffffffffffff
call fcn.100e27b0
add esp, 8
mov dword [ebp - 0x38], 2
lea ecx, [ebp - 0x2c]
push eax
call fcn.10008620
mov edi, 2
mov dword [ebp - 0x38], edi
and edi, 0xfffffffd
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10005300
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1006185d
push eax
call fcn.101c880e
add esp, 4
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
or edi, 1
movups xmmword [esi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2c]
call fcn.10005300
mov eax, esi
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.101c837b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret