Function at 0x10011060
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x100388b8]
push esi
cmp byte [ebx + 0xbf], 0
je 0x10011084
test byte [ebx + 0xc], 2
jne 0x10011084
mov byte [ebx + 0xbf], 0
cmp byte [ebx + 0x2c28], 0
push edi
jne 0x10011165
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1001115e
push 0x100306b0
push eax
call fcn.1000caf0
mov esi, eax
add esp, 8
test esi, esi
je 0x1001115e
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10011154
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
je 0x10011154
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10011154
push edi
call fcn.1000e390
add esp, 4
mov edi, eax
push esi
test edi, edi
je 0x10011155
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x10011140
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x100388b8]
test eax, eax
je 0x1001112e
dec dword [eax + 0x394]
push dword [0x100388c0]
push edi
call dword [0x1003800c]
add esp, 8
jmp 0x1001115e
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push edi
call fcn.1000e000
add esp, 0xc
jmp 0x1001111f
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebx + 0x2c28], 1
movss xmm0, dword [ebx + 0x2c2c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100111ad
subss xmm0, dword [ebx + 0x18]
comiss xmm1, xmm0
movss dword [ebx + 0x2c2c], xmm0
jb 0x100111ad
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1001119c
push eax
call fcn.10012da0
add esp, 4
xorps xmm1, xmm1
jmp 0x100111a3
mov byte [ebx + 0x37c], 1
mov dword [ebx + 0x2c2c], 0
movss xmm0, dword [ebx + 0x18]
mov eax, dword [ebx + 0x94]
inc dword [ebx + 0x1950]
cvtps2pd xmm0, xmm0
mov byte [ebx + 1], 1
mov dword [ebx + 0x2c08], 0
mov dword [ebx + 0x1998], 0
addsd xmm0, qword [ebx + 0x1948]
movsd qword [ebx + 0x1948], xmm0
mov byte [eax], 1
mov edx, dword [0x100388b8]
mov esi, dword [edx + 0xa0]
test esi, esi
jne 0x10011207
mov eax, dword [edx + 0x94]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [edx + 0x98]
mov ecx, dword [edx + 0x199c]
mov dword [edx + 0x18b8], esi
mulss xmm0, dword [esi]
mulss xmm0, dword [esi + 4]
movss dword [edx + 0x18c0], xmm0
test ecx, ecx
je 0x10011245
mov eax, dword [0x100388b8]
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [ecx + 0x268]
movss dword [edx + 0x18bc], xmm1
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [edx + 0x18c4], ecx
lea ecx, [ebx + 0x1be4]
mov dword [edx + 0x18c8], eax
mov dword [edx + 0x18cc], esi
movss dword [edx + 0x18d0], xmm1
movss xmm0, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
mov dword [ebx + 0x18d8], 0
mov dword [ebx + 0x18dc], 0
movss dword [ebx + 0x18e0], xmm0
movss dword [ebx + 0x18e4], xmm1
mov eax, dword [ebx + 0x15b4]
mov dword [ebx + 0x18d4], eax
call fcn.10018350
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x1be4]
push dword [eax + 8]
call fcn.1001a840
lea ecx, [ebx + 0x1be4]
call fcn.1001a770
xor ecx, ecx
mov byte [ebx + 0x1ba4], 0
cmp byte [ebx + 0x15b1], cl
mov eax, 2
mov dword [ebx + 0x1ba8], 0
cmovne ecx, eax
mov dword [ebx + 0x1bb0], 0
xor eax, eax
mov dword [ebx + 0x1bb4], 0
cmp byte [ebx + 0x15b0], al
mov dword [ebx + 0x1bac], 0
setne al
or ecx, eax
mov dword [ebx + 0x1c08], ecx
mov dword [ebx + 0x1bc0], 0
mov dword [ebx + 0x1bc4], 0
mov dword [ebx + 0x1bb8], 0
mov dword [ebx + 0x1bbc], 0
cmp byte [ebx + 0x1c5c], 0
je 0x10011388
mov eax, dword [ebx + 0x1c74]
cmp eax, dword [ebx + 0x19bc]
jne 0x10011388
mov ecx, dword [0x100388b8]
cmp dword [ecx + 0x19bc], eax
jne 0x10011379
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x10011388
mov byte [ecx + 0x19cf], 1
cmp dword [ebx + 0x19b0], 0
jne 0x1001139d
mov dword [ebx + 0x19b4], 0
jmp 0x100113af
mov eax, dword [ebx + 0x19a8]
test eax, eax
je 0x100113b9
cmp dword [ebx + 0x19bc], eax
jne 0x100113b9
mov dword [ebx + 0x19b8], 0
mov eax, dword [ebx + 0x19a8]
test eax, eax
je 0x100113f3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x19b4]
movss dword [ebx + 0x19b4], xmm0
cmp dword [ebx + 0x19bc], eax
je 0x100113f3
addss xmm1, dword [ebx + 0x19b8]
movss dword [ebx + 0x19b8], xmm1
mov dword [ebx + 0x19b0], eax
mov eax, dword [ebx + 0x19bc]
mov dword [ebx + 0x19a8], 0
mov byte [ebx + 0x19ac], 0
cmp dword [ebx + 0x19c4], eax
je 0x10011429
cmp dword [ebx + 0x19c0], eax
jne 0x10011429
test eax, eax
je 0x10011429
call fcn.10009d90
mov ecx, dword [ebx + 0x19bc]
test ecx, ecx
je 0x10011448
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x19c8]
movss dword [ebx + 0x19c8], xmm0
mov eax, dword [ebx + 0x19e0]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x19f0]
mov dword [ebx + 0x19e4], eax
mov al, byte [ebx + 0x19ce]
mov byte [ebx + 0x19d0], al
mov eax, dword [ebx + 0x2bdc]
movss dword [ebx + 0x19f0], xmm0
mov dword [ebx + 0x19c0], ecx
mov dword [ebx + 0x19c4], 0
mov byte [ebx + 0x19cf], 0
mov byte [ebx + 0x19cc], 0
test eax, eax
je 0x100114ab
cmp ecx, eax
je 0x100114ab
mov dword [ebx + 0x2bdc], 0
mov eax, dword [ebx + 0x1cc0]
lea edi, [ebx + 0xc70]
movss xmm2, dword [0x100307c8]
mov ecx, 0x200
mov dword [ebx + 0x1cc4], eax
lea eax, [ebx + 0x470]
mov esi, eax
mov dword [ebx + 0x1cc0], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1cbc], 0x7f7fffff
xor ecx, ecx
mov byte [ebx + 0x1c5d], 0
cmp byte [ebx + ecx + 0x100], 0
je 0x10011513
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1001150c
xorps xmm0, xmm0
jmp 0x10011516
addss xmm0, dword [ebx + 0x18]
jmp 0x10011516
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x100114f1
call fcn.1000eee0
call fcn.10014c00
mov eax, dword [ebx + 0x2e50]
mov ecx, 0x78
movss xmm1, dword [ebx + 0x18]
xorps xmm2, xmm2
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x2c70]
addss xmm0, dword [ebx + 0x2e54]
movss dword [ebx + 0x2e54], xmm0
movss dword [ebx + eax*4 + 0x2c70], xmm1
mov eax, dword [ebx + 0x2e50]
inc eax
movss xmm0, dword [ebx + 0x2e54]
cdq
idiv ecx
comiss xmm0, xmm2
mov dword [ebx + 0x2e50], edx
jbe 0x1001159b
divss xmm0, dword [0x100307a4]
movss xmm1, dword [0x10030770]
divss xmm1, xmm0
jmp 0x100115a3
movss xmm1, dword [0x100307bc]
movss dword [ebx + 0x380], xmm1
mov esi, dword [0x100388b8]
mov edx, dword [esi + 0x19fc]
test edx, edx
je 0x100116b7
mov eax, dword [esi + 0x19bc]
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x100115da
mov byte [esi + 0x19cf], 1
cmp byte [esi + 0xec], 0
mov edx, dword [edx + 0x2ec]
je 0x100116a6
mov ecx, dword [0x100388b8]
lea eax, [esi + 0xe4]
test eax, eax
jne 0x10011603
lea eax, [ecx + 0xe4]
movss xmm0, dword [eax]
movss xmm1, dword [0x100307d8]
comiss xmm0, xmm1
jb 0x100116a6
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jb 0x100116a6
movss xmm1, dword [esi + 0xe4]
subss xmm1, dword [esi + 0x19d8]
movss xmm0, dword [edx + 0xc]
movss xmm3, dword [esi + 0xe8]
subss xmm3, dword [esi + 0x19dc]
ucomiss xmm0, xmm1
movss dword [ebp - 8], xmm1
movss dword [ebp - 4], xmm3
lahf
test ah, 0x44
jp 0x1001166c
movss xmm0, dword [edx + 0x10]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10011696
test dword [edx + 8], 0x100
jne 0x10011687
comiss xmm2, dword [ecx + 0x2c2c]
jb 0x10011687
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c2c], eax
push 1
lea eax, [ebp - 8]
push eax
push edx
call fcn.100133e0
add esp, 0xc
push dword [esi + 0x19fc]
call fcn.1000bda0
add esp, 4
jmp 0x100116ef
call fcn.10009d90
mov dword [esi + 0x19fc], 0
jmp 0x100116ef
mov ecx, dword [esi + 0x19e0]
test ecx, ecx
je 0x100116ef
mov eax, dword [esi + 0x19bc]
cmp dword [ecx + 0x4c], eax
jne 0x100116ef
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x100116e1
mov byte [esi + 0x19cf], 1
cmp byte [esi + 0xec], 0
jne 0x100116ef
call fcn.10009d90
call fcn.10014070
mov eax, dword [0x100388b8]
mov edx, dword [eax + 0x1a24]
sub edx, 1
js 0x1001172e
mov eax, dword [eax + 0x1a2c]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10011726
test dword [ecx + 8], 0x8000000
jne 0x10011840
sub eax, 0x24
sub edx, 1
jns 0x10011713
cmp dword [ebx + 0x1ae4], 0
xorps xmm6, xmm6
je 0x1001174b
movss xmm0, dword [ebx + 0x1af4]
comiss xmm0, xmm6
ja 0x10011843
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10030794]
movss xmm1, dword [ebx + 0x1be0]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1be0], xmm1
mov dword [ebx + 0x1c58], 0
mov dword [ebx + 0x2e60], 0xffffffff
mov dword [ebx + 0x2e5c], 0xffffffff
mov dword [ebx + 0x2e58], 0xffffffff
mov dword [ebx + 0x2c18], 0x3f800000
mov dword [ebx + 0x2c1c], 0x3f800000
call fcn.10014fb0
cmp dword [ebx + 0x19bc], 0
jne 0x10011876
mov ecx, dword [ebx + 0x1aa8]
test ecx, ecx
je 0x10011876
cmp byte [ecx + 0x76], 0
je 0x10011876
test dword [ecx + 8], 0x40000
jne 0x10011876
cmp byte [ebx + 0xfc], 0
jne 0x10011876
mov edx, dword [0x100388b8]
mov eax, dword [edx + 0x34]
test eax, eax
js 0x10011876
movss xmm0, dword [edx + eax*4 + 0x470]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x10011876
cmp dword [ebx + 0x1aac], 0
je 0x10011865
mov eax, dword [ebx + 0x1b00]
cmp eax, 0x7fffffff
je 0x10011865
xor esi, esi
mov edx, 2
cmp byte [ebx + 0xfd], 0
cmovne edx, esi
add edx, eax
mov dword [ecx + 0x338], edx
jmp 0x10011876
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x1003078c]
addss xmm1, dword [ebx + 0x1be0]
minss xmm1, dword [0x10030770]
jmp 0x10011768
movzx eax, byte [ebx + 0xfd]
neg eax
sbb eax, eax
mov dword [ecx + 0x338], eax
xor edx, edx
mov dword [ebx + 0x1b00], 0x7fffffff
cmp dword [ebx + 0x195c], edx
je 0x100118b0
nop word [eax + eax]
mov eax, dword [ebx + 0x1964]
mov ecx, dword [eax + edx*4]
inc edx
mov al, byte [ecx + 0x76]
mov byte [ecx + 0x77], al
mov byte [ecx + 0x76], 0
mov byte [ecx + 0x78], 0
cmp edx, dword [ebx + 0x195c]
jne 0x10011890
mov eax, dword [ebx + 0x1aa8]
test eax, eax
je 0x1001192c
cmp byte [eax + 0x77], 0
jne 0x1001192c
mov eax, dword [0x100388b8]
mov edi, dword [eax + 0x1968]
sub edi, 1
js 0x1001192c
mov eax, dword [eax + 0x1970]
lea eax, [eax + edi*4]
mov dword [ebp - 4], eax
nop dword [eax]
mov esi, dword [eax]
test esi, esi
je 0x1001190b
cmp byte [esi + 0x77], 0
je 0x1001190b
mov eax, dword [esi + 8]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [esi + 8], 0x18
setae al
test al, cl
jne 0x10011918
mov eax, dword [ebp - 4]
sub eax, 4
sub edi, 1
mov dword [ebp - 4], eax
jns 0x100118e0
jmp 0x1001192c
mov eax, dword [esi + 0x2f8]
test eax, eax
cmovne esi, eax
push esi
call fcn.1000bda0
add esp, 4
mov ecx, dword [ebx + 0x1984]
pop edi
test ecx, ecx
jns 0x10011953
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x1980]
call fcn.10015730
mov dword [ebx + 0x1980], 0
mov ecx, dword [ebx + 0x1a34]
test ecx, ecx
jns 0x10011983
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x1a30]
call fcn.100157c0
mov dword [ebx + 0x1a30], 0
push dword [ebx + 0x1aa8]
call fcn.10009ff0
mov eax, dword [0x100388b8]
push 0
push 0
push str.DebugDefault
mov dword [eax + 0x1a68], 0x43c80000
mov dword [eax + 0x1a6c], 0x43c80000
mov dword [eax + 0x1a40], 4
call fcn.10006320
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret