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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [0x1007acc0]
push edi
mov dword [ebp - 8], esi
cmp byte [esi + 0xbf], 0
je 0x10005b2a
test byte [esi + 0xc], 2
jne 0x10005b2a
mov byte [esi + 0xbf], 0
cmp byte [esi + 0x2c28], 0
jne 0x10005b7f
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10005b78
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.10002bb0
mov edi, eax
add esp, 8
test edi, edi
je 0x10005b78
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.10011300
mov ecx, dword [0x1007acc0]
test ecx, ecx
je 0x10005b6e
dec dword [ecx + 0x394]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [esi + 0x2c28], 1
movss xmm0, dword [esi + 0x2c2c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10005bc3
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2c2c], xmm0
jb 0x10005bc3
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10005bb2
call fcn.100114d0
xorps xmm1, xmm1
jmp 0x10005bb9
mov byte [esi + 0x37c], 1
mov dword [esi + 0x2c2c], 0
movss xmm0, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
mov edx, dword [0x1007acc0]
inc dword [esi + 0x1950]
cvtps2pd xmm0, xmm0
mov byte [esi + 1], 1
mov dword [esi + 0x2c08], 0
mov dword [esi + 0x1998], 0
addsd xmm0, qword [esi + 0x1948]
movsd qword [esi + 0x1948], xmm0
mov byte [eax], 1
mov edi, dword [edx + 0xa0]
test edi, edi
jne 0x10005c1d
mov eax, dword [edx + 0x94]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
movss xmm0, dword [edx + 0x98]
mov ecx, dword [edx + 0x199c]
mov dword [edx + 0x18b8], edi
mulss xmm0, dword [edi]
mulss xmm0, dword [edi + 4]
movss dword [edx + 0x18c0], xmm0
test ecx, ecx
je 0x10005c5b
mov eax, dword [0x1007acc0]
movss xmm1, dword [eax + 0x18c0]
mulss xmm1, dword [ecx + 0x268]
movss dword [edx + 0x18bc], xmm1
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [edx + 0x18c4], ecx
mov dword [edx + 0x18cc], edi
lea edi, [esi + 0x1be4]
mov dword [edx + 0x18c8], eax
mov ecx, edi
movss dword [edx + 0x18d0], xmm1
movss xmm0, dword [esi + 0x10]
mov eax, dword [esi + 0x15b4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x14], xmm0
movups xmm0, xmmword [ebp - 0x20]
mov dword [esi + 0x18d4], eax
movups xmmword [esi + 0x18d8], xmm0
call fcn.10019f90
mov eax, dword [esi + 0x94]
mov ecx, dword [edi + 0x48]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x4c]
cmp ecx, eax
jne 0x10005d07
inc ecx
test eax, eax
je 0x10005cf1
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x4c]
jmp 0x10005cf6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x48]
call fcn.10011ef0
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x50]
mov edx, dword [ebp - 4]
mov dword [eax + ecx*4], edx
inc dword [edi + 0x48]
lea edi, [esi + 0x1be4]
mov ecx, edi
call fcn.1001a4b0
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 [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm3
jb 0x10005d55
movss dword [ebp - 0x18], xmm2
comiss xmm1, xmm3
jb 0x10005d5f
movss dword [ebp - 0x14], xmm1
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jne 0x10005d97
lea edx, [eax + 1]
mov dword [ebp - 4], edx
test ecx, ecx
je 0x10005d81
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 4]
sar eax, 1
add eax, ecx
jmp 0x10005d86
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.1001fb90
mov eax, dword [edi + 0x3c]
movups xmm0, xmmword [ebp - 0x20]
shl eax, 4
lea ecx, [esi + 0x1be4]
add eax, dword [edi + 0x44]
movups xmmword [eax], xmm0
inc dword [edi + 0x3c]
call fcn.1001a380
mov edx, dword [0x1007acc0]
xor ecx, ecx
cmp byte [esi + 0x15b1], cl
mov eax, 2
mov byte [esi + 0x1ba4], 0
cmovne ecx, eax
mov dword [esi + 0x1ba8], 0
xor eax, eax
mov dword [esi + 0x1bb0], 0
cmp byte [esi + 0x15b0], al
mov dword [esi + 0x1bb4], 0
setne al
mov dword [esi + 0x1bac], 0
or ecx, eax
mov dword [esi + 0x1c08], ecx
mov dword [esi + 0x1bc0], 0
mov eax, dword [esi + 0x1bc0]
mov dword [esi + 0x1bc4], 0
mov ecx, dword [esi + 0x1bc4]
mov dword [esi + 0x1bb8], eax
mov dword [esi + 0x1bbc], ecx
cmp byte [esi + 0x1c5c], 0
je 0x10005e6a
mov eax, dword [esi + 0x1c74]
cmp eax, dword [esi + 0x19bc]
jne 0x10005e6a
cmp dword [edx + 0x19bc], eax
jne 0x10005e5b
mov dword [edx + 0x19c4], eax
cmp dword [edx + 0x19c0], eax
jne 0x10005e6a
mov byte [edx + 0x19cf], 1
cmp dword [esi + 0x19b0], 0
mov eax, dword [esi + 0x19a8]
jne 0x10005e85
mov dword [esi + 0x19b4], 0
jmp 0x10005e93
mov ecx, eax
test eax, eax
je 0x10005e9f
cmp dword [esi + 0x19bc], eax
jne 0x10005e9f
mov dword [esi + 0x19b8], 0
mov ecx, eax
movss xmm2, dword [esi + 0x18]
mov eax, dword [esi + 0x19bc]
test ecx, ecx
je 0x10005ed8
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x19b4]
movss dword [esi + 0x19b4], xmm0
cmp eax, ecx
je 0x10005ed8
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x19b8]
movss dword [esi + 0x19b8], xmm0
movaps xmm1, xmm2
mov dword [esi + 0x19b0], ecx
mov ecx, eax
mov dword [esi + 0x19a8], 0
mov byte [esi + 0x19ac], 0
cmp dword [esi + 0x19c4], eax
je 0x10005f5e
cmp dword [esi + 0x19c0], eax
jne 0x10005f5e
test eax, eax
je 0x10005f5e
mov ecx, dword [edx + 0x19bc]
test ecx, ecx
setne al
mov byte [edx + 0x19cc], al
test ecx, ecx
je 0x10005f2e
mov dword [edx + 0x19c8], 0
mov byte [edx + 0x19ce], 0
mov dword [edx + 0x19bc], 0
mov dword [edx + 0x19d4], 0
mov byte [edx + 0x19cd], 0
mov dword [edx + 0x19e0], 0
mov ecx, dword [esi + 0x19bc]
movss xmm1, dword [esi + 0x18]
test ecx, ecx
je 0x10005f75
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x19c8]
movss dword [esi + 0x19c8], xmm0
mov eax, dword [esi + 0x19e0]
addss xmm1, dword [esi + 0x19f0]
mov dword [esi + 0x19e4], eax
mov al, byte [esi + 0x19ce]
mov byte [esi + 0x19d0], al
mov eax, dword [esi + 0x2bdc]
movss dword [esi + 0x19f0], xmm1
mov dword [esi + 0x19c0], ecx
mov dword [esi + 0x19c4], 0
mov byte [esi + 0x19cf], 0
mov byte [esi + 0x19cc], 0
test eax, eax
je 0x10005fd3
cmp ecx, eax
je 0x10005fd3
mov dword [esi + 0x2bdc], 0
mov eax, dword [esi + 0x1cc0]
lea edi, [esi + 0xc70]
movss xmm2, dword [0x10077464]
mov ecx, 0x200
mov dword [esi + 0x1cc4], eax
lea eax, [esi + 0x470]
mov dword [esi + 0x1cc0], 0
mov dword [esi + 0x1cbc], 0x7f7fffff
mov byte [esi + 0x1c5d], 0
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
xor ecx, ecx
nop dword [eax]
cmp byte [esi + ecx + 0x100], 0
je 0x10006042
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1000603b
xorps xmm0, xmm0
jmp 0x10006045
addss xmm0, dword [esi + 0x18]
jmp 0x10006045
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10006020
call fcn.1000e650
call fcn.100051a0
mov eax, dword [esi + 0x2e50]
mov ecx, 0x78
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [esi + eax*4 + 0x2c70]
addss xmm0, dword [esi + 0x2e54]
movss dword [esi + 0x2e54], xmm0
movss dword [esi + eax*4 + 0x2c70], xmm1
mov eax, dword [esi + 0x2e50]
inc eax
movss xmm0, dword [esi + 0x2e54]
cdq
idiv ecx
comiss xmm0, dword [0x100771a0]
mov dword [esi + 0x2e50], edx
jbe 0x100060cb
divss xmm0, dword [0x100773ac]
movss xmm1, dword [0x1007724c]
divss xmm1, xmm0
jmp 0x100060d3
movss xmm1, dword [0x10077440]
movss dword [esi + 0x380], xmm1
call fcn.10004f80
call fcn.100057a0
mov eax, dword [0x1007acc0]
mov edx, dword [eax + 0x1a24]
sub edx, 1
js 0x1000611b
mov eax, dword [eax + 0x1a2c]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10006113
test dword [ecx + 8], 0x8000000
jne 0x10006135
sub eax, 0x24
sub edx, 1
jns 0x10006104
cmp dword [esi + 0x1ae4], 0
je 0x10006154
movss xmm0, dword [esi + 0x1af4]
comiss xmm0, dword [0x100771a0]
jbe 0x10006154
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x100772dc]
addss xmm1, dword [esi + 0x1be0]
minss xmm1, dword [0x1007724c]
jmp 0x10006175
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100772f0]
movss xmm1, dword [esi + 0x1be0]
subss xmm1, xmm0
maxss xmm1, dword [0x100771a0]
movss dword [esi + 0x1be0], xmm1
mov dword [esi + 0x1c58], 0
mov dword [esi + 0x2e60], 0xffffffff
mov dword [esi + 0x2e5c], 0xffffffff
mov dword [esi + 0x2e58], 0xffffffff
mov dword [esi + 0x2c18], 0x3f800000
mov dword [esi + 0x2c1c], 0x3f800000
call fcn.10005560
cmp dword [esi + 0x19bc], 0
jne 0x10006242
mov edi, dword [esi + 0x1aa8]
test edi, edi
je 0x10006242
cmp byte [edi + 0x76], 0
je 0x10006242
test dword [edi + 8], 0x40000
jne 0x10006242
cmp byte [esi + 0xfc], 0
jne 0x10006242
mov ecx, dword [0x1007acc0]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
js 0x10006242
xor dl, dl
call fcn.100073f0
test al, al
je 0x10006242
cmp dword [esi + 0x1aac], 0
je 0x10006231
mov eax, dword [esi + 0x1b00]
cmp eax, 0x7fffffff
je 0x10006231
xor edx, edx
mov ecx, 2
cmp byte [esi + 0xfd], dl
cmovne ecx, edx
add ecx, eax
mov dword [edi + 0x338], ecx
jmp 0x10006242
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [edi + 0x338], eax
xor edx, edx
mov dword [esi + 0x1b00], 0x7fffffff
cmp dword [esi + 0x195c], edx
je 0x10006276
mov eax, dword [esi + 0x1964]
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 + 0x195c]
jne 0x10006256
mov eax, dword [esi + 0x1aa8]
test eax, eax
je 0x1000628b
cmp byte [eax + 0x77], 0
jne 0x1000628b
call fcn.1000c0e0
mov ecx, dword [esi + 0x1984]
test ecx, ecx
jns 0x100062b1
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 + 0x1980]
call fcn.10011ef0
mov dword [esi + 0x1980], 0
mov ecx, dword [esi + 0x1a34]
test ecx, ecx
jns 0x100062e1
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 + 0x1a30]
call fcn.10012300
mov dword [esi + 0x1a30], 0
mov ecx, dword [esi + 0x1aa8]
call fcn.1000cef0
mov eax, dword [0x1007acc0]
xor edx, edx
push 0
mov ecx, str.DebugDefault
mov dword [eax + 0x1a68], 0x43c80000
mov dword [eax + 0x1a6c], 0x43c80000
mov dword [eax + 0x1a40], 4
call fcn.10008ce0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret