Function at 0x10012070
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132e39
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x1026a5dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x32c], eax
mov edi, dword [0x1026ab0c]
mov esi, dword [0x102b6554]
call fcn.100110d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x304]
add eax, 0x224
mov ecx, eax
mov dword [ebp - 0x2fc], eax
call fcn.10011d10
mov eax, dword [ebp - 0x304]
lea ecx, [eax + 0x298]
mov dword [eax + 0x298], 0
mov dword [ebp - 0x320], ecx
mov dword [eax + 0x29c], 0
mov dword [eax + 0x2a0], 0
lea ecx, [eax + 0x2a4]
mov dword [ecx], 0
mov dword [ebp - 0x328], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [eax + 0x2b0]
mov dword [eax + 0x2b0], 0
mov dword [ebp - 0x30c], ecx
mov dword [eax + 0x2b4], 0
mov dword [eax + 0x2b8], 0
lea ecx, [eax + 0x2bc]
mov dword [ecx], 0
mov dword [ebp - 0x300], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [eax + 0x2c8]
mov dword [ecx], 0
mov dword [ebp - 0x324], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [eax + 0x2d4]
mov dword [ecx], 0
mov dword [ebp - 0x31c], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [eax + 0x2e0]
mov byte [ebp - 4], 7
call fcn.100110d0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x304]
lea ecx, [ecx + 0x504]
call fcn.10011d10
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x304]
add ecx, 0x578
call fcn.100110d0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x304]
lea ecx, [ecx + 0x79c]
call fcn.10011d10
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x304]
add ecx, 0x810
call fcn.100110d0
sub esp, 0x220
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [0x102b77d8], esi
mov dword [0x102b77d4], edi
mov dword [0x102c283c], 0
mov dword [0x102c2840], 0
push 0x102bbc00
call fcn.100141b0
lea ecx, [ebp - 0x2f0]
call fcn.10011300
mov edi, dword [ebp - 0x304]
mov esi, eax
mov eax, dword [esi]
lea ecx, [edi + 0x4c]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov al, byte [esi + 0x24]
mov byte [edi + 0x24], al
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
movq xmm0, qword [esi + 0x30]
movq qword [edi + 0x30], xmm0
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
movq xmm0, qword [esi + 0x3c]
movq qword [edi + 0x3c], xmm0
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
lea eax, [esi + 0x4c]
push eax
call fcn.10015cc0
lea eax, [esi + 0x64]
lea ecx, [edi + 0x64]
cmp ecx, eax
je 0x10012328
call fcn.10016160
movups xmm0, xmmword [esi + 0x64]
xor ecx, ecx
movups xmmword [edi + 0x64], xmm0
movq xmm0, qword [esi + 0x74]
movq qword [edi + 0x74], xmm0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 7
mov word [esi + 0x64], cx
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.10015cc0
mov eax, dword [esi + 0x94]
mov ecx, 0x3f
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov al, byte [esi + 0xa0]
mov byte [edi + 0xa0], al
movq xmm0, qword [esi + 0xa4]
movq qword [edi + 0xa4], xmm0
mov eax, dword [esi + 0xac]
mov dword [edi + 0xac], eax
movq xmm0, qword [esi + 0xb0]
movq qword [edi + 0xb0], xmm0
mov eax, dword [esi + 0xb8]
mov dword [edi + 0xb8], eax
movups xmm0, xmmword [esi + 0xbc]
movups xmmword [edi + 0xbc], xmm0
movq xmm0, qword [esi + 0xcc]
movq qword [edi + 0xcc], xmm0
movups xmm0, xmmword [esi + 0xd4]
movups xmmword [edi + 0xd4], xmm0
movq xmm0, qword [esi + 0xe4]
movq qword [edi + 0xe4], xmm0
movups xmm0, xmmword [esi + 0xec]
movups xmmword [edi + 0xec], xmm0
movups xmm0, xmmword [esi + 0xfc]
movups xmmword [edi + 0xfc], xmm0
movups xmm0, xmmword [esi + 0x10c]
movups xmmword [edi + 0x10c], xmm0
movq xmm0, qword [esi + 0x11c]
movq qword [edi + 0x11c], xmm0
mov eax, dword [esi + 0x124]
add esi, 0x128
mov dword [edi + 0x124], eax
add edi, 0x128
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2f0]
call fcn.10014100
sub esp, 0x70
mov esi, esp
mov dword [ebp - 0x308], esi
mov eax, dword [0x102bbe20]
push 0x102bbe24
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.10015d80
movq xmm0, qword [0x102bbe3c]
lea ecx, [ebp - 0xc8]
movq qword [esi + 0x1c], xmm0
mov eax, dword [0x102bbe44]
mov dword [esi + 0x24], eax
movss xmm0, dword [0x102bbe48]
movss dword [esi + 0x28], xmm0
movss xmm0, dword [0x102bbe4c]
movss dword [esi + 0x2c], xmm0
movups xmm0, xmmword [0x102bbe50]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [0x102bbe60]
movups xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [0x102bbe70]
movups xmmword [esi + 0x50], xmm0
movups xmm0, xmmword [0x102bbe80]
movups xmmword [esi + 0x60], xmm0
call fcn.10011dd0
mov edi, dword [ebp - 0x2fc]
mov esi, eax
mov eax, dword [esi]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [esi + 4]
push eax
call fcn.10015cc0
movq xmm0, qword [esi + 0x1c]
movq qword [edi + 0x1c], xmm0
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0xb0]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
movups xmm0, xmmword [esi + 0x34]
movups xmmword [edi + 0x34], xmm0
movups xmm0, xmmword [esi + 0x44]
movups xmmword [edi + 0x44], xmm0
movups xmm0, xmmword [esi + 0x54]
movups xmmword [edi + 0x54], xmm0
movups xmm0, xmmword [esi + 0x64]
movups xmmword [edi + 0x64], xmm0
cmp edx, 0x10
jb 0x10012557
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001254d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001254d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e876a
add esp, 8
mov esi, dword [0x102c2a94]
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov eax, 0x78787879
mov ecx, dword [0x102c2a98]
sub ecx, esi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100126c0
xor edi, edi
nop word [eax + eax]
sub esp, 0x220
lea eax, [edi + esi]
mov ecx, esp
push eax
call fcn.100141b0
lea ecx, [ebp - 0x2f0]
call fcn.10011300
mov byte [ebp - 4], 0xd
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x2c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001267a
mov ecx, dword [ebp - 0x2c8]
test ecx, ecx
je 0x1001267a
mov edx, dword [ebp - 0x2f0]
test edx, edx
je 0x1001267a
mov eax, dword [ebp - 0x304]
cmp edx, dword [eax]
je 0x1001267a
mov dl, byte [ebp - 0x2c4]
cmp dl, 1
jne 0x1001260a
cmp ecx, dword [eax + 0x28]
je 0x10012619
inc dword [0x102c2840]
jmp 0x10012619
test dl, dl
jne 0x10012619
cmp ecx, dword [eax + 0x28]
je 0x10012619
inc dword [0x102c283c]
movq xmm0, qword [ebp - 0x2c0]
sub esp, 0xc
mov eax, dword [ebp - 0x2b8]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x102c2c7c
call fcn.100a91e0
divss xmm0, dword [0x1025b184]
mov esi, dword [ebp - 0x320]
lea ecx, [ebp - 0x2f0]
push ecx
mov eax, dword [esi + 4]
movss dword [ebp - 0x2a8], xmm0
cmp eax, dword [esi + 8]
je 0x10012672
mov ecx, eax
call fcn.10017a10
add dword [esi + 4], 0x224
jmp 0x1001267a
push eax
mov ecx, esi
call fcn.10017500
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0xc
call fcn.10014100
mov ecx, dword [0x102c2a98]
mov eax, 0x78787879
mov esi, dword [0x102c2a94]
add edi, 0x220
inc dword [ebp - 0x2f8]
sub ecx, esi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f8], eax
jb 0x10012590
mov ecx, dword [0x102c2aa4]
mov eax, 0x92492493
mov edi, dword [0x102c2aa0]
sub ecx, edi
imul ecx
mov dword [ebp - 0x2f8], 0
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001292a
xor edx, edx
mov dword [ebp - 0x2f4], edx
nop dword [eax]
sub esp, 0x70
mov esi, esp
mov dword [ebp - 0x308], esi
mov eax, dword [edx + edi]
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [edx + 4]
add eax, edi
push eax
call fcn.10015d80
mov ecx, dword [ebp - 0x2f4]
movq xmm0, qword [ecx + edi + 0x1c]
movq qword [esi + 0x1c], xmm0
mov eax, dword [ecx + edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + edi + 0x2c]
mov dword [esi + 0x2c], eax
movups xmm0, xmmword [ecx + edi + 0x30]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [ecx + edi + 0x40]
movups xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [ecx + edi + 0x50]
movups xmmword [esi + 0x50], xmm0
movups xmm0, xmmword [ecx + edi + 0x60]
lea ecx, [ebp - 0xc8]
movups xmmword [esi + 0x60], xmm0
call fcn.10011dd0
mov byte [ebp - 4], 0xe
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0xac]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100128a8
movss xmm0, dword [ebp - 0x9c]
comiss xmm0, xmm1
jbe 0x100128a8
movss xmm0, dword [ebp - 0x98]
comiss xmm0, xmm1
jbe 0x100128a8
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x308], eax
test eax, eax
je 0x100128a8
mov ecx, dword [ebp - 0x2fc]
cmp eax, dword [ecx]
je 0x100128a8
movq xmm0, qword [ebp - 0xac]
sub esp, 0xc
mov eax, dword [ebp - 0xa4]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x102c2c7c
call fcn.100a91e0
divss xmm0, dword [0x1025b184]
mov edi, dword [ebp - 0x328]
mov esi, dword [edi + 4]
movss dword [ebp - 0xa0], xmm0
cmp esi, dword [edi + 8]
je 0x10012899
mov eax, dword [ebp - 0x308]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10015d80
movq xmm0, qword [ebp - 0xac]
movq qword [esi + 0x1c], xmm0
mov eax, dword [ebp - 0xa4]
mov dword [esi + 0x24], eax
movss xmm0, dword [ebp - 0xa0]
movss dword [esi + 0x28], xmm0
movss xmm0, dword [ebp - 0x9c]
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [esi + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [esi + 0x34], xmm0
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [esi + 0x44], xmm0
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [esi + 0x54], xmm0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [esi + 0x64], xmm0
add dword [edi + 4], 0x74
jmp 0x100128a8
lea eax, [ebp - 0xc8]
mov ecx, edi
push eax
push esi
call fcn.100172a0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xb0]
cmp edx, 0x10
jb 0x100128e6
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100128dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
add esp, 8
mov ecx, dword [0x102c2aa4]
mov eax, 0x92492493
mov edi, dword [0x102c2aa0]
sub ecx, edi
mov esi, dword [ebp - 0x2f8]
add dword [ebp - 0x2f4], 0x70
inc esi
imul ecx
mov dword [ebp - 0x2f8], esi
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x1001292a
mov edx, dword [ebp - 0x2f4]
jmp 0x10012700
mov esi, dword [0x102c2ab8]
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov eax, 0x66666667
mov ecx, dword [0x102c2abc]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10012b21
xor edi, edi
nop dword [eax]
mov eax, dword [edi + esi]
lea ecx, [ebp - 0x70]
movq xmm0, qword [edi + esi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [edi + esi + 0xc]
mov dword [ebp - 0x74], eax
lea eax, [esi + 0x10]
add eax, edi
movq qword [ebp - 0x7c], xmm0
push eax
call fcn.10015d80
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x101780a4
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10016340
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.10016340
movq xmm2, qword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x5c]
movq qword [ebp - 0x40], xmm2
mov dword [ebp - 0x38], ecx
cmp edx, 0x10
jb 0x10012a31
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012a1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
movq xmm2, qword [ebp - 0x7c]
add esp, 8
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x11
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x7c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10012ab5
cmp dword [ebp - 0x44], 0
je 0x10012ab5
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm2
mov dword [eax + 8], ecx
mov ecx, 0x102c2c7c
call fcn.100a91e0
divss xmm0, dword [0x1025b184]
mov esi, dword [ebp - 0x30c]
mov eax, dword [esi + 4]
movss dword [ebp - 0x34], xmm0
cmp eax, dword [esi + 8]
je 0x10012aa9
mov ecx, dword [ebp - 0x44]
movq xmm1, qword [ebp - 0x7c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x74]
movq qword [eax + 4], xmm1
mov dword [eax + 0xc], ecx
lea ecx, [eax + 0x14]
movss dword [eax + 0x10], xmm0
lea eax, [ebp - 0x30]
push eax
call fcn.10015d80
add dword [esi + 4], 0x2c
jmp 0x10012ab5
lea ecx, [ebp - 0x44]
push ecx
push eax
mov ecx, esi
call fcn.10017080
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x10012aed
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012ae3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
add esp, 8
mov ecx, dword [0x102c2abc]
mov eax, 0x66666667
mov esi, dword [0x102c2ab8]
add edi, 0x28
inc dword [ebp - 0x2f8]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f8], eax
jb 0x10012960
mov esi, dword [0x102c2adc]
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov eax, 0x66666667
mov ecx, dword [0x102c2ae0]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10012d1d
xor edi, edi
mov eax, dword [edi + esi]
lea ecx, [ebp - 0x70]
movq xmm0, qword [edi + esi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [edi + esi + 0xc]
mov dword [ebp - 0x74], eax
lea eax, [esi + 0x10]
add eax, edi
movq qword [ebp - 0x7c], xmm0
push eax
call fcn.10015d80
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x101780a4
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.10016340
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.10016340
movq xmm2, qword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x5c]
movq qword [ebp - 0x40], xmm2
mov dword [ebp - 0x38], ecx
cmp edx, 0x10
jb 0x10012c21
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012c0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
movq xmm2, qword [ebp - 0x7c]
add esp, 8
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x14
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x7c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10012cb1
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x10012cb1
mov eax, dword [ebp - 0x304]
cmp esi, dword [eax]
je 0x10012cb1
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm2
mov dword [eax + 8], ecx
mov ecx, 0x102c2c7c
call fcn.100a91e0
divss xmm0, dword [0x1025b184]
mov ecx, dword [ebp - 0x300]
mov eax, dword [ecx + 4]
movss dword [ebp - 0x34], xmm0
cmp eax, dword [ecx + 8]
je 0x10012ca7
movq xmm1, qword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movq qword [eax + 4], xmm1
mov dword [eax + 0xc], ecx
lea ecx, [eax + 0x14]
mov dword [eax], esi
movss dword [eax + 0x10], xmm0
lea eax, [ebp - 0x30]
push eax
call fcn.10015d80
mov ecx, dword [ebp - 0x300]
add dword [ecx + 4], 0x2c
jmp 0x10012cb1
lea edx, [ebp - 0x44]
push edx
push eax
call fcn.10017080
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x10012ce9
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
add esp, 8
mov ecx, dword [0x102c2ae0]
mov eax, 0x66666667
mov esi, dword [0x102c2adc]
add edi, 0x28
inc dword [ebp - 0x2f8]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f8], eax
jb 0x10012b50
mov esi, dword [0x102c2a7c]
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov eax, 0x92492493
mov ecx, dword [0x102c2a80]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001301d
xor edi, edi
nop
push 0x3c
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x50]
add esp, 0xc
mov dword [ebp - 0x30c], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi + edi]
mov dword [ebp - 0x50], eax
movq xmm0, qword [esi + edi + 4]
movq qword [ebp - 0x4c], xmm0
mov eax, dword [esi + edi + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [edi + 0x10]
add eax, esi
push eax
call fcn.10015d80
lea eax, [edi + 0x28]
mov byte [ebp - 4], 0x15
add eax, esi
lea ecx, [ebp - 0x28]
push eax
call fcn.10015ae0
mov al, byte [esi + edi + 0x34]
mov byte [ebp - 0x1c], al
mov al, byte [esi + edi + 0x35]
mov byte [ebp - 0x1b], al
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x7c]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
push 0x101780a4
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call fcn.10016340
mov word [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x2c], 0x10
push dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10016340
push dword [ebp - 0x32c]
movq xmm0, qword [ebp - 0x4c]
lea ecx, [ebp - 0x60]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x28]
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x84], eax
call fcn.10017d10
mov al, byte [ebp - 0x1c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x64], al
mov al, byte [ebp - 0x1b]
mov byte [ebp - 0x63], al
mov byte [ebp - 4], 0xc
call fcn.100160e0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10012ea7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012e9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x19
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x8c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10012fa7
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x30c], ecx
test ecx, ecx
je 0x10012fa7
mov eax, dword [ebp - 0x304]
cmp ecx, dword [eax]
je 0x10012fa7
movq xmm0, qword [ebp - 0x8c]
sub esp, 0xc
mov eax, dword [ebp - 0x84]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x102c2c7c
call fcn.100a91e0
divss xmm0, dword [0x1025b184]
mov eax, dword [ebp - 0x324]
mov esi, dword [eax + 4]
movss dword [ebp - 0x80], xmm0
cmp esi, dword [eax + 8]
je 0x10012f98
mov eax, dword [ebp - 0x30c]
lea ecx, [esi + 0x14]
mov dword [esi], eax
movq xmm0, qword [ebp - 0x8c]
movq qword [esi + 4], xmm0
mov eax, dword [ebp - 0x84]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x7c]
movss xmm0, dword [ebp - 0x80]
push eax
mov dword [ebp - 0x308], esi
movss dword [esi + 0x10], xmm0
call fcn.10015d80
mov byte [ebp - 4], 0x1a
lea ecx, [esi + 0x30]
mov al, byte [ebp - 0x64]
mov byte [esi + 0x2c], al
mov al, byte [ebp - 0x63]
mov byte [esi + 0x2d], al
lea eax, [ebp - 0x60]
push eax
call fcn.10015ae0
mov ecx, dword [ebp - 0x324]
add dword [ecx + 4], 0x3c
jmp 0x10012fa7
lea ecx, [ebp - 0x90]
push ecx
push esi
mov ecx, eax
call fcn.10016e10
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.100160e0
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x10012fe7
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012fdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
add esp, 8
mov ecx, dword [0x102c2a80]
mov eax, 0x92492493
mov esi, dword [0x102c2a7c]
add edi, 0x38
inc dword [ebp - 0x2f8]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f8], eax
jb 0x10012d50
mov esi, dword [0x102c2aac]
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov eax, 0x2e8ba2e9
mov ecx, dword [0x102c2ab0]
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001324e
xor edi, edi
nop dword [eax]
mov eax, dword [esi + edi]
lea ecx, [ebp - 0x70]
movq xmm0, qword [esi + edi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + edi + 0xc]
mov dword [ebp - 0x74], eax
lea eax, [edi + 0x10]
add eax, esi
movq qword [ebp - 0x7c], xmm0
push eax
call fcn.10015d80
mov al, byte [esi + edi + 0x28]
mov byte [ebp - 0x58], al
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x34]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push 0x101780a4
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.10016340
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
mov byte [ebp - 0x1c], 0
call fcn.10016340
movq xmm2, qword [ebp - 0x7c]
mov edx, dword [ebp - 0x74]
mov cl, byte [ebp - 0x58]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x5c]
movq qword [ebp - 0x44], xmm2
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x1c], cl
cmp eax, 0x10
jb 0x10013137
mov ecx, dword [ebp - 0x70]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013122
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
movq xmm2, qword [ebp - 0x7c]
add esp, 8
mov edx, dword [ebp - 0x74]
mov cl, byte [ebp - 0x58]
mov byte [ebp - 4], 0x1d
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x7c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100131e2
test cl, cl
jne 0x100131e2
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x100131e2
mov eax, dword [ebp - 0x304]
cmp ecx, dword [eax]
je 0x100131e2
sub esp, 0xc
mov ecx, 0x102c2c7c
mov eax, esp
movq qword [eax], xmm2
mov dword [eax + 8], edx
call fcn.100a91e0
divss xmm0, dword [0x1025b184]
mov eax, dword [ebp - 0x31c]
mov esi, dword [eax + 4]
movss dword [ebp - 0x38], xmm0
cmp esi, dword [eax + 8]
je 0x100131d6
mov eax, dword [ebp - 0x48]
lea ecx, [esi + 0x14]
movq xmm1, qword [ebp - 0x7c]
mov dword [esi], eax
mov eax, dword [ebp - 0x74]
movq qword [esi + 4], xmm1
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x34]
push eax
movss dword [esi + 0x10], xmm0
call fcn.10015d80
mov ecx, dword [ebp - 0x31c]
mov al, byte [ebp - 0x1c]
mov byte [esi + 0x2c], al
add dword [ecx + 4], 0x30
jmp 0x100131e2
lea ecx, [ebp - 0x48]
push ecx
push esi
mov ecx, eax
call fcn.10016bd0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1001321a
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013210
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012547
push edx
push ecx
call fcn.100e876a
add esp, 8
mov ecx, dword [0x102c2ab0]
mov eax, 0x2e8ba2e9
mov esi, dword [0x102c2aac]
add edi, 0x2c
inc dword [ebp - 0x2f8]
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f8], eax
jb 0x10013050
mov edi, dword [ebp - 0x320]
mov eax, 0x77975b9
movss xmm0, dword [0x1025b2a4]
mov esi, dword [ebp - 0x304]
movss dword [ebp - 0x2fc], xmm0
mov ecx, dword [edi + 4]
mov dword [ebp - 0x2f8], ecx
sub ecx, dword [edi]
imul ecx
mov dword [ebp - 0x2f4], 0
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10013448
mov dword [ebp - 0x300], 0
xorps xmm1, xmm1
xor ecx, ecx
nop word [eax + eax]
movss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
mov eax, dword [ebp - 0x300]
jbe 0x1001340c
mov edx, dword [edi]
mov eax, dword [edx + eax + 0x28]
cmp eax, dword [esi + 0x28]
mov eax, dword [ebp - 0x300]
je 0x1001340c
movd xmm0, dword [0x102b7794]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [edx + eax + 0x48]
jbe 0x1001340c
movq xmm0, qword [edx + eax + 0x30]
lea ecx, [ebp - 0x318]
mov eax, dword [edx + eax + 0x38]
push ecx
sub esp, 0xc
mov dword [ebp - 0x318], 0
mov ecx, esp
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10013c00
test al, al
je 0x100133fd
mov eax, dword [0x102b77d8]
movss xmm1, dword [0x102c2808]
mulss xmm1, dword [0x1025b0d8]
cdq
movss xmm3, dword [ebp - 0x318]
sub eax, edx
sar eax, 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x100133fd
subss xmm2, xmm1
comiss xmm3, xmm2
jb 0x100133fd
mov eax, dword [0x102b77d4]
movss xmm3, dword [ebp - 0x314]
cdq
sub eax, edx
sar eax, 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x100133fd
subss xmm2, xmm1
comiss xmm3, xmm2
jb 0x100133fd
mov eax, dword [edi]
xorps xmm1, xmm1
add eax, dword [ebp - 0x300]
movss xmm0, dword [ebp - 0x2fc]
movss xmm2, dword [eax + 0x48]
comiss xmm0, xmm2
jbe 0x10013400
movss xmm0, dword [eax + 0x18]
comiss xmm0, xmm1
ja 0x100133e9
movss xmm0, dword [0x1025b184]
comiss xmm0, dword [eax + 4]
jbe 0x10013400
cmp byte [0x102c27fc], 0
je 0x10013400
push eax
lea ecx, [esi + 0x2e0]
movss dword [ebp - 0x2fc], xmm2
call fcn.100144d0
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [ebp - 0x300]
inc ecx
add eax, 0x224
mov dword [ebp - 0x2f4], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x300], eax
mov eax, 0x77975b9
mov dword [ebp - 0x2f8], ecx
sub ecx, dword [edi]
imul ecx
mov ecx, dword [ebp - 0x2f4]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x100132b0
mov eax, dword [esi + 0x2a4]
xor ecx, ecx
mov dword [ebp - 0x2f4], ecx
mov ecx, dword [esi + 0x2a8]
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x31c], ecx
sub ecx, eax
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10013660
xor edi, edi
mov dword [ebp - 0x2fc], edi
nop dword [eax + eax]
movss xmm0, dword [esi + 0x18]
comiss xmm0, dword [0x1025af68]
jbe 0x10013604
movd xmm0, dword [0x102b7794]
mov eax, dword [ebp - 0x320]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [edi + eax + 0x28]
jbe 0x10013604
movq xmm0, qword [edi + eax + 0x1c]
lea ecx, [ebp - 0x318]
mov eax, dword [edi + eax + 0x24]
push ecx
sub esp, 0xc
mov dword [ebp - 0x318], 0
mov ecx, esp
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10013c00
test al, al
je 0x10013604
mov eax, dword [0x102b77d8]
movss xmm1, dword [0x102c2808]
mulss xmm1, dword [0x1025b0d8]
cdq
movss xmm3, dword [ebp - 0x318]
sub eax, edx
sar eax, 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x10013604
subss xmm2, xmm1
comiss xmm3, xmm2
jb 0x10013604
mov eax, dword [0x102b77d4]
movss xmm3, dword [ebp - 0x314]
cdq
sub eax, edx
sar eax, 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x10013604
subss xmm2, xmm1
comiss xmm3, xmm2
jb 0x10013604
mov edi, dword [esi + 0x2a4]
lea ecx, [esi + 0x504]
add edi, dword [ebp - 0x2fc]
lea edx, [ecx + 4]
mov eax, dword [edi]
mov dword [ecx], eax
lea eax, [edi + 4]
cmp edx, eax
je 0x100135bc
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x100135ad
mov eax, dword [eax]
push ecx
push eax
mov ecx, edx
call fcn.10016340
lea ecx, [esi + 0x504]
movq xmm0, qword [edi + 0x1c]
movq qword [ecx + 0x1c], xmm0
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ecx + 0x30], eax
movups xmm0, xmmword [edi + 0x34]
movups xmmword [ecx + 0x34], xmm0
movups xmm0, xmmword [edi + 0x44]
movups xmmword [ecx + 0x44], xmm0
movups xmm0, xmmword [edi + 0x54]
movups xmmword [ecx + 0x54], xmm0
movups xmm0, xmmword [edi + 0x64]
mov edi, dword [ebp - 0x2fc]
movups xmmword [ecx + 0x64], xmm0
mov ecx, dword [esi + 0x2a8]
add edi, 0x74
mov eax, dword [esi + 0x2a4]
inc dword [ebp - 0x2f4]
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x31c], ecx
sub ecx, eax
mov eax, 0x8d3dcb09
mov dword [ebp - 0x2fc], edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f4], eax
jb 0x10013490
mov ecx, dword [esi + 0x29c]
lea edi, [esi + 0x298]
mov dword [ebp - 0x2f8], ecx
jmp 0x10013663
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
xor edx, edx
movss xmm2, dword [0x1025b2a4]
mov eax, 0x77975b9
mov dword [ebp - 0x304], edx
imul ecx
movss dword [ebp - 0x2fc], xmm2
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001387f
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x2f4], edx
nop
movss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jbe 0x1001382d
mov eax, dword [edi]
mov eax, dword [edx + eax + 0x28]
cmp eax, dword [esi + 0x28]
je 0x1001382d
movd xmm0, dword [0x102b7794]
mov eax, dword [edi]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [edx + eax + 0x48]
jbe 0x1001382d
movq xmm0, qword [edx + eax + 0x30]
lea ecx, [ebp - 0x318]
mov eax, dword [edx + eax + 0x38]
push ecx
sub esp, 0xc
mov dword [ebp - 0x318], 0
mov ecx, esp
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10013c00
test al, al
je 0x10013824
mov eax, dword [0x102b77d4]
movss xmm1, dword [ebp - 0x314]
movss xmm0, dword [ebp - 0x318]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x102b77d8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
cvtps2pd xmm1, xmm1
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x30c], eax
movd xmm3, ecx
movd xmm2, eax
cvtdq2pd xmm3, xmm3
cvtdq2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
call fcn.100a8610
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
movss xmm0, dword [ebp - 0x2fc]
comiss xmm0, xmm4
jbe 0x10013824
movd xmm2, dword [ebp - 0x30c]
movss xmm1, dword [0x102c2808]
mulss xmm1, dword [0x1025b0d8]
movss xmm3, dword [ebp - 0x318]
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x10013824
subss xmm2, xmm1
comiss xmm3, xmm2
jb 0x10013824
movd xmm2, dword [ebp - 0x308]
movss xmm3, dword [ebp - 0x314]
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x10013824
mov edx, dword [ebp - 0x2f4]
subss xmm2, xmm1
xorps xmm1, xmm1
comiss xmm3, xmm2
jb 0x1001382d
mov eax, dword [edi]
add eax, edx
movss xmm0, dword [eax + 0x18]
comiss xmm0, xmm1
ja 0x10013810
movss xmm0, dword [0x1025b184]
comiss xmm0, dword [eax + 4]
jbe 0x1001382d
cmp byte [0x102c27fc], 0
je 0x1001382d
push eax
lea ecx, [esi + 0x578]
movss dword [ebp - 0x2fc], xmm4
call fcn.100144d0
mov edx, dword [ebp - 0x2f4]
xorps xmm1, xmm1
mov eax, dword [edi + 4]
add edx, 0x224
inc dword [ebp - 0x304]
mov ecx, eax
sub ecx, dword [edi]
mov dword [ebp - 0x2f8], eax
mov eax, 0x77975b9
mov dword [ebp - 0x2f4], edx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x2f4]
cmp dword [ebp - 0x304], eax
jb 0x100136a0
mov ecx, dword [esi + 0x2a8]
movss xmm2, dword [0x1025b2a4]
jmp 0x10013885
mov ecx, dword [ebp - 0x31c]
xor edx, edx
mov eax, 0x8d3dcb09
mov dword [ebp - 0x2f4], edx
movaps xmm4, xmm2
mov edx, dword [esi + 0x2a4]
sub ecx, edx
mov dword [ebp - 0x31c], edx
imul ecx
movss dword [ebp - 0x320], xmm4
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10013afd
xor edi, edi
mov dword [ebp - 0x2fc], edi
nop word [eax + eax]
movss xmm0, dword [esi + 0x18]
comiss xmm0, dword [0x1025af68]
jbe 0x10013aa5
movd xmm0, dword [0x102b7794]
mov eax, dword [ebp - 0x31c]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [eax + edi + 0x28]
jbe 0x10013aa5
movq xmm0, qword [eax + edi + 0x1c]
lea ecx, [ebp - 0x318]
mov eax, dword [eax + edi + 0x24]
push ecx
sub esp, 0xc
mov dword [ebp - 0x318], 0
mov ecx, esp
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10013c00
test al, al
je 0x10013aa5
mov eax, dword [0x102b77d4]
movss xmm1, dword [ebp - 0x314]
movss xmm0, dword [ebp - 0x318]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x102b77d8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
cvtps2pd xmm1, xmm1
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x30c], eax
movd xmm3, ecx
movd xmm2, eax
cvtdq2pd xmm3, xmm3
cvtdq2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
call fcn.100a8610
movss xmm1, dword [ebp - 0x320]
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
comiss xmm1, xmm4
jbe 0x10013aa5
movd xmm2, dword [ebp - 0x30c]
movss xmm1, dword [0x102c2808]
mulss xmm1, dword [0x1025b0d8]
movss xmm3, dword [ebp - 0x318]
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x10013aa5
subss xmm2, xmm1
comiss xmm3, xmm2
jb 0x10013aa5
movd xmm2, dword [ebp - 0x308]
movss xmm3, dword [ebp - 0x314]
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x10013aa5
subss xmm2, xmm1
comiss xmm3, xmm2
jb 0x10013aa5
mov edi, dword [esi + 0x2a4]
lea ecx, [esi + 0x79c]
add edi, dword [ebp - 0x2fc]
lea edx, [ecx + 4]
movss dword [ebp - 0x320], xmm4
mov eax, dword [edi]
mov dword [ecx], eax
lea eax, [edi + 4]
cmp edx, eax
je 0x10013a5d
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10013a4e
mov eax, dword [eax]
push ecx
push eax
mov ecx, edx
call fcn.10016340
lea ecx, [esi + 0x79c]
movq xmm0, qword [edi + 0x1c]
movq qword [ecx + 0x1c], xmm0
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ecx + 0x30], eax
movups xmm0, xmmword [edi + 0x34]
movups xmmword [ecx + 0x34], xmm0
movups xmm0, xmmword [edi + 0x44]
movups xmmword [ecx + 0x44], xmm0
movups xmm0, xmmword [edi + 0x54]
movups xmmword [ecx + 0x54], xmm0
movups xmm0, xmmword [edi + 0x64]
mov edi, dword [ebp - 0x2fc]
movups xmmword [ecx + 0x64], xmm0
mov edx, dword [esi + 0x2a4]
mov eax, 0x8d3dcb09
mov ecx, dword [esi + 0x2a8]
add edi, 0x74
inc dword [ebp - 0x2f4]
sub ecx, edx
mov dword [ebp - 0x31c], edx
imul ecx
mov dword [ebp - 0x2fc], edi
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f4], eax
jb 0x100138d0
mov edx, dword [esi + 0x29c]
lea edi, [esi + 0x298]
movss xmm2, dword [0x1025b2a4]
jmp 0x10013b03
mov edx, dword [ebp - 0x2f8]
mov ecx, dword [edi]
xor eax, eax
mov dword [ebp - 0x2fc], eax
sub edx, ecx
mov eax, 0x77975b9
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10013bd5
xor eax, eax
xorps xmm1, xmm1
mov dword [ebp - 0x2f4], eax
movss xmm0, dword [esi + 0x18]
mov edx, ecx
comiss xmm0, xmm1
mov dword [ebp - 0x2f8], edx
jbe 0x10013b96
add eax, ecx
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x30c], eax
mov eax, dword [eax + 0x28]
cmp eax, dword [esi + 0x28]
je 0x10013b90
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x2f8], edx
comiss xmm2, dword [eax + 0x48]
jbe 0x10013b90
push eax
lea ecx, [esi + 0x810]
call fcn.100144d0
mov edx, dword [edi]
xorps xmm1, xmm1
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], edx
movss xmm2, dword [edx + eax + 0x48]
jmp 0x10013b96
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [edi + 4]
add eax, 0x224
inc dword [ebp - 0x2fc]
sub ecx, edx
mov dword [ebp - 0x2f4], eax
mov eax, 0x77975b9
imul ecx
mov eax, dword [ebp - 0x2f4]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [ebp - 0x2fc], ecx
mov ecx, dword [ebp - 0x2f8]
jb 0x10013b31
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e8209
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8