Function at 0x10010770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [0x1006dc88]
push edi
mov dword [esp + 0x1c], esi
cmp byte [esi + 0xbe], 0
je 0x1001079b
test byte [esi + 0xc], 2
jne 0x1001079b
mov byte [esi + 0xbe], 0
cmp byte [esi + 0x2b60], 0
jne 0x100107e9
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100107e2
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
call fcn.1000bcf0
mov edi, eax
add esp, 8
test edi, edi
je 0x100107e2
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.100114c0
dec dword [0x1006dcbc]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [esi + 0x2b60], 1
movss xmm0, dword [esi + 0x2b64]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001082d
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2b64], xmm0
jb 0x1001082d
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1001081c
call fcn.10011670
xorps xmm1, xmm1
jmp 0x10010823
mov byte [esi + 0x370], 1
mov dword [esi + 0x2b64], 0
movss xmm0, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
mov edx, dword [0x1006dc88]
inc dword [esi + 0x18e8]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x2b40], 0
mov dword [esi + 0x1924], 0
addsd xmm0, qword [esi + 0x18e0]
movsd qword [esi + 0x18e0], xmm0
mov byte [eax], 1
mov edi, dword [edx + 0xa0]
test edi, edi
jne 0x10010883
mov eax, dword [edx + 0x94]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
movss xmm0, dword [edx + 0x98]
mov eax, dword [edx + 0x1928]
mov dword [edx + 0x1850], edi
mulss xmm0, dword [edi]
mulss xmm0, dword [edi + 4]
movss dword [edx + 0x1858], xmm0
test eax, eax
je 0x100108b7
movaps xmm1, xmm0
mulss xmm1, dword [eax + 0x274]
movss dword [edx + 0x1854], xmm1
mov eax, dword [edi + 0x44]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [edx + 0x185c], ecx
lea ecx, [esi + 0x1b60]
mov dword [edx + 0x1860], eax
mov dword [edx + 0x1864], edi
movss dword [edx + 0x1868], xmm1
movss xmm0, dword [esi + 0x10]
mov eax, dword [esi + 0x159c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [esp + 0x2c], xmm0
movups xmm0, xmmword [esp + 0x20]
mov dword [esi + 0x186c], eax
movups xmmword [esi + 0x1870], xmm0
call fcn.1002cf90
mov eax, dword [esi + 0x94]
lea edx, [esi + 0x1ba8]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
cmp ecx, edi
jne 0x10010975
inc ecx
test edi, edi
je 0x1001095f
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, edi
jmp 0x10010964
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10024d20
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], edi
lea edi, [esi + 0x1b60]
inc dword [edx]
mov ecx, edi
call fcn.1002d460
mov eax, dword [edi + 0x28]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x14]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x20]
movss xmm1, dword [eax + 0x18]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm3
jb 0x100109ca
movss dword [esp + 0x28], xmm2
comiss xmm1, xmm3
jb 0x100109d5
movss dword [esp + 0x2c], xmm1
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x10010a0a
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x100109f7
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x100109fc
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.10032050
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x1b60]
mov edx, dword [edi + 0x44]
add eax, eax
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edx + eax*8], xmm0
inc dword [edi + 0x3c]
call fcn.1002d310
xor ecx, ecx
mov byte [esi + 0x1b20], 0
cmp byte [esi + 0x1599], cl
mov eax, 2
mov dword [esi + 0x1b24], 0
cmovne ecx, eax
mov dword [esi + 0x1b2c], 0
xor eax, eax
mov dword [esi + 0x1b30], 0
cmp byte [esi + 0x1598], al
mov dword [esi + 0x1b28], 0
setne al
or ecx, eax
mov dword [esi + 0x1b84], ecx
mov dword [esi + 0x1b3c], 0
mov dword [esi + 0x1b40], 0
mov dword [esi + 0x1b34], 0
mov dword [esi + 0x1b38], 0
cmp dword [esi + 0x193c], 0
jne 0x10010ab6
mov dword [esi + 0x1940], 0
cmp byte [esi + 0x1950], 0
mov eax, dword [esi + 0x1934]
mov dword [esi + 0x193c], eax
mov dword [esi + 0x1934], 0
mov byte [esi + 0x1938], 0
jne 0x10010b3f
mov eax, dword [esi + 0x1944]
cmp dword [esi + 0x1948], eax
jne 0x10010b3f
test eax, eax
je 0x10010b3f
mov edx, dword [0x1006dc88]
mov ecx, dword [edx + 0x1944]
test ecx, ecx
setne al
mov byte [edx + 0x1951], al
test ecx, ecx
je 0x10010b1a
mov dword [edx + 0x194c], 0
mov byte [edx + 0x1953], 0
mov dword [edx + 0x1944], 0
mov dword [edx + 0x1958], 0
mov byte [edx + 0x1952], 0
mov dword [edx + 0x1964], 0
mov ecx, dword [esi + 0x1944]
test ecx, ecx
je 0x10010b5e
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x194c]
movss dword [esi + 0x194c], xmm0
mov eax, dword [esi + 0x1964]
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x1974]
mov dword [esi + 0x1968], eax
mov al, byte [esi + 0x1953]
mov byte [esi + 0x1955], al
mov eax, dword [esi + 0x2b14]
movss dword [esi + 0x1974], xmm0
mov dword [esi + 0x1948], ecx
mov byte [esi + 0x1954], 0
mov word [esi + 0x1950], 0
test eax, eax
je 0x10010bb9
cmp ecx, eax
je 0x10010bb9
mov dword [esi + 0x2b14], 0
cmp byte [esi + 0x1bd8], 0
je 0x10010c19
mov eax, dword [esi + 0x1bf4]
inc eax
cmp eax, dword [esi + 0x18e8]
jge 0x10010c19
call fcn.10024580
mov eax, dword [esi + 0x1c4c]
test eax, eax
je 0x10010c0e
dec dword [0x1006dcbc]
push eax
mov dword [esi + 0x1c48], 0
mov dword [esi + 0x1c44], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x1c4c], 0
xorps xmm0, xmm0
movq qword [esi + 0x1c50], xmm0
mov eax, dword [esi + 0x1c38]
lea edi, [esi + 0xc60]
movss xmm2, dword [0x10041fa4]
mov ecx, 0x200
mov dword [esi + 0x1c3c], eax
lea eax, [esi + 0x460]
mov dword [esi + 0x1c38], 0
mov dword [esi + 0x1c34], 0x7f7fffff
mov byte [esi + 0x1bd9], 0
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
xor ecx, ecx
cmp byte [esi + ecx + 0xf5], 0
je 0x10010c85
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10010c7e
xorps xmm0, xmm0
jmp 0x10010c88
addss xmm0, dword [esi + 0x18]
jmp 0x10010c88
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10010c63
call fcn.1000e640
call fcn.1000ff00
mov eax, dword [esi + 0x2d88]
mov ecx, 0x78
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [esi + eax*4 + 0x2ba8]
addss xmm0, dword [esi + 0x2d8c]
movss dword [esi + 0x2d8c], xmm0
movss dword [esi + eax*4 + 0x2ba8], xmm1
mov eax, dword [esi + 0x2d88]
inc eax
movss xmm0, dword [esi + 0x2d8c]
cdq
idiv ecx
comiss xmm0, dword [0x10041e68]
mov dword [esi + 0x2d88], edx
jbe 0x10010d0e
divss xmm0, dword [0x10041f5c]
movss xmm1, dword [0x10041ed0]
divss xmm1, xmm0
jmp 0x10010d16
movss xmm1, dword [0x10041f98]
movss dword [esi + 0x374], xmm1
call fcn.1000fcc0
call fcn.100104d0
mov edi, dword [0x1006dc88]
mov edx, dword [edi + 0x19a0]
sub edx, 1
js 0x10010d63
mov eax, dword [edi + 0x19a8]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10010d5b
test dword [ecx + 8], 0x8000000
jne 0x10010e7b
sub eax, 0x24
sub edx, 1
jns 0x10010d48
cmp dword [esi + 0x1a60], 0
xorps xmm6, xmm6
je 0x10010d80
movss xmm0, dword [esi + 0x1a70]
comiss xmm0, xmm6
ja 0x10010e7e
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x10041f10]
movss xmm1, dword [esi + 0x1b5c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [esi + 0x1b5c], xmm1
mov dword [esi + 0x1bd4], 0
mov dword [esi + 0x2d98], 0xffffffff
mov dword [esi + 0x2d94], 0xffffffff
mov dword [esi + 0x2d90], 0xffffffff
mov dword [esi + 0x2b50], 0x3f800000
mov dword [esi + 0x2b54], 0x3f800000
call fcn.10010290
cmp dword [esi + 0x1944], 0
jne 0x10010eb1
mov ecx, dword [esi + 0x1a24]
test ecx, ecx
je 0x10010eb1
cmp byte [ecx + 0x76], 0
je 0x10010eb1
test dword [ecx + 8], 0x40000
jne 0x10010eb1
cmp byte [esi + 0xf1], 0
jne 0x10010eb1
mov eax, dword [edi + 0x34]
test eax, eax
js 0x10010eb1
movss xmm0, dword [edi + eax*4 + 0x460]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x10010eb1
cmp dword [esi + 0x1a28], 0
je 0x10010ea0
mov eax, dword [esi + 0x1a7c]
cmp eax, 0x7fffffff
je 0x10010ea0
cmp byte [esi + 0xf2], 0
mov edx, 2
mov dword [esp + 0x1c], 0
cmovne edx, dword [esp + 0x1c]
add edx, eax
mov dword [ecx + 0x344], edx
jmp 0x10010eb1
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x10041f08]
addss xmm1, dword [esi + 0x1b5c]
minss xmm1, dword [0x10041ed0]
jmp 0x10010d9d
movzx eax, byte [esi + 0xf2]
neg eax
sbb eax, eax
mov dword [ecx + 0x344], eax
xor edx, edx
mov dword [esi + 0x1a7c], 0x7fffffff
cmp dword [esi + 0x18f4], edx
je 0x10010ee5
mov eax, dword [esi + 0x18fc]
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 [esi + 0x18f4]
jne 0x10010ec5
mov eax, dword [esi + 0x1a24]
test eax, eax
je 0x10010f33
cmp byte [eax + 0x77], 0
jne 0x10010f33
mov eax, dword [edi + 0x18f4]
sub eax, 1
js 0x10010f33
mov edx, dword [edi + 0x18fc]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x10010f1c
cmp byte [ecx + 0x77], 0
je 0x10010f1c
test dword [ecx + 8], 0x1000000
je 0x10010f23
sub eax, 1
jns 0x10010f06
jmp 0x10010f33
mov eax, dword [ecx + 0x304]
test eax, eax
cmovne ecx, eax
call fcn.1001a650
mov ecx, dword [esi + 0x1910]
test ecx, ecx
jns 0x10010f59
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, [esi + 0x190c]
call fcn.10024d20
push 0
lea ecx, [esi + 0x19ac]
mov dword [esi + 0x190c], 0
call fcn.10024b20
mov ecx, dword [esi + 0x1a24]
call fcn.10013ef0
mov eax, dword [0x1006dc88]
xor edx, edx
push 0
mov ecx, str.DebugDefault
mov dword [eax + 0x19e4], 0x43c80000
mov dword [eax + 0x19e8], 0x43c80000
mov dword [eax + 0x19bc], 4
call fcn.10016150
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret