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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [0x1012266c]
push edi
mov dword [esp + 0x1c], esi
cmp byte [esi + 0xbe], 0
je 0x100180db
test byte [esi + 0xc], 2
jne 0x100180db
mov byte [esi + 0xbe], 0
cmp byte [esi + 0x2b60], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x14], eax
jne 0x10018130
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10018129
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.10012ef0
mov edi, eax
add esp, 8
test edi, edi
je 0x10018129
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.10019150
dec dword [0x10122698]
push edi
call dword [esp + 0x18]
add esp, 4
mov byte [esi + 0x2b60], 1
movss xmm0, dword [esi + 0x2b64]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10018174
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2b64], xmm0
jb 0x10018174
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10018163
call fcn.10019300
xorps xmm1, xmm1
jmp 0x1001816a
mov byte [esi + 0x370], 1
mov dword [esi + 0x2b64], 0
movss xmm0, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
mov edx, dword [0x1012266c]
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 0x100181ca
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 0x100181fe
movaps xmm1, xmm0
mulss xmm1, dword [eax + 0x274]
movss dword [edx + 0x1854], xmm1
mov eax, dword [edi + 0x44]
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]
movss xmm1, dword [esi + 0x14]
mov dword [esi + 0x1870], 0
mov dword [esi + 0x1874], 0
movss dword [esi + 0x1878], xmm0
movss dword [esi + 0x187c], xmm1
mov eax, dword [esi + 0x159c]
mov dword [esi + 0x186c], eax
call fcn.100450a0
mov eax, dword [esi + 0x94]
lea edx, [esi + 0x1ba8]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
cmp ecx, edi
jne 0x100182b8
inc ecx
test edi, edi
je 0x100182a2
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, edi
jmp 0x100182a7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10032f60
mov edx, dword [esp + 0x10]
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.10045510
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 0x1001830d
movss dword [esp + 0x28], xmm2
comiss xmm1, xmm3
jb 0x10018318
movss dword [esp + 0x2c], xmm1
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x1001834d
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x1001833a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x1001833f
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.1004a700
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x1b60]
movups xmm0, xmmword [esp + 0x20]
shl eax, 4
add eax, dword [edi + 0x44]
movups xmmword [eax], xmm0
inc dword [edi + 0x3c]
call fcn.10045420
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 0x100183f9
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 0x10018482
mov eax, dword [esi + 0x1944]
cmp dword [esi + 0x1948], eax
jne 0x10018482
test eax, eax
je 0x10018482
mov edx, dword [0x1012266c]
mov ecx, dword [edx + 0x1944]
test ecx, ecx
setne al
mov byte [edx + 0x1951], al
test ecx, ecx
je 0x1001845d
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 0x100184a1
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 0x100184fc
cmp ecx, eax
je 0x100184fc
mov dword [esi + 0x2b14], 0
cmp byte [esi + 0x1bd8], 0
je 0x1001855a
mov eax, dword [esi + 0x1bf4]
inc eax
cmp eax, dword [esi + 0x18e8]
jge 0x1001855a
call fcn.10032620
mov eax, dword [esi + 0x1c4c]
test eax, eax
je 0x1001854f
dec dword [0x10122698]
push eax
mov dword [esi + 0x1c48], 0
mov dword [esi + 0x1c44], 0
call dword [esp + 0x18]
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 [0x1009b524]
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 0x100185c6
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100185bf
xorps xmm0, xmm0
jmp 0x100185c9
addss xmm0, dword [esi + 0x18]
jmp 0x100185c9
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x100185a4
call fcn.10015ec0
call fcn.10017870
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 [0x1009b2e8]
mov dword [esi + 0x2d88], edx
jbe 0x1001864f
divss xmm0, dword [0x1009b48c]
movss xmm1, dword [0x1009b380]
divss xmm1, xmm0
jmp 0x10018657
movss xmm1, dword [0x1009b504]
movss dword [esi + 0x374], xmm1
call fcn.10017630
call fcn.10017e10
mov edi, dword [0x1012266c]
mov edx, dword [edi + 0x19a0]
sub edx, 1
js 0x100186ab
mov eax, dword [edi + 0x19a8]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100186a3
test dword [ecx + 8], 0x8000000
jne 0x100187c3
sub eax, 0x24
sub edx, 1
jns 0x10018690
cmp dword [esi + 0x1a60], 0
xorps xmm6, xmm6
je 0x100186c8
movss xmm0, dword [esi + 0x1a70]
comiss xmm0, xmm6
ja 0x100187c6
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1009b418]
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.10017bd0
cmp dword [esi + 0x1944], 0
jne 0x100187f9
mov ecx, dword [esi + 0x1a24]
test ecx, ecx
je 0x100187f9
cmp byte [ecx + 0x76], 0
je 0x100187f9
test dword [ecx + 8], 0x40000
jne 0x100187f9
cmp byte [esi + 0xf1], 0
jne 0x100187f9
mov eax, dword [edi + 0x34]
test eax, eax
js 0x100187f9
movss xmm0, dword [edi + eax*4 + 0x460]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x100187f9
cmp dword [esi + 0x1a28], 0
je 0x100187e8
mov eax, dword [esi + 0x1a7c]
cmp eax, 0x7fffffff
je 0x100187e8
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 0x100187f9
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x1009b408]
addss xmm1, dword [esi + 0x1b5c]
minss xmm1, dword [0x1009b380]
jmp 0x100186e5
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 0x10018830
nop dword [eax]
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 0x10018810
mov eax, dword [esi + 0x1a24]
test eax, eax
je 0x1001887e
cmp byte [eax + 0x77], 0
jne 0x1001887e
mov eax, dword [edi + 0x18f4]
sub eax, 1
js 0x1001887e
mov edx, dword [edi + 0x18fc]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x10018867
cmp byte [ecx + 0x77], 0
je 0x10018867
test dword [ecx + 8], 0x1000000
je 0x1001886e
sub eax, 1
jns 0x10018851
jmp 0x1001887e
mov eax, dword [ecx + 0x304]
test eax, eax
cmovne ecx, eax
call fcn.10020d90
mov ecx, dword [esi + 0x1910]
test ecx, ecx
jns 0x100188a4
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.10032f60
mov dword [esi + 0x190c], 0
mov ecx, dword [esi + 0x19b0]
test ecx, ecx
jns 0x100188d4
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [esi + 0x19ac]
test eax, eax
cmovg edx, eax
push edx
call fcn.10033500
mov dword [esi + 0x19ac], 0
mov ecx, dword [esi + 0x1a24]
call fcn.1001b0a0
mov eax, dword [0x1012266c]
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.1001d370
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret