Function at 0x100180a0
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 0x100180cb
test byte [esi + 0xc], 2
jne 0x100180cb
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 0x10018120
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10018119
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.10012ee0
mov edi, eax
add esp, 8
test edi, edi
je 0x10018119
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.10019140
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 0x10018164
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2b64], xmm0
jb 0x10018164
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10018153
call fcn.100192f0
xorps xmm1, xmm1
jmp 0x1001815a
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 0x100181ba
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 0x100181ee
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.10045490
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 0x100182a8
inc ecx
test edi, edi
je 0x10018292
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, edi
jmp 0x10018297
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10033350
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.10045900
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 0x100182fd
movss dword [esp + 0x28], xmm2
comiss xmm1, xmm3
jb 0x10018308
movss dword [esp + 0x2c], xmm1
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x1001833d
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x1001832a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x1001832f
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.1004aaf0
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.10045810
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 0x100183e9
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 0x10018472
mov eax, dword [esi + 0x1944]
cmp dword [esi + 0x1948], eax
jne 0x10018472
test eax, eax
je 0x10018472
mov edx, dword [0x1012266c]
mov ecx, dword [edx + 0x1944]
test ecx, ecx
setne al
mov byte [edx + 0x1951], al
test ecx, ecx
je 0x1001844d
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 0x10018491
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 0x100184ec
cmp ecx, eax
je 0x100184ec
mov dword [esi + 0x2b14], 0
cmp byte [esi + 0x1bd8], 0
je 0x1001854a
mov eax, dword [esi + 0x1bf4]
inc eax
cmp eax, dword [esi + 0x18e8]
jge 0x1001854a
call fcn.10032a10
mov eax, dword [esi + 0x1c4c]
test eax, eax
je 0x1001853f
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 [0x1009b574]
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 0x100185b6
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100185af
xorps xmm0, xmm0
jmp 0x100185b9
addss xmm0, dword [esi + 0x18]
jmp 0x100185b9
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10018594
call fcn.10015eb0
call fcn.10017860
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 [0x1009b338]
mov dword [esi + 0x2d88], edx
jbe 0x1001863f
divss xmm0, dword [0x1009b4dc]
movss xmm1, dword [0x1009b3d4]
divss xmm1, xmm0
jmp 0x10018647
movss xmm1, dword [0x1009b554]
movss dword [esi + 0x374], xmm1
call fcn.10017620
call fcn.10017e00
mov edi, dword [0x1012266c]
mov edx, dword [edi + 0x19a0]
sub edx, 1
js 0x1001869b
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 0x10018693
test dword [ecx + 8], 0x8000000
jne 0x100187b3
sub eax, 0x24
sub edx, 1
jns 0x10018680
cmp dword [esi + 0x1a60], 0
xorps xmm6, xmm6
je 0x100186b8
movss xmm0, dword [esi + 0x1a70]
comiss xmm0, xmm6
ja 0x100187b6
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1009b468]
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.10017bc0
cmp dword [esi + 0x1944], 0
jne 0x100187e9
mov ecx, dword [esi + 0x1a24]
test ecx, ecx
je 0x100187e9
cmp byte [ecx + 0x76], 0
je 0x100187e9
test dword [ecx + 8], 0x40000
jne 0x100187e9
cmp byte [esi + 0xf1], 0
jne 0x100187e9
mov eax, dword [edi + 0x34]
test eax, eax
js 0x100187e9
movss xmm0, dword [edi + eax*4 + 0x460]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x100187e9
cmp dword [esi + 0x1a28], 0
je 0x100187d8
mov eax, dword [esi + 0x1a7c]
cmp eax, 0x7fffffff
je 0x100187d8
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 0x100187e9
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x1009b458]
addss xmm1, dword [esi + 0x1b5c]
minss xmm1, dword [0x1009b3d4]
jmp 0x100186d5
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 0x10018820
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 0x10018800
mov eax, dword [esi + 0x1a24]
test eax, eax
je 0x1001886e
cmp byte [eax + 0x77], 0
jne 0x1001886e
mov eax, dword [edi + 0x18f4]
sub eax, 1
js 0x1001886e
mov edx, dword [edi + 0x18fc]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x10018857
cmp byte [ecx + 0x77], 0
je 0x10018857
test dword [ecx + 8], 0x1000000
je 0x1001885e
sub eax, 1
jns 0x10018841
jmp 0x1001886e
mov eax, dword [ecx + 0x304]
test eax, eax
cmovne ecx, eax
call fcn.10020f20
mov ecx, dword [esi + 0x1910]
test ecx, ecx
jns 0x10018894
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.10033350
mov dword [esi + 0x190c], 0
mov ecx, dword [esi + 0x19b0]
test ecx, ecx
jns 0x100188c4
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.100338f0
mov dword [esi + 0x19ac], 0
mov ecx, dword [esi + 0x1a24]
call fcn.1001b090
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.1001d350
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret