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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [0x100e1928]
push edi
mov dword [esp + 0x1c], esi
cmp byte [esi + 0xbe], 0
je 0x1001dfab
test byte [esi + 0xc], 2
jne 0x1001dfab
mov byte [esi + 0xbe], 0
cmp byte [esi + 0x2c88], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x14], eax
jne 0x1001e000
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1001dff9
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.10018d90
mov edi, eax
add esp, 8
test edi, edi
je 0x1001dff9
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.1001f010
dec dword [0x100e1944]
push edi
call dword [esp + 0x18]
add esp, 4
mov byte [esi + 0x2c88], 1
movss xmm0, dword [esi + 0x2c8c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001e041
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2c8c], xmm0
jb 0x1001e041
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1001e030
call fcn.1001f1b0
jmp 0x1001e037
mov byte [esi + 0x370], 1
mov dword [esi + 0x2c8c], 0
movss xmm0, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
mov edx, dword [0x100e1928]
inc dword [esi + 0x19e0]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x2c68], 0
mov dword [esi + 0x1a1c], 0
addsd xmm0, qword [esi + 0x19d8]
movsd qword [esi + 0x19d8], xmm0
mov byte [eax], 1
mov edi, dword [edx + 0xa0]
test edi, edi
jne 0x1001e097
mov eax, dword [edx + 0x94]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
movss xmm0, dword [edx + 0x98]
mov eax, dword [edx + 0x1a20]
mov dword [edx + 0x1934], edi
mulss xmm0, dword [edi]
mulss xmm0, dword [edi + 4]
movss dword [edx + 0x193c], xmm0
test eax, eax
je 0x1001e0ca
mulss xmm0, dword [eax + 0x274]
jmp 0x1001e0cd
xorps xmm0, xmm0
movss dword [edx + 0x1938], xmm0
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [edx + 0x1940], ecx
lea ecx, [esi + 0x1c58]
mov dword [edx + 0x1944], eax
mov dword [edx + 0x1948], edi
movss dword [edx + 0x194c], xmm0
movss xmm0, dword [esi + 0x10]
movss xmm1, dword [esi + 0x14]
mov dword [esi + 0x1954], 0
mov dword [esi + 0x1958], 0
movss dword [esi + 0x195c], xmm0
movss dword [esi + 0x1960], xmm1
mov eax, dword [esi + 0x15dc]
mov dword [esi + 0x1950], eax
call fcn.1004bce0
mov eax, dword [esi + 0x94]
lea edx, [esi + 0x1ca0]
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 0x1001e187
inc ecx
test edi, edi
je 0x1001e171
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, edi
jmp 0x1001e176
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10039060
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 + 0x1c58]
inc dword [edx]
mov ecx, edi
call fcn.1004c110
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 0x1001e1dc
movss dword [esp + 0x28], xmm2
comiss xmm1, xmm3
jb 0x1001e1e7
movss dword [esp + 0x2c], xmm1
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x1001e21c
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x1001e209
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x1001e20e
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.10051550
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x1c58]
movups xmm0, xmmword [esp + 0x20]
shl eax, 4
add eax, dword [edi + 0x44]
movups xmmword [eax], xmm0
inc dword [edi + 0x3c]
call fcn.1004be80
xor ecx, ecx
mov byte [esi + 0x1c18], 0
cmp byte [esi + 0x15da], cl
mov eax, 2
mov dword [esi + 0x1c1c], 0
cmovne ecx, eax
mov dword [esi + 0x1c24], 0
xor eax, eax
mov dword [esi + 0x1c28], 0
cmp byte [esi + 0x15d8], al
mov dword [esi + 0x1c20], 0
setne al
or ecx, eax
mov dword [esi + 0x1c7c], ecx
mov dword [esi + 0x1c34], 0
mov dword [esi + 0x1c38], 0
mov dword [esi + 0x1c2c], 0
mov dword [esi + 0x1c30], 0
cmp dword [esi + 0x1a34], 0
jne 0x1001e2c8
mov dword [esi + 0x1a38], 0
cmp byte [esi + 0x1a48], 0
mov eax, dword [esi + 0x1a2c]
mov dword [esi + 0x1a34], eax
mov dword [esi + 0x1a2c], 0
mov byte [esi + 0x1a30], 0
jne 0x1001e351
mov eax, dword [esi + 0x1a3c]
cmp dword [esi + 0x1a40], eax
jne 0x1001e351
test eax, eax
je 0x1001e351
mov edx, dword [0x100e1928]
mov ecx, dword [edx + 0x1a3c]
test ecx, ecx
setne al
mov byte [edx + 0x1a49], al
test ecx, ecx
je 0x1001e32c
mov dword [edx + 0x1a44], 0
mov byte [edx + 0x1a4b], 0
mov dword [edx + 0x1a3c], 0
mov dword [edx + 0x1a50], 0
mov byte [edx + 0x1a4a], 0
mov dword [edx + 0x1a5c], 0
mov ecx, dword [esi + 0x1a3c]
test ecx, ecx
je 0x1001e370
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x1a44]
movss dword [esi + 0x1a44], xmm0
mov eax, dword [esi + 0x1a5c]
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x1a6c]
mov dword [esi + 0x1a60], eax
mov al, byte [esi + 0x1a4b]
mov byte [esi + 0x1a4d], al
mov eax, dword [esi + 0x2c3c]
movss dword [esi + 0x1a6c], xmm0
mov dword [esi + 0x1a40], ecx
mov byte [esi + 0x1a4c], 0
mov word [esi + 0x1a48], 0
test eax, eax
je 0x1001e3cb
cmp ecx, eax
je 0x1001e3cb
mov dword [esi + 0x2c3c], 0
cmp byte [esi + 0x1d00], 0
je 0x1001e429
mov eax, dword [esi + 0x1d1c]
inc eax
cmp eax, dword [esi + 0x19e0]
jge 0x1001e429
call fcn.100387a0
mov eax, dword [esi + 0x1d74]
test eax, eax
je 0x1001e41e
dec dword [0x100e1944]
push eax
mov dword [esi + 0x1d70], 0
mov dword [esi + 0x1d6c], 0
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1d74], 0
xorps xmm0, xmm0
movq qword [esi + 0x1d78], xmm0
mov eax, dword [esi + 0x1d60]
lea edi, [esi + 0xc60]
movss xmm2, dword [0x10066db4]
mov ecx, 0x200
mov dword [esi + 0x1d64], eax
lea eax, [esi + 0x460]
mov dword [esi + 0x1d60], 0
mov dword [esi + 0x1d5c], 0x7f7fffff
mov byte [esi + 0x1d01], 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 0x1001e495
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1001e48e
xorps xmm0, xmm0
jmp 0x1001e498
addss xmm0, dword [esi + 0x18]
jmp 0x1001e498
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1001e473
call fcn.1001bd90
call fcn.1001d740
mov eax, dword [esi + 0x2eb0]
mov ecx, 0x78
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [esi + eax*4 + 0x2cd0]
addss xmm0, dword [esi + 0x2eb4]
movss dword [esi + 0x2eb4], xmm0
movss dword [esi + eax*4 + 0x2cd0], xmm1
mov eax, dword [esi + 0x2eb0]
inc eax
movss xmm0, dword [esi + 0x2eb4]
cdq
idiv ecx
comiss xmm0, dword [0x10066b98]
mov dword [esi + 0x2eb0], edx
jbe 0x1001e51e
divss xmm0, dword [0x10066d34]
movss xmm1, dword [0x10066c38]
divss xmm1, xmm0
jmp 0x1001e526
movss xmm1, dword [0x10066d94]
movss dword [esi + 0x374], xmm1
call fcn.1001d500
call fcn.1001dce0
mov edi, dword [0x100e1928]
mov edx, dword [edi + 0x1a98]
sub edx, 1
js 0x1001e573
mov eax, dword [edi + 0x1aa0]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1001e56b
test dword [ecx + 8], 0x8000000
jne 0x1001e68b
sub eax, 0x24
sub edx, 1
jns 0x1001e558
cmp dword [esi + 0x1b58], 0
xorps xmm6, xmm6
je 0x1001e590
movss xmm0, dword [esi + 0x1b68]
comiss xmm0, xmm6
ja 0x1001e68e
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x10066ccc]
movss xmm1, dword [esi + 0x1c54]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [esi + 0x1c54], xmm1
mov dword [esi + 0x1cfc], 0
mov dword [esi + 0x2ec0], 0xffffffff
mov dword [esi + 0x2ebc], 0xffffffff
mov dword [esi + 0x2eb8], 0xffffffff
mov dword [esi + 0x2c78], 0x3f800000
mov dword [esi + 0x2c7c], 0x3f800000
call fcn.1001daa0
cmp dword [esi + 0x1a3c], 0
jne 0x1001e6c1
mov ecx, dword [esi + 0x1b1c]
test ecx, ecx
je 0x1001e6c1
cmp byte [ecx + 0x76], 0
je 0x1001e6c1
test dword [ecx + 8], 0x40000
jne 0x1001e6c1
cmp byte [esi + 0xf1], 0
jne 0x1001e6c1
mov eax, dword [edi + 0x34]
test eax, eax
js 0x1001e6c1
movss xmm0, dword [edi + eax*4 + 0x460]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x1001e6c1
cmp dword [esi + 0x1b20], 0
je 0x1001e6b0
mov eax, dword [esi + 0x1b74]
cmp eax, 0x7fffffff
je 0x1001e6b0
cmp byte [esi + 0xf2], 0
mov edx, 2
mov dword [esp + 0x1c], 0
cmovne edx, dword [esp + 0x1c]
add edx, eax
mov dword [ecx + 0x374], edx
jmp 0x1001e6c1
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x10066cbc]
addss xmm1, dword [esi + 0x1c54]
minss xmm1, dword [0x10066c38]
jmp 0x1001e5ad
movzx eax, byte [esi + 0xf2]
neg eax
sbb eax, eax
mov dword [ecx + 0x374], eax
xor edx, edx
mov dword [esi + 0x1b74], 0x7fffffff
cmp dword [esi + 0x19ec], edx
je 0x1001e6f5
mov eax, dword [esi + 0x19f4]
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 + 0x19ec]
jne 0x1001e6d5
mov eax, dword [esi + 0x1b1c]
test eax, eax
je 0x1001e743
cmp byte [eax + 0x77], 0
jne 0x1001e743
mov eax, dword [edi + 0x19ec]
sub eax, 1
js 0x1001e743
mov edx, dword [edi + 0x19f4]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x1001e72c
cmp byte [ecx + 0x77], 0
je 0x1001e72c
test dword [ecx + 8], 0x1000000
je 0x1001e733
sub eax, 1
jns 0x1001e716
jmp 0x1001e743
mov eax, dword [ecx + 0x334]
test eax, eax
cmovne ecx, eax
call fcn.10026b10
mov ecx, dword [esi + 0x1a08]
test ecx, ecx
jns 0x1001e769
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 + 0x1a04]
call fcn.10039060
mov dword [esi + 0x1a04], 0
mov ecx, dword [esi + 0x1aa8]
test ecx, ecx
jns 0x1001e799
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [esi + 0x1aa4]
test eax, eax
cmovg edx, eax
push edx
call fcn.10039600
mov dword [esi + 0x1aa4], 0
mov ecx, dword [esi + 0x1b1c]
call fcn.10021180
mov eax, dword [0x100e1928]
xor edx, edx
push 0
mov ecx, str.DebugDefault
mov dword [eax + 0x1adc], 0x43c80000
mov dword [eax + 0x1ae0], 0x43c80000
mov dword [eax + 0x1ab4], 4
call fcn.10023440
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret