Function at 0x10002a00
Capabilities:
Access peb ldr_data

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
push 0xffffffffffffffff
push 0x10068f30
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2d58
call fcn.100421f0
mov eax, dword [0x10468f40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c70], ecx
mov ecx, dword [0x10531940]
mov edi, dword [ebx + 8]
mov byte [0x10531bac], 0
mov dword [ebp - 0x2ca4], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, dword [0x10531944]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
mov edi, eax
mov dword [ebp - 0x2c94], edi
test edi, edi
je 0x10003e5f
mov ecx, dword [0x10531a98]
cmp dword [ecx + edi], 0
jle 0x10003e5f
cmp byte [0x1052cb88], 0
je 0x10003e5f
push edi
call fcn.1003fc30
push eax
call fcn.1003fcc0
add esp, 8
test al, al
jne 0x10003e5f
mov eax, dword [0x10531af0]
movss xmm0, dword [eax + edi]
movss dword [ebp - 0x2c78], xmm0
call fcn.1003fa20
movss xmm0, dword [ebp - 0x2c78]
fstp dword [ebp - 0x2ca8]
comiss xmm0, dword [ebp - 0x2ca8]
jae 0x10003e5f
push edi
call fcn.1003fc30
add esp, 4
test eax, eax
je 0x10002d94
mov ecx, dword [0x10531b08]
mov eax, dword [ecx + eax]
cmp eax, 0x26
je 0x10002cf4
cmp eax, 0xb
je 0x10002cf4
cmp eax, 0x28
jne 0x10002bbb
mov al, byte [0x1052cbef]
mov byte [0x1052cb9c], al
mov al, byte [0x1052cbf0]
mov byte [0x1052cb9d], al
mov al, byte [0x1052cc15]
movups xmm0, xmmword [0x1052cbfc]
mov byte [0x1052cb8a], al
mov al, byte [0x1052cc10]
mov byte [0x1052cbb8], al
mov al, byte [0x1052cc16]
mov byte [0x1052cbbd], al
mov al, byte [0x1052cc11]
mov byte [0x1052cbb9], al
mov al, byte [0x1052cc17]
mov byte [0x1052cbbe], al
mov al, byte [0x1052cc12]
mov byte [0x1052cbba], al
mov al, byte [0x1052cc18]
mov byte [0x1052cbbf], al
mov al, byte [0x1052cc13]
mov byte [0x1052cbbb], al
mov al, byte [0x1052cc19]
mov byte [0x1052cbc0], al
mov al, byte [0x1052cc14]
movups xmmword [0x1052cba4], xmm0
mov byte [0x1052cbbc], al
movss xmm0, dword [0x1052cc0c]
mov al, byte [0x1052cc1a]
jmp 0x10002d87
cmp eax, 9
jne 0x10002c5c
mov al, byte [0x1052cc1b]
mov byte [0x1052cb9c], al
mov al, byte [0x1052cc1c]
mov byte [0x1052cb9d], al
mov al, byte [0x1052cc24]
movups xmm0, xmmword [0x1052cc2c]
mov byte [0x1052cb8a], al
mov al, byte [0x1052cc40]
mov byte [0x1052cbb8], al
mov al, byte [0x1052cc45]
mov byte [0x1052cbbd], al
mov al, byte [0x1052cc41]
mov byte [0x1052cbb9], al
mov al, byte [0x1052cc46]
mov byte [0x1052cbbe], al
mov al, byte [0x1052cc42]
mov byte [0x1052cbba], al
mov al, byte [0x1052cc47]
mov byte [0x1052cbbf], al
mov al, byte [0x1052cc43]
mov byte [0x1052cbbb], al
mov al, byte [0x1052cc48]
mov byte [0x1052cbc0], al
mov al, byte [0x1052cc44]
movups xmmword [0x1052cba4], xmm0
mov byte [0x1052cbbc], al
movss xmm0, dword [0x1052cc3c]
mov al, byte [0x1052cc49]
jmp 0x10002d87
mov al, byte [0x1052cc4a]
mov byte [0x1052cb9c], al
mov al, byte [0x1052cc4b]
mov byte [0x1052cb9d], al
mov al, byte [0x1052cc72]
movups xmm0, xmmword [0x1052cc54]
mov byte [0x1052cb8a], al
mov al, byte [0x1052cc68]
mov byte [0x1052cbb8], al
mov al, byte [0x1052cc6d]
mov byte [0x1052cbbd], al
mov al, byte [0x1052cc69]
mov byte [0x1052cbb9], al
mov al, byte [0x1052cc6e]
mov byte [0x1052cbbe], al
mov al, byte [0x1052cc6a]
mov byte [0x1052cbba], al
mov al, byte [0x1052cc6f]
mov byte [0x1052cbbf], al
mov al, byte [0x1052cc6b]
mov byte [0x1052cbbb], al
mov al, byte [0x1052cc70]
mov byte [0x1052cbc0], al
mov al, byte [0x1052cc6c]
movups xmmword [0x1052cba4], xmm0
mov byte [0x1052cbbc], al
movss xmm0, dword [0x1052cc64]
mov al, byte [0x1052cc71]
jmp 0x10002d87
mov al, byte [0x1052cbc3]
mov byte [0x1052cb9c], al
mov al, byte [0x1052cbc4]
mov byte [0x1052cb9d], al
mov al, byte [0x1052cbee]
movups xmm0, xmmword [0x1052cbd0]
mov byte [0x1052cb8a], al
mov al, byte [0x1052cbe4]
mov byte [0x1052cbb8], al
mov al, byte [0x1052cbe9]
mov byte [0x1052cbbd], al
mov al, byte [0x1052cbe5]
mov byte [0x1052cbb9], al
mov al, byte [0x1052cbea]
mov byte [0x1052cbbe], al
mov al, byte [0x1052cbe6]
mov byte [0x1052cbba], al
mov al, byte [0x1052cbeb]
mov byte [0x1052cbbf], al
mov al, byte [0x1052cbe7]
mov byte [0x1052cbbb], al
mov al, byte [0x1052cbec]
mov byte [0x1052cbc0], al
mov al, byte [0x1052cbe8]
movups xmmword [0x1052cba4], xmm0
mov byte [0x1052cbbc], al
movss xmm0, dword [0x1052cbe0]
mov al, byte [0x1052cbed]
mov byte [0x1052cbc1], al
movss dword [0x1052cbb4], xmm0
push edi
call fcn.1003fc30
push eax
call fcn.1003fcf0
mov esi, dword [ebp - 0x2c70]
xor edx, edx
movss xmm0, dword [0x1006c384]
add esp, 8
add esi, 0x20
mov byte [ebp - 0x2c59], al
mov dword [ebp - 0x2c78], edx
mov dword [ebp - 0x2c90], esi
nop dword [eax + eax]
mov dword [esi - 0x20], 0xffffffff
mov dword [esi - 0x1c], 0xffffffff
mov ecx, dword [0x10531944]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
mov dword [ebp - 0x2c74], edx
test edx, edx
je 0x100033c4
mov ecx, dword [0x10531ab8]
mov cl, byte [ecx + edx]
test cl, cl
jne 0x100033c4
mov ecx, dword [0x10531adc]
cmp byte [ecx + edx], 0
jne 0x100033c4
mov eax, dword [0x10531a98]
cmp dword [eax + edx], 0
jle 0x100033c4
mov eax, dword [0x10531ab0]
mov ecx, dword [eax + edi]
cmp dword [eax + edx], ecx
je 0x100033c4
push edx
lea eax, [ebp - 0x2cc0]
mov dword [ebp - 0x2ca8], 0
push eax
mov ecx, 0x1051ad38
call fcn.1000b9e0
mov ecx, dword [ebp - 0x2cbc]
mov eax, dword [ebp - 0x2cc0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2ca0], ecx
mov dword [ebp - 0x2c9c], eax
cmp eax, ecx
je 0x1000334e
add eax, 0x38
mov dword [ebp - 0x2c68], eax
nop dword [eax]
lea edx, [eax - 0x38]
mov eax, 0x2ba8
mov dword [ebp - 0x2c8c], edx
call fcn.100421f0
mov esi, edx
mov ecx, 0xaea
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.1000c500
mov edx, dword [ebp - 0x2c8c]
add esp, 0x2ba8
mov dword [ebp - 0x2c64], eax
mov ecx, 7
mov eax, dword [ebp - 0x2c68]
movss xmm1, dword [edx]
movaps xmm0, xmm1
addss xmm0, dword [eax - 8]
movss xmm2, dword [eax - 0x34]
addss xmm1, dword [eax + 4]
movups xmmword [ebp - 0x80], xmm0
movaps xmm0, xmm2
movaps xmmword [ebp - 0x2d60], xmm1
addss xmm0, dword [eax - 4]
addss xmm2, dword [eax + 8]
movss dword [ebp - 0x2cf4], xmm1
movss dword [ebp - 0x2cd0], xmm0
movss xmm0, dword [eax - 0x30]
movaps xmm3, xmm0
movss dword [ebp - 0x2cd4], xmm2
addss xmm0, dword [eax + 0xc]
addss xmm3, dword [eax]
movss dword [ebp - 0x2cf0], xmm2
lea eax, [ebp - 0x68]
movss dword [ebp - 0x2ce8], xmm0
movss dword [ebp - 0x2c9c], xmm3
movss dword [ebp - 0x2cec], xmm0
nop word [eax + eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10002f50
push ecx
mov ecx, dword [ebp - 0x2c70]
lea eax, [ebp - 0x2d50]
push edx
push dword [ebp - 0x2c74]
push eax
call fcn.10004a30
movss xmm3, dword [ebp - 0x2ce8]
lea esi, [ebp - 0x70]
movups xmm6, xmmword [ebp - 0x80]
mov edi, dword [ebp - 0x2c94]
movq xmm0, qword [eax]
movaps xmm4, xmmword [ebp - 0x2d60]
movss xmm5, dword [ebp - 0x2cd4]
movaps xmm2, xmm4
movss xmm7, dword [ebp - 0x2cd0]
addss xmm2, xmm6
movq qword [ebp - 0x70], xmm0
movaps xmm1, xmm5
mov eax, dword [eax + 8]
addss xmm1, xmm7
movaps xmm0, xmm3
mov dword [ebp - 0x68], eax
addss xmm0, dword [ebp - 0x2c9c]
mulss xmm2, dword [0x1006c384]
mulss xmm1, dword [0x1006c384]
mulss xmm0, dword [0x1006c384]
movss dword [ebp - 0x2d24], xmm3
movss dword [ebp - 0x2d30], xmm3
movss dword [ebp - 0x2d0c], xmm0
movaps xmm0, xmm2
mov eax, dword [ebp - 0x2d0c]
unpcklps xmm0, xmm1
movq qword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x2c9c]
mov dword [ebp - 0x5c], eax
movss dword [ebp - 0x2d18], xmm0
mov eax, dword [ebp - 0x2d18]
movq xmm0, qword [ebp - 0x2cf4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2cec]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2d24]
movq qword [ebp - 0x4c], xmm0
movaps xmm0, xmm6
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2d30]
unpcklps xmm2, xmm1
unpcklps xmm4, xmm7
unpcklps xmm0, xmm7
mov dword [ebp - 0x2c], eax
movss dword [ebp - 0x2d3c], xmm3
mov eax, dword [ebp - 0x2d3c]
unpcklps xmm6, xmm5
movq qword [ebp - 0x58], xmm2
movq qword [ebp - 0x40], xmm4
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x28], xmm6
mov dword [ebp - 0x20], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [0x10531aac]
push 0xffffffffffffffff
push dword [ebp - 0x2c74]
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x2c7c], eax
mov eax, dword [0x10531ad0]
movq qword [ebp - 0x2c84], xmm0
movss xmm0, dword [ebp - 0x2c7c]
movss xmm2, dword [ebp - 0x2c84]
addss xmm0, dword [eax + edi + 8]
addss xmm2, dword [eax + edi]
movss xmm1, dword [ebp - 0x2c80]
addss xmm1, dword [eax + edi + 4]
mov eax, dword [esi + 8]
push edi
sub esp, 0xc
movss dword [ebp - 0x2d00], xmm0
movq xmm0, qword [esi]
mov ecx, esp
sub esp, 0xc
unpcklps xmm2, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x2d00]
movq qword [ecx], xmm2
mov dword [ecx + 8], eax
lea eax, [ebp - 0x94]
push eax
mov ecx, 0x1051ad18
call fcn.1000a020
cmp dword [eax], 0
jg 0x10003152
add esi, 0xc
lea eax, [ebp - 0x1c]
cmp esi, eax
jne 0x100030a0
mov eax, dword [ebp - 0x2c68]
jmp 0x1000331c
mov eax, dword [ebp - 0x2c68]
cmp byte [eax + 0x38], 0
je 0x10003165
call fcn.1003fba0
fstp st(0)
push 0
mov eax, 0x2ba8
call fcn.100421f0
mov esi, dword [ebp - 0x2c8c]
mov edi, esp
mov ecx, 0xaea
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2c74]
mov ecx, 0x1051ad38
push edi
call fcn.1000c640
movd xmm0, dword [ebp - 0x2c64]
mov eax, dword [0x10531948]
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, 0x1051ad38
mulss xmm0, dword [eax + 0x20]
movss dword [esp], xmm0
push edi
call fcn.1000b5c0
cmp byte [ebp - 0x2c59], 0
mov ecx, dword [ebp - 0x2c70]
je 0x10003229
mov esi, dword [ebp - 0x2c90]
push esi
push dword [ebp - 0x2c8c]
push edi
call fcn.100046f0
mov ecx, dword [ebp - 0x2c68]
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x3e8
mov dword [esi - 0x1c], eax
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x2c64]
mov dword [esi - 0x18], eax
lea eax, [ecx - 0x38]
mov byte [esi - 0x10], 0
mov dword [esi - 0x20], 0xffffffff
push eax
lea ecx, [esi + 0xc]
call fcn.10001c80
mov edi, dword [ebp - 0x2c94]
mov eax, dword [ebp - 0x2c68]
mov dword [esi - 0x14], 0
jmp 0x10003322
mov esi, dword [ebp - 0x2c8c]
lea eax, [ebp - 0x2cd8]
push eax
lea eax, [ebp - 0x2ce4]
mov dword [ebp - 0x2ce4], 0
push eax
push esi
push edi
mov dword [ebp - 0x2ce0], 0
mov dword [ebp - 0x2cdc], 0
mov dword [ebp - 0x2ccc], 0
mov dword [ebp - 0x2cc8], 0
mov dword [ebp - 0x2cc4], 0
call fcn.10003e90
mov ecx, dword [ebp - 0x2c70]
lea eax, [ebp - 0x2c98]
push eax
lea eax, [ebp - 0x2ccc]
push eax
push esi
push edi
call fcn.100041e0
mov edx, dword [ebp - 0x2cd8]
mov esi, edx
mov ecx, dword [ebp - 0x2c98]
cmp edx, ecx
mov eax, dword [ebp - 0x2c68]
mov edi, dword [ebp - 0x2ca8]
cmovl esi, ecx
mov dword [eax + 0x3c], esi
cmp edx, edi
jg 0x100032c5
cmp ecx, edi
jle 0x10003316
movq xmm0, qword [ebp - 0x2ce4]
mov eax, dword [ebp - 0x2cdc]
push dword [ebp - 0x2c8c]
mov dword [ebp - 0x2ca8], esi
mov esi, dword [ebp - 0x2c90]
movq qword [esi - 0xc], xmm0
movq xmm0, qword [ebp - 0x2ccc]
mov dword [esi - 4], eax
mov eax, dword [ebp - 0x2cc4]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c64]
mov dword [esi - 0x20], edx
mov dword [esi - 0x1c], ecx
mov dword [esi - 0x18], eax
jmp 0x10003209
mov edi, dword [ebp - 0x2c94]
mov esi, dword [ebp - 0x2c90]
add eax, 0x2ba8
mov dword [ebp - 0x2c68], eax
add eax, 0xffffffc8
cmp eax, dword [ebp - 0x2ca0]
mov eax, dword [ebp - 0x2c68]
jne 0x10002e90
mov eax, dword [ebp - 0x2cc0]
mov dword [ebp - 0x2c9c], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100033c4
mov ecx, dword [ebp - 0x2cb8]
sub ecx, eax
mov eax, 0x5dd2eba9
imul ecx
mov ecx, dword [ebp - 0x2c9c]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul edx, eax, 0x2ba8
mov eax, ecx
cmp edx, 0x1000
jb 0x1000339c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e7f
push edx
push ecx
call fcn.10041fcb
add esp, 8
mov dword [ebp - 0x2cc0], 0
mov dword [ebp - 0x2cbc], 0
mov dword [ebp - 0x2cb8], 0
mov edx, dword [ebp - 0x2c78]
add esi, 0x2bd4
inc edx
mov dword [ebp - 0x2c90], esi
mov dword [ebp - 0x2c78], edx
cmp edx, 0x40
jl 0x10002dd0
lea ecx, [ebp - 0x2c58]
mov dword [ebp - 0x2c6c], 0
mov dword [ebp - 0x2c88], 0
call fcn.10001890
mov esi, dword [ebp - 0x2c70]
xor edx, edx
mov dword [ebp - 0x2c60], 0
add esi, 0x10
mov byte [ebp - 0x2c5b], 0
mov dword [ebp - 0x2cb4], 0
mov dword [ebp - 0x2cb0], 0
mov dword [ebp - 0x2cac], 0
mov dword [ebp - 0x2c64], edx
mov ecx, dword [0x10531944]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
mov dword [ebp - 0x2ca0], edx
test edx, edx
je 0x100038b2
mov ecx, dword [0x10531ab8]
cmp byte [ecx + edx], 0
jne 0x100038b2
mov ecx, dword [0x10531adc]
cmp byte [ecx + edx], 0
jne 0x100038b2
mov eax, dword [0x10531a98]
mov eax, dword [eax + edx]
mov dword [ebp - 0x2c78], eax
test eax, eax
jle 0x100038b2
mov ecx, dword [0x10531ab0]
mov eax, dword [ecx + edx]
cmp eax, dword [ecx + edi]
je 0x100038b2
cmp byte [ebp - 0x2c59], 0
lea eax, [ebp - 0x2c5b]
mov ecx, dword [esi - 0xc]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x2cb4]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x2c60]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x2c58]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x2c6c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x2c88]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x2c64]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c70]
mov dword [ebp - 0x74], eax
mov eax, dword [esi - 0x10]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x2c98], ecx
je 0x10003736
cmp ecx, dword [ebp - 0x2c6c]
jle 0x100038b2
push 1
lea ecx, [ebp - 0x94]
call fcn.100025a0
mov ecx, dword [ebp - 0x2c60]
mov byte [ebp - 0x2c5a], 0
test ecx, ecx
je 0x10003e42
mov eax, dword [0x10531948]
movss xmm0, dword [0x10519940]
mov byte [0x10531bac], 1
addss xmm0, dword [eax + 0x20]
movss dword [0x10519940], xmm0
movss xmm0, dword [0x1052cbb4]
comiss xmm0, dword [0x1006c370]
jbe 0x10003589
mov eax, dword [0x10531a9c]
test byte [eax + edi], 1
jne 0x100035c2
mov eax, dword [0x10531a98]
mov eax, dword [eax + ecx]
add eax, 0xa
cmp dword [ebp - 0x2c6c], eax
mov al, byte [ebp - 0x2c59]
jle 0x100035cf
test al, al
jne 0x100035cf
cmp byte [0x10531ba2], al
jne 0x100035cf
push 0
call fcn.1003f730
mov ecx, dword [ebp - 0x2c60]
add esp, 4
test al, al
je 0x100035c9
mov byte [ebp - 0x2c5a], 1
mov al, byte [ebp - 0x2c59]
cmp byte [0x1052cb89], 0
mov esi, dword [ebp - 0x2ca4]
je 0x100035e2
or dword [esi + 0x30], 4
test al, al
je 0x100035f8
mov eax, dword [0x10531a98]
mov byte [ebp - 0x2c74], 1
cmp dword [eax + ecx], 0x1e
jg 0x100035ff
mov byte [ebp - 0x2c74], 0
push dword [ebp - 0x2c74]
call fcn.1003f730
add esp, 4
test al, al
je 0x10003e25
mov eax, dword [0x10531b00]
cmp byte [eax + edi], 0
jne 0x10003645
push edi
call fcn.1003fc30
push eax
call fcn.1003fd30
add esp, 8
test al, al
je 0x10003645
mov eax, dword [0x10531a9c]
test byte [eax + edi], 1
je 0x10003645
or dword [esi + 0x30], 0x800
movss xmm0, dword [0x1052cbb4]
comiss xmm0, dword [0x1006c370]
jbe 0x10003661
mov eax, dword [0x10531a9c]
test byte [eax + edi], 1
jne 0x10003697
mov ecx, dword [ebp - 0x2c60]
mov eax, dword [0x10531a98]
mov edx, dword [ebp - 0x2c6c]
cmp edx, dword [eax + ecx]
jle 0x1000369e
cmp byte [ebp - 0x2c59], 0
jne 0x1000369e
cmp byte [0x10531ba2], 0
jne 0x1000369e
push 0
call fcn.1003f730
add esp, 4
test al, al
je 0x1000369e
mov byte [ebp - 0x2c5a], 1
mov ecx, dword [0x10531940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, dword [0x10531944]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
mov esi, eax
push esi
call fcn.1003fc30
add esp, 4
mov edi, eax
test esi, esi
je 0x10003a3f
test edi, edi
je 0x10003a3f
cmp byte [ebp - 0x2c5a], 0
je 0x10003a3f
mov eax, dword [0x10531aa0]
movq xmm0, qword [esi + eax]
mov eax, dword [esi + eax + 8]
movq qword [ebp - 0x2c84], xmm0
movss xmm1, dword [ebp - 0x2c84]
movss xmm0, dword [ebp - 0x2c80]
mulss xmm1, xmm1
mov dword [ebp - 0x2c7c], eax
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100038d3
sqrtsd xmm0, xmm0
jmp 0x100038d8
test ecx, ecx
jg 0x10003742
test eax, eax
jle 0x100038b2
cmp byte [0x1052cb9d], 0
jne 0x1000375a
mov byte [ebp - 0x2c5a], 0
cmp dword [ebp - 0x2c78], ecx
jge 0x10003761
mov byte [ebp - 0x2c5a], 1
cmp byte [0x1052cb9c], 0
je 0x1000377c
movzx eax, word [esi + 0x2b84]
test al, 0x1e
je 0x10003861
mov eax, dword [esi - 0x10]
cmp byte [ebp - 0x2c5a], 0
jne 0x10003861
test ecx, ecx
jle 0x1000384b
test eax, eax
jle 0x1000384b
cmp ecx, dword [ebp - 0x2c78]
jg 0x100037e8
cmp ecx, eax
jg 0x100037e8
mov byte [ebp - 0x2c5b], 0
lea ecx, [ebp - 0x2c58]
mov eax, dword [esi - 8]
mov dword [ebp - 0x2c88], eax
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x2c60], edx
call fcn.10001c80
movq xmm0, qword [esi + 4]
movq qword [ebp - 0x2cb4], xmm0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2cac], eax
mov eax, dword [esi - 0x10]
jmp 0x100038ac
cmp byte [esi], 0
lea ecx, [ebp - 0x2c58]
sete byte [ebp - 0x2c5b]
mov eax, dword [esi - 8]
mov dword [ebp - 0x2c88], eax
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x2c60], edx
call fcn.10001c80
movq xmm0, qword [esi + 0x10]
mov ecx, dword [ebp - 0x2ca0]
mov edx, dword [ebp - 0x2c98]
movq qword [ebp - 0x2cb4], xmm0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x2cac], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x2c6c], eax
mov eax, dword [0x10531a98]
cmp edx, dword [eax + ecx]
jg 0x10003537
jmp 0x100038b2
cmp ecx, eax
lea ecx, [ebp - 0x94]
setg al
movzx eax, al
push eax
call fcn.100025a0
jmp 0x100038b2
cmp ecx, dword [ebp - 0x2c6c]
jle 0x100038b2
cmp byte [esi], 0
jne 0x100038b2
mov byte [ebp - 0x2c5b], 1
lea ecx, [ebp - 0x2c58]
mov eax, dword [esi - 8]
mov dword [ebp - 0x2c88], eax
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x2c60], edx
call fcn.10001c80
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2cb4], xmm0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x2cac], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x2c6c], eax
mov edx, dword [ebp - 0x2c64]
add esi, 0x2bd4
inc edx
mov dword [ebp - 0x2c64], edx
cmp edx, 0x20
jl 0x10003445
jmp 0x10003537
call fcn.10047870
cmp dword [esi + 0x3340], 0
mov ecx, edi
mov eax, dword [edi]
cvtsd2ss xmm0, xmm0
mov eax, dword [eax + 0x6f8]
movss dword [ebp - 0x2c64], xmm0
jle 0x10003903
call eax
movss xmm0, dword [eax + 0x130]
jmp 0x1000390d
call eax
movss xmm0, dword [eax + 0x12c]
divss xmm0, dword [0x1006c38c]
comiss xmm0, dword [ebp - 0x2c64]
jae 0x10003a3f
cmp dword [esi + 0x3340], 0
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
jne 0x10003941
call eax
movss xmm0, dword [eax + 0x12c]
jmp 0x1000394b
call eax
movss xmm0, dword [eax + 0x130]
mulss xmm0, dword [0x1006c380]
comiss xmm0, dword [ebp - 0x2c64]
ja 0x10003a3f
mov eax, dword [0x10531aa0]
mov dword [ebp - 0x2cc0], 0
mov dword [ebp - 0x2cbc], 0
mov dword [ebp - 0x2cb8], 0
movq xmm0, qword [esi + eax]
movq qword [ebp - 0x2c84], xmm0
mov eax, dword [esi + eax + 8]
mov dword [ebp - 0x2c7c], eax
lea eax, [ebp - 0x2cc0]
push eax
lea eax, [ebp - 0x2c84]
push eax
call fcn.1003b4f0
mov esi, dword [ebp - 0x2ca4]
lea eax, [ebp - 0x2ccc]
push 0
push 0
push eax
movss xmm0, dword [esi + 0x10]
lea eax, [ebp - 0x2cc0]
subss xmm0, dword [ebp - 0x2cbc]
push eax
mov dword [ebp - 0x2ccc], 0
mov dword [ebp - 0x2cc8], 0
mov dword [ebp - 0x2cc4], 0
movss dword [ebp - 0x2cbc], xmm0
call fcn.1003b220
movss xmm1, dword [ebp - 0x2c64]
add esp, 0x14
xorps xmm1, xmmword [0x1006c3c0]
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x2cc8]
mulss xmm0, dword [ebp - 0x2ccc]
movss dword [esi + 0x28], xmm1
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esi + 0x10]
movss dword [esp], xmm0
push esi
call fcn.1003fd80
add esp, 8
push 0
mov eax, 0x2ba8
lea esi, [ebp - 0x2c58]
call fcn.100421f0
mov edi, esp
mov ecx, 0xaea
push dword [ebp - 0x2c60]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1051ad38
call fcn.1000c640
movd xmm0, dword [ebp - 0x2c88]
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, 0x1051ad38
movss dword [esp], xmm0
push dword [ebp - 0x2c60]
call fcn.1000b5c0
mov ecx, dword [0x10531940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, dword [ebp - 0x2c94]
mov edi, eax
push esi
call fcn.1003fc30
add esp, 4
cmp byte [ebp - 0x2c59], 0
jne 0x10003b0a
test eax, eax
je 0x10003ac5
mov ecx, dword [0x10531b08]
cmp dword [eax + ecx], 0x40
je 0x10003b0a
movq xmm0, qword [ebp - 0x2cb4]
sub esp, 0xc
mov eax, dword [ebp - 0x2cac]
mov edx, esp
mov ecx, dword [ebp - 0x2c70]
push dword [ebp - 0x2c60]
movq qword [edx], xmm0
mov dword [edx + 8], eax
call fcn.100050c0
test al, al
je 0x10003e42
test edi, edi
je 0x10003e42
cmp dword [edi + 0x2c], 0
je 0x10003e42
cmp byte [ebp - 0x2c74], 0
mov ecx, 1
mov edi, dword [ebp - 0x2ca4]
mov eax, 0x800
cmove eax, ecx
mov ecx, esi
or dword [edi + 0x30], eax
lea eax, [ebp - 0x2cb4]
push eax
lea eax, [ebp - 0x2d50]
push eax
call fcn.100049d0
push eax
lea eax, [ebp - 0x2d08]
push eax
call fcn.10002990
mov ecx, dword [0x10531ad8]
add esp, 0xc
movss xmm3, dword [eax]
movq xmm0, qword [ecx + esi]
mov ecx, dword [ecx + esi + 8]
movss xmm2, dword [eax + 4]
movq qword [ebp - 0x2c84], xmm0
movss xmm0, dword [ebp - 0x2c84]
addss xmm0, xmm0
mov dword [ebp - 0x2c7c], ecx
movss xmm1, dword [ebp - 0x2c7c]
addss xmm1, xmm1
subss xmm3, xmm0
movss xmm0, dword [ebp - 0x2c80]
addss xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
unpcklps xmm3, xmm2
movq qword [edi + 0xc], xmm3
movss dword [ebp - 0x2d00], xmm0
mov eax, dword [ebp - 0x2d00]
movq xmm0, qword [ebp - 0x2cb4]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x2c88]
mov dword [edi + 8], eax
mov ecx, dword [0x10531940]
mov eax, dword [ebp - 0x2cac]
mov dword [ebp - 0x2c7c], eax
movq qword [ebp - 0x2c84], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
movss xmm4, dword [ebp - 0x2c84]
movss xmm3, dword [ebp - 0x2c80]
movss xmm2, dword [ebp - 0x2c7c]
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x20]
movups xmm5, xmmword [eax + 0x10]
movups xmmword [ebp - 0x90], xmm0
movaps xmm0, xmm1
movaps xmm7, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm3
mulss xmm7, xmm4
movups xmm6, xmmword [eax + 0x30]
addss xmm7, xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mulss xmm0, xmm2
shufps xmm1, xmm1, 0xff
addss xmm7, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm5, 0x55
mulss xmm0, xmm3
addss xmm7, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm4
addss xmm1, xmm0
movss dword [ebp - 0x2c98], xmm7
movaps xmm0, xmm5
shufps xmm0, xmm5, 0xaa
mulss xmm0, xmm2
shufps xmm5, xmm5, 0xff
addss xmm1, xmm0
addss xmm1, xmm5
movaps xmm0, xmm6
shufps xmm0, xmm6, 0x55
mulss xmm0, xmm3
movss dword [ebp - 0x2cd4], xmm1
movaps xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm6
shufps xmm0, xmm6, 0xaa
mulss xmm0, xmm2
shufps xmm6, xmm6, 0xff
addss xmm1, xmm0
movss xmm0, dword [0x1006c374]
addss xmm1, xmm6
comiss xmm0, xmm1
movss dword [ebp - 0x2ca0], xmm1
ja 0x10003dde
mov ecx, dword [0x10531940]
lea edx, [ebp - 0x2cd0]
push edx
lea edx, [ebp - 0x2cd8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm2, dword [0x1006c388]
divss xmm2, dword [ebp - 0x2ca0]
mov eax, dword [ebp - 0x2cd8]
mov ecx, dword [ebp - 0x2cd0]
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x7c], 0x32
mov dword [ebp - 0x74], 0xff0000ff
mov dword [ebp - 0x78], 0x40600000
movss xmm3, dword [ebp - 0x2c98]
movss xmm5, dword [0x1006c384]
movss xmm4, dword [ebp - 0x2cd4]
movd xmm0, eax
cdq
mulss xmm3, xmm2
sub eax, edx
sar eax, 1
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm5
mulss xmm4, xmm2
mulss xmm3, xmm0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
addss xmm3, xmm5
mulss xmm4, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm3, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm3
mulss xmm4, xmm0
mov dword [ebp - 0x88], eax
addss xmm4, xmm5
subss xmm1, xmm4
cvttss2si eax, xmm1
mov dword [ebp - 0x84], eax
mov eax, dword [0x10531b90]
cmp eax, dword [0x10531b94]
je 0x10003dcc
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [eax + 0x10], xmm0
add dword [0x10531b90], 0x18
jmp 0x10003dde
lea ecx, [ebp - 0x88]
push ecx
push eax
mov ecx, 0x10531b8c
call fcn.10001780
cmp byte [ebp - 0x2c59], 0
jne 0x10003e0c
sub esp, 0x440
lea esi, [ebp - 0x4f0]
mov edi, esp
mov ecx, 0x110
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x2c60]
mov ecx, 0x1051b248
call fcn.1001d190
cmp byte [0x10531ba2], 0
jne 0x10003e42
mov byte [0x10531ba0], 0
mov byte [0x10531ba1], 0
jmp 0x10003e42
push edi
call fcn.1003fc30
add esp, 4
test eax, eax
je 0x10003e42
mov edx, dword [0x10531b08]
cmp dword [eax + edx], 0x40
jne 0x10003e42
or dword [esi + 0x30], 1
mov ecx, 0x1051ad38
call fcn.1000ca50
cmp dword [ebp - 0x2c60], 0
jne 0x10003e5f
mov dword [0x10519940], 0
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.100421e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1004748f
int3