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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [0x100da7d8]
push edi
mov dword [esp + 0x1c], esi
cmp byte [esi + 0xbe], 0
je 0x100151fb
test byte [esi + 0xc], 2
jne 0x100151fb
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 0x10015250
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10015249
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.1000ffe0
mov edi, eax
add esp, 8
test edi, edi
je 0x10015249
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.10016270
dec dword [0x100da7f4]
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 0x10015294
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2b64], xmm0
jb 0x10015294
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10015283
call fcn.10016420
xorps xmm1, xmm1
jmp 0x1001528a
mov byte [esi + 0x370], 1
mov dword [esi + 0x2b64], 0
movss xmm0, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
mov edx, dword [0x100da7d8]
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 0x100152ea
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 0x1001531e
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.100421d0
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 0x100153d8
inc ecx
test edi, edi
je 0x100153c2
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, edi
jmp 0x100153c7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1002fe70
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.10042640
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 0x1001542d
movss dword [esp + 0x28], xmm2
comiss xmm1, xmm3
jb 0x10015438
movss dword [esp + 0x2c], xmm1
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x1001546d
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x1001545a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x1001545f
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.10047830
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.10042550
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 0x10015519
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 0x100155a2
mov eax, dword [esi + 0x1944]
cmp dword [esi + 0x1948], eax
jne 0x100155a2
test eax, eax
je 0x100155a2
mov edx, dword [0x100da7d8]
mov ecx, dword [edx + 0x1944]
test ecx, ecx
setne al
mov byte [edx + 0x1951], al
test ecx, ecx
je 0x1001557d
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 0x100155c1
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 0x1001561c
cmp ecx, eax
je 0x1001561c
mov dword [esi + 0x2b14], 0
cmp byte [esi + 0x1bd8], 0
je 0x1001567a
mov eax, dword [esi + 0x1bf4]
inc eax
cmp eax, dword [esi + 0x18e8]
jge 0x1001567a
call fcn.1002f550
mov eax, dword [esi + 0x1c4c]
test eax, eax
je 0x1001566f
dec dword [0x100da7f4]
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 [0x100a0ae4]
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 0x100156e6
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100156df
xorps xmm0, xmm0
jmp 0x100156e9
addss xmm0, dword [esi + 0x18]
jmp 0x100156e9
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x100156c4
call fcn.10012fe0
call fcn.10014990
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 [0x100a08d8]
mov dword [esi + 0x2d88], edx
jbe 0x1001576f
divss xmm0, dword [0x100a0a64]
movss xmm1, dword [0x100a096c]
divss xmm1, xmm0
jmp 0x10015777
movss xmm1, dword [0x100a0ac4]
movss dword [esi + 0x374], xmm1
call fcn.10014750
call fcn.10014f30
mov edi, dword [0x100da7d8]
mov edx, dword [edi + 0x19a0]
sub edx, 1
js 0x100157cb
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 0x100157c3
test dword [ecx + 8], 0x8000000
jne 0x100158e3
sub eax, 0x24
sub edx, 1
jns 0x100157b0
cmp dword [esi + 0x1a60], 0
xorps xmm6, xmm6
je 0x100157e8
movss xmm0, dword [esi + 0x1a70]
comiss xmm0, xmm6
ja 0x100158e6
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100a09fc]
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.10014cf0
cmp dword [esi + 0x1944], 0
jne 0x10015919
mov ecx, dword [esi + 0x1a24]
test ecx, ecx
je 0x10015919
cmp byte [ecx + 0x76], 0
je 0x10015919
test dword [ecx + 8], 0x40000
jne 0x10015919
cmp byte [esi + 0xf1], 0
jne 0x10015919
mov eax, dword [edi + 0x34]
test eax, eax
js 0x10015919
movss xmm0, dword [edi + eax*4 + 0x460]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x10015919
cmp dword [esi + 0x1a28], 0
je 0x10015908
mov eax, dword [esi + 0x1a7c]
cmp eax, 0x7fffffff
je 0x10015908
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 0x10015919
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x100a09ec]
addss xmm1, dword [esi + 0x1b5c]
minss xmm1, dword [0x100a096c]
jmp 0x10015805
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 0x10015950
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 0x10015930
mov eax, dword [esi + 0x1a24]
test eax, eax
je 0x1001599e
cmp byte [eax + 0x77], 0
jne 0x1001599e
mov eax, dword [edi + 0x18f4]
sub eax, 1
js 0x1001599e
mov edx, dword [edi + 0x18fc]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x10015987
cmp byte [ecx + 0x77], 0
je 0x10015987
test dword [ecx + 8], 0x1000000
je 0x1001598e
sub eax, 1
jns 0x10015971
jmp 0x1001599e
mov eax, dword [ecx + 0x304]
test eax, eax
cmovne ecx, eax
call fcn.1001dea0
mov ecx, dword [esi + 0x1910]
test ecx, ecx
jns 0x100159c4
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.1002fe70
mov dword [esi + 0x190c], 0
mov ecx, dword [esi + 0x19b0]
test ecx, ecx
jns 0x100159f4
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.10030410
mov dword [esi + 0x19ac], 0
mov ecx, dword [esi + 0x1a24]
call fcn.100181c0
mov eax, dword [0x100da7d8]
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.1001a480
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret