Function at 0x1009eba0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [0x101cbde8]
push edi
mov dword [esp + 0x14], esi
mov edi, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
mov ecx, eax
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], edi
mov eax, dword [0x101d39a8]
mov dword [esp + 0x18], edi
cmp eax, dword [ecx + 4]
jle 0x1009ec16
push 0x101d39a8
call fcn.100d1535
add esp, 4
cmp dword [0x101d39a8], 0xffffffff
jne 0x1009ec12
mov eax, dword [0x101d38e4]
push 0x101d39a8
mov dword [0x101d39a4], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d39a4]
mov eax, dword [eax + edi]
mov dword [esi + 0x38], eax
mov eax, dword [0x101d3bdc]
cmp eax, dword [ecx + 4]
jle 0x1009ec5f
push 0x101d3bdc
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bdc], 0xffffffff
jne 0x1009ec5b
mov eax, dword [0x101d390c]
push 0x101d3bdc
mov dword [0x101d3ef8], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d3ef8]
mov eax, dword [eax + edi]
mov dword [esi + 0x3c], eax
mov eax, dword [0x101d37e0]
cmp eax, dword [ecx + 4]
jle 0x1009eca8
push 0x101d37e0
call fcn.100d1535
add esp, 4
cmp dword [0x101d37e0], 0xffffffff
jne 0x1009eca4
mov eax, dword [0x101d37b4]
push 0x101d37e0
mov dword [0x101d3800], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d3800]
mov eax, dword [eax + edi]
mov dword [esi + 0x44], eax
mov eax, dword [0x101d3bd0]
cmp eax, dword [ecx + 4]
jle 0x1009ecf0
push 0x101d3bd0
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bd0], 0xffffffff
jne 0x1009ecf0
mov eax, dword [0x101d37b4]
add eax, 4
push 0x101d3bd0
mov dword [0x101d3efc], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d3efc]
mov ecx, edi
mov eax, dword [eax + edi]
mov dword [esi + 0x48], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esp + 8]
movq xmm0, qword [eax]
movq qword [esi + 0x58], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x60], eax
mov eax, dword [0x101d376c]
cmp eax, dword [ecx + 4]
jle 0x1009ed55
push 0x101d376c
call fcn.100d1535
add esp, 4
cmp dword [0x101d376c], 0xffffffff
jne 0x1009ed51
mov eax, dword [0x101d3764]
push 0x101d376c
mov dword [0x101d3768], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d3768]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x64], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x6c], eax
mov eax, dword [0x101d3a4c]
cmp eax, dword [ecx + 4]
jle 0x1009eda9
push 0x101d3a4c
call fcn.100d1535
add esp, 4
cmp dword [0x101d3a4c], 0xffffffff
jne 0x1009eda5
mov eax, dword [0x101d389c]
push 0x101d3a4c
mov dword [0x101d3a14], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d3a14]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x88], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x90], eax
mov eax, dword [0x101d3a0c]
cmp eax, dword [ecx + 4]
jle 0x1009ee03
push 0x101d3a0c
call fcn.100d1535
add esp, 4
cmp dword [0x101d3a0c], 0xffffffff
jne 0x1009edff
mov eax, dword [0x101d38a4]
push 0x101d3a0c
mov dword [0x101d3a00], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d3a00]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x94], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x9c], eax
mov eax, dword [0x101d3ef4]
cmp eax, dword [ecx + 4]
jle 0x1009ee59
push 0x101d3ef4
call fcn.100d1535
add esp, 4
cmp dword [0x101d3ef4], 0xffffffff
jne 0x1009ee59
mov eax, dword [0x101d38d0]
push 0x101d3ef4
mov dword [0x101d3be0], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d3be0]
mov ecx, edi
movq xmm0, qword [eax + edi]
movq qword [esi + 0xa0], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0xa8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [esp + 8]
movq xmm0, qword [eax]
movq qword [esi + 0xac], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0xb4], eax
mov eax, dword [0x101d36b4]
cmp eax, dword [ecx + 4]
jle 0x1009eed5
push 0x101d36b4
call fcn.100d1535
add esp, 4
cmp dword [0x101d36b4], 0xffffffff
jne 0x1009eed1
mov eax, dword [0x101d36a4]
push 0x101d36b4
mov dword [0x101d368c], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d368c]
mov eax, dword [eax + edi]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0xe4]
mov dword [esi + 0x24], eax
mov eax, dword [0x101d3bcc]
cmp eax, dword [ecx + 4]
jle 0x1009ef27
push 0x101d3bcc
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bcc], 0xffffffff
jne 0x1009ef23
mov eax, dword [0x101d38b4]
push 0x101d3bcc
mov dword [0x101d3bd8], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x101d3bd8]
mov eax, dword [eax + edi]
mov dword [esi + 0x34], eax
mov eax, dword [0x101d3994]
cmp eax, dword [ecx + 4]
jle 0x1009ef6c
push 0x101d3994
call fcn.100d1535
add esp, 4
cmp dword [0x101d3994], 0xffffffff
jne 0x1009ef6c
mov eax, dword [0x101d3834]
push 0x101d3994
mov dword [0x101d3984], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d3984]
movss xmm1, dword [esi + 0x44]
subss xmm1, dword [esi + 0x48]
mov ecx, dword [0x101cbe28]
movq xmm0, qword [eax + edi]
movq qword [esi + 0x70], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 0x78], eax
maxss xmm1, dword [ecx + 0x20]
divss xmm1, dword [ecx + 0x20]
addss xmm1, dword [0x10150220]
cvttss2si eax, xmm1
cmp eax, 0x40
jle 0x1009efb4
mov eax, 0x40
jmp 0x1009efbb
xor edx, edx
test eax, eax
cmovs eax, edx
mov dword [esi + 0x28], eax
lea edi, [esi + 0x19b0]
mov dword [esi + 0x50], 0
mov byte [esi + 0x57], 0
mov byte [esi + 0x1a], 0
mov eax, dword [ecx + 0x10]
mov ecx, 0xb6
mov dword [esi + 0x4c], eax
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 0x2970]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov al, byte [edi + 0x20]
and al, 1
mov byte [edi + 0x54], al
mov edx, dword [edi + 0x3500]
test edx, edx
je 0x1009f042
mov ecx, dword [edi + 0x34f8]
mov eax, dword [edi + 0x34f4]
dec ecx
and ecx, dword [edi + 0x34fc]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x34e8], eax
cmp edx, 3
jb 0x1009f042
mov eax, dword [edi + 0x34fc]
mov ecx, dword [edi + 0x34f8]
add eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 0x34f4]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x34ec], eax
mov eax, dword [edi + 0x3500]
lea esi, [edi + 0x34f0]
mov edx, dword [esi + 8]
inc eax
cmp edx, eax
ja 0x1009f061
push ecx
mov ecx, esi
call fcn.100a0990
mov edx, dword [esi + 8]
lea ecx, [edx - 1]
and dword [esi + 0xc], ecx
mov eax, dword [esi + 0xc]
cmove eax, edx
dec eax
and ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], ecx
cmp dword [eax + ecx*4], 0
jne 0x1009f0ae
push 0x34f3
call fcn.100d160b
add esp, 4
test eax, eax
je 0x1009f4da
mov edx, dword [esp + 0x10]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [esi + 4]
mov dword [eax + edx*4], ecx
mov ecx, edx
mov eax, dword [esi + 4]
mov esi, dword [eax + ecx*4]
push 0x34d0
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100a0e40
inc dword [edi + 0x3500]
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34fc], eax
mov ecx, dword [edi + 0x34f8]
dec ecx
and ecx, eax
mov eax, dword [edi + 0x34f4]
mov esi, dword [eax + ecx*4]
mov eax, dword [edi + 0x14]
mov edi, dword [esp + 8]
mov dword [esp + 0x10], eax
mov byte [esi], 1
mov dword [esi + 4], eax
mov eax, dword [0x101d39a8]
mov dword [esp + 0x18], esi
cmp eax, dword [edi + 4]
jle 0x1009f139
push 0x101d39a8
call fcn.100d1535
add esp, 4
cmp dword [0x101d39a8], 0xffffffff
jne 0x1009f139
mov eax, dword [0x101d38e4]
push 0x101d39a8
mov dword [0x101d39a4], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d39a4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax]
mov dword [esi + 0x20], eax
mov eax, dword [0x101d3bdc]
cmp eax, dword [edi + 4]
jle 0x1009f186
push 0x101d3bdc
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bdc], 0xffffffff
jne 0x1009f182
mov eax, dword [0x101d390c]
push 0x101d3bdc
mov dword [0x101d3ef8], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d3ef8]
mov eax, dword [ecx + eax]
mov dword [esi + 0x24], eax
mov eax, dword [0x101d37e0]
cmp eax, dword [edi + 4]
jle 0x1009f1cf
push 0x101d37e0
call fcn.100d1535
add esp, 4
cmp dword [0x101d37e0], 0xffffffff
jne 0x1009f1cb
mov eax, dword [0x101d37b4]
push 0x101d37e0
mov dword [0x101d3800], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d3800]
mov eax, dword [ecx + eax]
mov dword [esi + 0x2c], eax
mov eax, dword [0x101d3bd0]
cmp eax, dword [edi + 4]
jle 0x1009f21b
push 0x101d3bd0
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bd0], 0xffffffff
jne 0x1009f217
mov eax, dword [0x101d37b4]
add eax, 4
push 0x101d3bd0
mov dword [0x101d3efc], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d3efc]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call eax
movq xmm0, qword [eax]
movq qword [esi + 0x40], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x48], eax
mov eax, dword [0x101d376c]
cmp eax, dword [edi + 4]
jle 0x1009f27e
push 0x101d376c
call fcn.100d1535
add esp, 4
cmp dword [0x101d376c], 0xffffffff
jne 0x1009f27e
mov eax, dword [0x101d3764]
push 0x101d376c
mov dword [0x101d3768], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d3768]
mov ecx, dword [esp + 0x10]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x4c], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x54], eax
mov eax, dword [0x101d3a4c]
cmp eax, dword [edi + 4]
jle 0x1009f2d6
push 0x101d3a4c
call fcn.100d1535
add esp, 4
cmp dword [0x101d3a4c], 0xffffffff
jne 0x1009f2d2
mov eax, dword [0x101d389c]
push 0x101d3a4c
mov dword [0x101d3a14], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d3a14]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x70], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x78], eax
mov eax, dword [0x101d3a0c]
cmp eax, dword [edi + 4]
jle 0x1009f32a
push 0x101d3a0c
call fcn.100d1535
add esp, 4
cmp dword [0x101d3a0c], 0xffffffff
jne 0x1009f326
mov eax, dword [0x101d38a4]
push 0x101d3a0c
mov dword [0x101d3a00], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d3a00]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x7c], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x84], eax
mov eax, dword [0x101d3ef4]
cmp eax, dword [edi + 4]
jle 0x1009f381
push 0x101d3ef4
call fcn.100d1535
add esp, 4
cmp dword [0x101d3ef4], 0xffffffff
jne 0x1009f37d
mov eax, dword [0x101d38d0]
push 0x101d3ef4
mov dword [0x101d3be0], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d3be0]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x88], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x90], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movq xmm0, qword [eax]
movq qword [esi + 0x94], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x9c], eax
mov eax, dword [0x101d36b4]
cmp eax, dword [edi + 4]
jle 0x1009f3f3
push 0x101d36b4
call fcn.100d1535
add esp, 4
cmp dword [0x101d36b4], 0xffffffff
jne 0x1009f3f3
mov eax, dword [0x101d36a4]
push 0x101d36b4
mov dword [0x101d368c], eax
call fcn.100d14eb
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x101d368c]
mov eax, dword [edx + eax]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xe4]
mov dword [esi + 0xc], eax
mov eax, dword [0x101d3bcc]
cmp eax, dword [edi + 4]
jle 0x1009f449
push 0x101d3bcc
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bcc], 0xffffffff
jne 0x1009f445
mov eax, dword [0x101d38b4]
push 0x101d3bcc
mov dword [0x101d3bd8], eax
call fcn.100d14eb
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x101d3bd8]
mov eax, dword [edx + eax]
mov dword [esi + 0x1c], eax
mov eax, dword [0x101d3994]
cmp eax, dword [edi + 4]
jle 0x1009f492
push 0x101d3994
call fcn.100d1535
add esp, 4
cmp dword [0x101d3994], 0xffffffff
jne 0x1009f48e
mov eax, dword [0x101d3834]
push 0x101d3994
mov dword [0x101d3984], eax
call fcn.100d14eb
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x101d3984]
movss xmm1, dword [esi + 0x2c]
subss xmm1, dword [esi + 0x30]
mov ecx, dword [0x101cbe28]
movq xmm0, qword [edx + eax]
movq qword [esi + 0x58], xmm0
mov eax, dword [edx + eax + 8]
mov dword [esi + 0x60], eax
maxss xmm1, dword [ecx + 0x20]
divss xmm1, dword [ecx + 0x20]
addss xmm1, dword [0x10150220]
cvttss2si eax, xmm1
cmp eax, 0x40
jle 0x1009f4e0
mov eax, 0x40
jmp 0x1009f4e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor edi, edi
test eax, eax
cmovs eax, edi
mov dword [esi + 0x10], eax
lea edi, [esi + 0x1998]
mov dword [esi + 0x38], 0
mov byte [esi + 0x3f], 0
mov byte [esi + 2], 0
mov eax, dword [ecx + 0x10]
mov ecx, 0xb6
mov dword [esi + 0x34], eax
mov esi, dword [edx + 0x2970]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov al, byte [edi + 8]
and al, 1
mov byte [edi + 0x3c], al
cmp dword [esi + 4], 1
setl al
mov byte [edi + 1], al
mov eax, dword [esi + 0x34e8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [0x101cbe24]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [0x101d37f8]
cmp eax, dword [ecx + 4]
jle 0x1009f589
push 0x101d37f8
call fcn.100d1535
add esp, 4
cmp dword [0x101d37f8], 0xffffffff
jne 0x1009f589
mov eax, dword [0x101d37a4]
push 0x101d37f8
mov dword [0x101d3790], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d3790]
mov ecx, dword [esp + 0x1c]
push dword [ecx + eax]
mov ecx, dword [0x101cbe24]
call dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
test edx, edx
je 0x1009f619
test eax, eax
je 0x1009f619
mov eax, dword [esp + 8]
mov ecx, dword [0x101d39cc]
cmp ecx, dword [eax + 4]
jle 0x1009f5f2
push 0x101d39cc
call fcn.100d1535
add esp, 4
cmp dword [0x101d39cc], 0xffffffff
jne 0x1009f5ee
mov eax, dword [0x101d38dc]
push 0x101d39cc
mov dword [0x101d39c8], eax
call fcn.100d14eb
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x101d39c8]
mov ecx, dword [esp + 0x20]
movss xmm0, dword [edi + 0x2c]
movss xmm1, dword [ecx + eax]
comiss xmm0, xmm1
jb 0x1009f614
comiss xmm1, dword [edx + 0x2c]
jbe 0x1009f614
mov al, 1
jmp 0x1009f616
xor al, al
mov byte [edi + 0x3e], al
mov eax, dword [esi + 4]
cmp eax, 1
jge 0x1009f625
inc eax
mov dword [esi + 4], eax
cmp dword [esi + 0x34e8], 0
je 0x1009f9cf
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [0x101d36b4]
cmp eax, dword [ecx + 4]
jle 0x1009f677
push 0x101d36b4
call fcn.100d1535
add esp, 4
cmp dword [0x101d36b4], 0xffffffff
jne 0x1009f677
mov eax, dword [0x101d36a4]
push 0x101d36b4
mov dword [0x101d368c], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d368c]
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + eax]
and al, 1
mov byte [edi + 0x3c], 0
mov byte [edi + 0x3d], al
je 0x1009f6a7
mov eax, dword [esi + 0x34e8]
mov edx, 1
movzx ecx, byte [edi + 0x3c]
cmp byte [eax + 0x3d], 0
cmovne ecx, edx
mov byte [edi + 0x3c], cl
cmp dword [esi + 0x34e8], 0
je 0x1009f9cf
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [0x101cbe24]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [0x101d37f8]
cmp eax, dword [ecx + 4]
jle 0x1009f707
push 0x101d37f8
call fcn.100d1535
add esp, 4
cmp dword [0x101d37f8], 0xffffffff
jne 0x1009f707
mov eax, dword [0x101d37a4]
push 0x101d37f8
mov dword [0x101d3790], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d3790]
mov ecx, dword [esp + 0x20]
push dword [ecx + eax]
mov ecx, dword [0x101cbe24]
call dword [esp + 0x20]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1009f9cf
mov edx, dword [edi + 0x10]
lea ecx, [edx - 1]
cmp ecx, 0xe
ja 0x1009f7a0
mov ecx, dword [esi + 0x34e8]
test ecx, ecx
je 0x1009f7a0
cmp byte [ecx + 1], 0
jne 0x1009f7a0
mov eax, dword [0x101cbe28]
xorps xmm0, xmm0
movss xmm2, dword [0x10150270]
cvtsi2ss xmm0, edx
movss xmm3, dword [edi + 0x4c]
mulss xmm0, dword [eax + 0x20]
movss xmm1, dword [edi + 0x50]
subss xmm3, dword [ecx + 0x4c]
subss xmm1, dword [ecx + 0x50]
divss xmm2, xmm0
movss xmm0, dword [edi + 0x54]
subss xmm0, dword [ecx + 0x54]
mulss xmm3, xmm2
mulss xmm1, xmm2
mulss xmm0, xmm2
unpcklps xmm3, xmm1
movq qword [edi + 0x58], xmm3
movss dword [esp + 0x28], xmm0
mov eax, dword [esp + 0x28]
mov dword [edi + 0x60], eax
test byte [edi + 8], 1
movq xmm0, qword [edi + 0x58]
mov eax, dword [edi + 0x60]
movq qword [edi + 0x64], xmm0
mov dword [edi + 0x6c], eax
je 0x1009f80c
movss xmm1, dword [edi + 0x5c]
movaps xmm2, xmm0
movss xmm0, dword [edi + 0x60]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
movss xmm1, dword [0x10150198]
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, xmm1
jbe 0x1009f80c
movss xmm0, dword [edi + 0x1c58]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1009f80c
comiss xmm1, dword [edi + 0x1b08]
jbe 0x1009f80c
mov byte [edi + 0x3f], 1
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [0x101d36b4]
cmp eax, dword [ecx + 4]
jle 0x1009f851
push 0x101d36b4
call fcn.100d1535
add esp, 4
cmp dword [0x101d36b4], 0xffffffff
jne 0x1009f851
mov eax, dword [0x101d36a4]
push 0x101d36b4
mov dword [0x101d368c], eax
call fcn.100d14eb
add esp, 4
mov eax, dword [0x101d368c]
mov ecx, dword [esp + 0x20]
test byte [ecx + eax], 1
je 0x1009f96a
movss xmm0, dword [edi + 0x1c20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1009f96a
movss xmm1, dword [0x10150270]
comiss xmm1, xmm0
jbe 0x1009f96a
mov eax, dword [esi + 0x34e8]
movss xmm0, dword [edi + 0x1c2c]
comiss xmm0, dword [eax + 0x1c2c]
jbe 0x1009f96a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x1009f929
mov eax, dword [esi + 0x14]
mov ecx, dword [0x101d36b0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 8]
cmp ecx, dword [eax + 4]
jle 0x1009f906
push 0x101d36b0
call fcn.100d1535
add esp, 4
cmp dword [0x101d36b0], 0xffffffff
jne 0x1009f902
mov eax, dword [0x101d36a0]
push 0x101d36b0
mov dword [0x101d3680], eax
call fcn.100d14eb
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x101d3680]
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax], 0
je 0x1009f91f
movss xmm1, dword [edx + 0x130]
jmp 0x1009f931
movss xmm1, dword [edx + 0x12c]
jmp 0x1009f931
movss xmm1, dword [0x10150464]
movss xmm2, dword [0x10150270]
xorps xmm3, xmm3
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x1c20]
mulss xmm0, dword [0x10150208]
comiss xmm0, xmm3
jbe 0x1009f96a
comiss xmm2, xmm0
jbe 0x1009f96a
addss xmm0, dword [0x10150228]
mulss xmm0, xmm1
movss dword [edi + 0x38], xmm0
movss xmm2, dword [edi + 0x38]
xorps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x1009f9b4
movss xmm0, dword [edi + 0x58]
movss xmm1, dword [edi + 0x5c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
divss xmm2, xmm0
movaps xmm0, xmm2
movss dword [edi + 0x38], xmm2
mulss xmm0, dword [edi + 0x64]
mulss xmm2, dword [edi + 0x68]
movss dword [edi + 0x64], xmm0
movss dword [edi + 0x68], xmm2
cmp byte [edi + 0x3f], 0
je 0x1009f9cf
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
push edi
mov ecx, esi
call fcn.1009e4c0
mov eax, dword [esi + 0x78]
mov ecx, dword [0x101cbde8]
movq xmm0, qword [esi + 0x70]
mov edi, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
movq qword [esp + 8], xmm0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [0x101d3994]
cmp eax, dword [ecx + 4]
jle 0x1009fa47
push 0x101d3994
call fcn.100d1535
add esp, 4
cmp dword [0x101d3994], 0xffffffff
jne 0x1009fa3d
mov eax, dword [0x101d3834]
push 0x101d3994
mov dword [0x101d3984], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
movq xmm0, qword [esp + 8]
mov eax, dword [0x101d3984]
mov edx, dword [esp + 0x20]
movq qword [edi + eax], xmm0
mov dword [edi + eax + 8], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [0x101d36b4]
cmp eax, dword [ecx + 4]
jle 0x1009fa9e
push 0x101d36b4
call fcn.100d1535
add esp, 4
cmp dword [0x101d36b4], 0xffffffff
jne 0x1009fa9a
mov eax, dword [0x101d36a4]
push 0x101d36b4
mov dword [0x101d368c], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d368c]
mov edx, dword [esp + 0x34]
mov dword [edi + eax], edx
movss xmm0, dword [esi + 0x34]
mov eax, dword [0x101d3bcc]
movss dword [esp + 8], xmm0
cmp eax, dword [ecx + 4]
jle 0x1009faf5
push 0x101d3bcc
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bcc], 0xffffffff
jne 0x1009faef
mov eax, dword [0x101d38b4]
push 0x101d3bcc
mov dword [0x101d3bd8], eax
call fcn.100d14eb
add esp, 4
movss xmm0, dword [esp + 8]
mov eax, dword [0x101d3bd8]
add esi, 0x19b0
mov ecx, 0xb6
movss dword [edi + eax], xmm0
mov edi, dword [edi + 0x2970]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [0x101d39a8]
movss xmm0, dword [edi + 0x38]
movss dword [esp + 0x14], xmm0
cmp eax, dword [esi + 4]
jle 0x1009fb65
push 0x101d39a8
call fcn.100d1535
add esp, 4
cmp dword [0x101d39a8], 0xffffffff
jne 0x1009fb5f
mov eax, dword [0x101d38e4]
push 0x101d39a8
mov dword [0x101d39a4], eax
call fcn.100d14eb
add esp, 4
movss xmm0, dword [esp + 0x14]
mov eax, dword [0x101d39a4]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
movss dword [esi + eax], xmm0
movss xmm0, dword [edi + 0x3c]
mov eax, dword [0x101d3bdc]
movss dword [esp + 0x14], xmm0
cmp eax, dword [ecx + 4]
jle 0x1009fbc2
push 0x101d3bdc
call fcn.100d1535
add esp, 4
cmp dword [0x101d3bdc], 0xffffffff
jne 0x1009fbbc
mov eax, dword [0x101d390c]
push 0x101d3bdc
mov dword [0x101d3ef8], eax
call fcn.100d14eb
add esp, 4
movss xmm0, dword [esp + 0x14]
mov eax, dword [0x101d3ef8]
mov ecx, esi
movss dword [esi + eax], xmm0
lea eax, [edi + 0x64]
push eax
call dword [0x101cbfa4]
cmp byte [0x101cb665], 0
je 0x1009fc67
mov eax, dword [edi + 0x34e8]
test eax, eax
je 0x1009fc67
mov esi, dword [esp + 0x18]
movss xmm0, dword [eax + 0x2c]
mov eax, dword [0x101cbe28]
movss xmm1, dword [esi + 0x2c]
comiss xmm0, xmm1
jbe 0x1009fc22
subss xmm0, xmm1
andps xmm0, xmmword [0x10150ab0]
addss xmm0, xmm1
addss xmm0, dword [eax + 0x20]
movss dword [edi + 0xc], xmm0
jmp 0x1009fc64
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm2
subss xmm0, xmm1
andps xmm0, xmmword [0x10150ab0]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10150220]
cvttss2si eax, xmm0
cmp eax, 0x11
jle 0x1009fc5f
movss xmm2, dword [0x1015053c]
mov dword [edi + 0xc], 0xbf800000
movss xmm1, dword [esi + 0x2c]
comiss xmm2, xmm1
jbe 0x1009fc67
mov byte [esi], 0
cmp byte [edi], 0
mov eax, 3
mov edx, dword [0x101cb618]
mov ecx, dword [edi + 0x3500]
cmovne edx, eax
cmp ecx, edx
jbe 0x1009fc9b
lea eax, [ecx - 1]
mov dword [edi + 0x3500], eax
mov ecx, eax
test eax, eax
jne 0x1009fc97
mov dword [edi + 0x34fc], eax
cmp ecx, edx
ja 0x1009fc82
pop edi
pop esi
mov esp, ebp
pop ebp
ret