Function at 0x5269a0
Capabilities:
Execute anti-debugging instructions
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x538
push esi
push edi
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x5269dd
mov dword [esi], str.TtentityBatchRecalcAabb
rdtsc
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
movss xmm0, dword [eax + 0xc]
xor eax, eax
mulss xmm0, dword [0x719760]
mov dword [esp + 0x44], eax
movss dword [esp + 0x48], xmm0
cmp dword [ebp + 0x10], eax
jle 0x5278bb
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + eax*4]
mov dword [esp + 0x2c], edi
mov ecx, dword [edi + 0x10]
cmp dword [ecx + 0xc], 0x11
je 0x52754d
cmp word [edi + 0x52], 0
je 0x52754d
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
mov dword [esp + 0x38], eax
mov edx, dword [eax]
mov edx, dword [edx + 4]
call edx
push dword [0x884adc]
mov esi, eax
mov dword [esp + 0x44], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov edx, esi
shl edx, 5
add edx, 0x7f
and edx, 0xffffff80
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
add eax, edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ecx + 8]
jg 0x526a73
cmp eax, dword [ecx + 0x10]
ja 0x526a73
mov dword [ecx + 0xc], eax
jmp 0x526a7d
push edx
call fcn.0046a3c0
mov dword [esp + 0x30], eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
lea edx, [esi*4 + 0x7f]
and edx, 0xffffff80
mov dword [esp + 0x50], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
add eax, edx
cmp edx, dword [ecx + 8]
jg 0x526ab1
cmp eax, dword [ecx + 0x10]
ja 0x526ab1
mov dword [ecx + 0xc], eax
jmp 0x526abb
push edx
call fcn.0046a3c0
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x1a0]
lea eax, [edi + 0xf0]
push ecx
push eax
mov dword [esp + 0x54], eax
call fcn.0064db20
mov ecx, dword [esp + 0x40]
add esp, 8
mov eax, dword [esp + 0x34]
movaps xmm1, xmmword [edi + 0x140]
mov dword [esp + 0x28], eax
movaps xmm0, xmm1
mov eax, dword [ecx]
movaps xmmword [esp + 0x140], xmm1
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x160], xmm1
mov eax, dword [eax + 8]
movaps xmmword [esp + 0x170], xmm0
call eax
mov ecx, eax
mov dword [esp + 0x20], ecx
cmp ecx, 0xffffffff
je 0x527037
movaps xmm0, xmmword [0x786aa0]
shufps xmm0, xmmword [0x786aa0], 0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
add esi, 0x18
movaps xmmword [esp + 0x180], xmm0
mov eax, dword [edi]
lea edx, [esp + 0x340]
push edx
push ecx
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [esp + 0x48]
lea ecx, [esp + 0x100]
push ecx
push ecx
mov edx, dword [eax]
mov ecx, eax
movss dword [esp], xmm0
push dword [esp + 0x54]
call dword [edx + 0x1c]
movaps xmm5, xmmword [0x727d50]
subps xmm5, xmmword [esp + 0x180]
movaps xmm0, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0x110]
subps xmm3, xmm0
mov edx, dword [esp + 0x1a0]
mulps xmm0, xmmword [esp + 0x180]
mov ecx, dword [esp + 0x2b0]
mulps xmm5, xmmword [esp + 0x110]
mulps xmm3, xmmword [0x786aa0]
movups xmm7, xmmword [edx + 0x80]
addps xmm5, xmm0
movaps xmmword [esp + 0x190], xmm3
movaps xmm4, xmm5
movaps xmm0, xmm5
shufps xmm0, xmm5, 0x55
movaps xmm6, xmm5
mulps xmm0, xmmword [esp + 0x310]
shufps xmm4, xmm5, 0
mulps xmm4, xmmword [esp + 0x300]
addps xmm4, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm5, 0xaa
mulps xmm0, xmmword [esp + 0x320]
addps xmm0, xmmword [esp + 0x330]
addps xmm4, xmm0
movaps xmm1, xmm4
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
mulps xmm0, xmmword [esp + 0x2d0]
shufps xmm1, xmm4, 0
mulps xmm1, xmmword [esp + 0x2c0]
addps xmm1, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xaa
mulps xmm0, xmmword [esp + 0x2e0]
addps xmm0, xmmword [esp + 0x2f0]
addps xmm1, xmm0
minps xmm6, xmm1
maxps xmm5, xmm1
test ecx, ecx
jle 0x526cb1
subps xmm4, xmm7
lea eax, [esp + 0x1d0]
nop dword [eax + eax]
movaps xmm2, xmmword [eax + 0x10]
movaps xmm3, xmm2
shufps xmm3, xmm2, 0xff
shufps xmm3, xmm3, 0
mulps xmm3, xmm4
addps xmm3, xmm7
movaps xmm1, xmm3
movaps xmm0, xmm3
shufps xmm1, xmm3, 0x55
mulps xmm1, xmmword [eax - 0x10]
shufps xmm0, xmm3, 0
mulps xmm0, xmmword [eax - 0x20]
shufps xmm3, xmm3, 0xaa
mulps xmm3, xmmword [eax]
add eax, 0x40
addps xmm1, xmm0
addps xmm3, xmm2
addps xmm1, xmm3
minps xmm6, xmm1
maxps xmm5, xmm1
sub ecx, 1
jne 0x526c60
movaps xmm3, xmmword [esp + 0x190]
movaps xmm1, xmm3
movaps xmm4, xmmword [esp + 0x110]
mulps xmm1, xmm3
mov ecx, dword [ebp + 8]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
addss xmm0, xmm1
shufps xmm1, xmm1, 0xaa
addss xmm1, xmm0
movaps xmm0, xmmword [0x786ab0]
sqrtss xmm1, xmm1
shufps xmm1, xmm1, 0
mulps xmm0, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0
movaps xmm1, xmmword [edx + 0x90]
shufps xmm1, xmm1, 0xff
shufps xmm0, xmm0, 0
minps xmm1, xmm0
movaps xmm0, xmmword [esp + 0x100]
shufps xmm1, xmm1, 0
mulps xmm1, xmm2
addps xmm1, xmm3
movaps xmm3, xmm0
minps xmm2, xmm1
movaps xmm1, xmmword [esp + 0x160]
subps xmm6, xmm2
addps xmm5, xmm2
movaps xmm2, xmmword [esp + 0x140]
minps xmm2, xmm0
minps xmm3, xmm6
maxps xmm4, xmm5
minps xmm1, xmm3
movaps xmmword [esp + 0x140], xmm2
movaps xmm2, xmmword [esp + 0x150]
maxps xmm2, xmmword [esp + 0x110]
movaps xmmword [esp + 0x160], xmm1
movaps xmm1, xmmword [esp + 0x170]
maxps xmm1, xmm4
movaps xmmword [esp + 0x150], xmm2
movaps xmm2, xmmword [0x87aea0]
movaps xmmword [esp + 0x170], xmm1
movaps xmm1, xmmword [ecx + 0x20]
addps xmm1, xmm0
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x14], xmm1
fld dword [esp + 0x14]
fistp dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mov dword [esi - 0x18], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mov dword [esi - 0x14], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0xf8]
mov eax, dword [esp + 0xf8]
shufps xmm1, xmm1, 0xff
mov dword [esi - 0x10], eax
movss dword [esp + 0x14], xmm1
fld dword [esp + 0x14]
fistp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
movaps xmm1, xmmword [esp + 0x110]
mov dword [esi - 0xc], eax
addps xmm1, xmmword [ecx + 0x30]
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x14], xmm1
fld dword [esp + 0x14]
fistp dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mov dword [esi - 8], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mov dword [esi - 4], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
shufps xmm1, xmm1, 0xff
mov dword [esi], eax
movss dword [esp + 0x14], xmm1
fld dword [esp + 0x14]
fistp dword [esp + 0x68]
mov eax, dword [esp + 0x68]
mov dword [esi + 4], eax
movaps xmm1, xmmword [ecx + 0x20]
movaps xmm2, xmmword [0x87aea0]
addps xmm1, xmm3
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x14], xmm1
fld dword [esp + 0x14]
fistp dword [esp + 0x6c]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0x70]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0x74]
shufps xmm1, xmm1, 0xff
movss dword [esp + 0x14], xmm1
fld dword [esp + 0x14]
fistp dword [esp + 0x134]
addps xmm4, xmmword [ecx + 0x30]
mulps xmm4, xmmword [ecx + 0x40]
minps xmm4, xmm2
maxps xmm4, xmmword [0x719320]
movss dword [esp + 0x14], xmm4
fld dword [esp + 0x14]
fistp dword [esp + 0x78]
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0x7c]
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xaa
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fistp dword [esp + 0x80]
shufps xmm4, xmm4, 0xff
movss dword [esp + 0x14], xmm4
fld dword [esp + 0x14]
fistp dword [esp + 0x12c]
mov eax, dword [esi - 0x10]
sub eax, dword [esp + 0x74]
mov ecx, dword [esi - 0x14]
sub ecx, dword [esp + 0x70]
mov edx, dword [esi - 0x18]
sub edx, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x78]
sub eax, dword [esi - 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esi - 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
sub eax, dword [esi]
mov dword [esp + 0x18], eax
or eax, dword [esp + 0x14]
or eax, dword [esp + 0x24]
or eax, dword [esp + 0x38]
or eax, ecx
mov dword [esp + 0x3c], ecx
or eax, edx
xor ecx, ecx
cmp eax, 0x800
jl 0x526fbd
nop dword [eax]
shr eax, 4
add ecx, 4
cmp eax, 0x800
jge 0x526fb0
cmp eax, 0x100
jl 0x526fce
shr eax, 1
inc ecx
cmp eax, 0x100
jge 0x526fc4
mov eax, dword [esp + 0x3c]
sar eax, cl
mov byte [esi - 0xb], al
mov eax, dword [esp + 0x38]
sar eax, cl
mov byte [esi - 0xa], al
mov eax, dword [esp + 0x24]
sar eax, cl
mov byte [esi + 4], al
mov eax, dword [esp + 0x14]
sar eax, cl
mov byte [esi + 5], al
mov eax, dword [esp + 0x18]
sar eax, cl
mov byte [esi + 6], al
mov eax, dword [esp + 0x28]
mov byte [esi - 9], cl
sar edx, cl
mov ecx, dword [esp + 0x20]
mov byte [esi + 7], cl
mov byte [esi - 0xc], dl
add esi, 0x20
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov dword [esp + 0x20], ecx
cmp ecx, 0xffffffff
jne 0x526b44
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
sub eax, dword [esp + 0x34]
sar eax, 2
mov word [edi + 0x50], ax
movaps xmm1, xmmword [ecx + 0x20]
addps xmm1, xmmword [esp + 0x140]
movaps xmm2, xmmword [0x87aea0]
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0x84]
mov eax, dword [esp + 0x84]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mov dword [edi + 0x30], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mov dword [edi + 0x34], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
shufps xmm1, xmm1, 0xff
mov dword [edi + 0x38], eax
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0x90]
mov eax, dword [esp + 0x90]
movaps xmm1, xmmword [esp + 0x150]
mov dword [edi + 0x3c], eax
addps xmm1, xmmword [ecx + 0x30]
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0x94]
mov eax, dword [esp + 0x94]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mov dword [edi + 0x40], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0x98]
mov eax, dword [esp + 0x98]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mov dword [edi + 0x44], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
shufps xmm1, xmm1, 0xff
mov dword [edi + 0x48], eax
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
mov dword [edi + 0x4c], eax
movaps xmm1, xmmword [ecx + 0x20]
addps xmm1, xmmword [esp + 0x160]
movaps xmm2, xmmword [0x87aea0]
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0xa4]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0xa8]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0xac]
shufps xmm1, xmm1, 0xff
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0x130]
movaps xmm1, xmmword [esp + 0x170]
addps xmm1, xmmword [ecx + 0x30]
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0xb0]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0xb4]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fistp dword [esp + 0xb8]
shufps xmm1, xmm1, 0xff
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fistp dword [esp + 0xfc]
mov ecx, dword [edi + 0x34]
sub ecx, dword [esp + 0xa8]
mov eax, dword [edi + 0x38]
sub eax, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
sub esi, dword [edi + 0x40]
mov edx, dword [edi + 0x30]
sub edx, dword [esp + 0xa4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xb8]
sub ecx, dword [edi + 0x48]
mov dword [esp + 0x18], eax
or eax, dword [esp + 0x20]
mov dword [esp + 0x14], esi
or eax, edx
mov esi, dword [esp + 0xb4]
or eax, ecx
sub esi, dword [edi + 0x44]
or eax, esi
mov dword [esp + 0x24], ecx
or eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x40]
cmp eax, 0x800
jl 0x5272df
shr eax, 4
add ecx, 4
cmp eax, 0x800
jge 0x5272d2
cmp eax, 0x100
jl 0x5272f0
shr eax, 1
inc ecx
cmp eax, 0x100
jge 0x5272e6
mov eax, dword [esp + 0x20]
sar eax, cl
mov byte [edi + 0x3d], al
mov eax, dword [esp + 0x18]
sar eax, cl
mov byte [edi + 0x3e], al
mov eax, dword [esp + 0x14]
sar eax, cl
mov byte [edi + 0x4c], al
mov eax, dword [esp + 0x3c]
sar eax, cl
mov byte [edi + 0x4d], al
mov eax, dword [esp + 0x24]
sar edx, cl
sar eax, cl
mov byte [edi + 0x3f], cl
mov byte [edi + 0x3c], dl
mov byte [edi + 0x4e], al
test esi, esi
je 0x5274cf
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
lea eax, [esi*8 + 0x7f]
and eax, 0xffffff80
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x28], ecx
lea edi, [ecx + eax]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x2c]
cmp eax, dword [edx + 8]
jg 0x527375
lea esi, [ecx + eax]
cmp esi, dword [edx + 0x10]
mov esi, dword [esp + 0x40]
ja 0x527375
mov eax, dword [esp + 0x18]
mov dword [edx + 0xc], eax
jmp 0x527383
push eax
mov ecx, edx
call fcn.0046a3c0
mov ecx, eax
mov dword [esp + 0x28], eax
mov edx, ecx
cmp esi, 1
jle 0x5273d8
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x18], eax
test esi, esi
jle 0x5273b8
mov edi, eax
nop word [eax + eax]
mov dword [edx + 4], ecx
lea edi, [edi + 0x20]
mov eax, dword [edi - 0x20]
lea edx, [edx + 8]
inc ecx
mov dword [edx - 8], eax
cmp ecx, esi
jl 0x5273a0
mov edi, dword [esp + 0x2c]
push dword [esp + 0xfc]
lea eax, [esi - 1]
push eax
mov eax, dword [esp + 0x30]
push 0
push eax
call fcn.00527920
mov ecx, dword [esp + 0x38]
add esp, 0x10
jmp 0x5273e1
jne 0x5273e1
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x14], eax
test esi, esi
jle 0x52748f
add ecx, 4
mov dword [esp + 0x24], ecx
nop word [eax + eax]
mov edi, dword [ecx]
mov eax, edx
shl edi, 5
add edx, 0x20
add edi, dword [esp + 0x30]
add eax, 8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], 2
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + 4]
lea edi, [edi + 0x10]
mov eax, dword [edi - 0x10]
mov edx, dword [edi - 8]
mov esi, dword [edi - 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx - 8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [eax - 4], ecx
mov dword [eax], edx
mov dword [eax + 4], esi
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
test eax, eax
jg 0x527421
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx]
add ecx, 8
mov dword [esp + 0x24], ecx
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
add edx, 4
sub dword [esp + 0x40], 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
jne 0x527400
push dword [0x884adc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
mov ecx, dword [esp + 0x4c]
mov edx, eax
mov eax, dword [esp + 0x28]
lea esi, [ecx + 0xf]
and esi, 0xfffffff0
cmp ecx, dword [edx + 8]
jg 0x5274c4
lea ecx, [esi + eax]
cmp ecx, dword [edx + 0xc]
jne 0x5274c4
cmp dword [edx + 0x14], eax
je 0x5274c4
mov dword [edx + 0xc], eax
jmp 0x5274d5
push esi
push eax
mov ecx, edx
call fcn.0046a590
jmp 0x5274d5
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [0x884adc]
call edi
mov edx, eax
mov eax, dword [esp + 0x50]
lea esi, [eax + 0xf]
and esi, 0xfffffff0
cmp eax, dword [edx + 8]
mov eax, dword [esp + 0x34]
jg 0x527504
lea ecx, [eax + esi]
cmp ecx, dword [edx + 0xc]
jne 0x527504
cmp dword [edx + 0x14], eax
je 0x527504
mov dword [edx + 0xc], eax
jmp 0x52750d
push esi
push eax
mov ecx, edx
call fcn.0046a590
push dword [0x884adc]
call edi
mov edx, eax
mov eax, dword [esp + 0x1c]
lea esi, [eax + 0xf]
and esi, 0xfffffff0
cmp eax, dword [edx + 8]
mov eax, dword [esp + 0x30]
jg 0x52753f
lea ecx, [eax + esi]
cmp ecx, dword [edx + 0xc]
jne 0x52753f
cmp dword [edx + 0x14], eax
je 0x52753f
mov dword [edx + 0xc], eax
jmp 0x5278a3
push esi
push eax
mov ecx, edx
call fcn.0046a590
jmp 0x5278a3
mov eax, dword [ecx]
lea edx, [esp + 0x100]
push edx
push ecx
lea esi, [edi + 0xf0]
movss dword [esp], xmm0
push esi
call dword [eax + 0x1c]
movss xmm3, dword [esi + 0xa0]
xorps xmm7, xmm7
movss xmm0, dword [esi + 0x9c]
movaps xmm6, xmmword [esp + 0x100]
movaps xmm1, xmmword [esi + 0x50]
movaps xmm4, xmm6
movaps xmm5, xmmword [esp + 0x110]
mulss xmm0, xmm3
mov ecx, dword [ebp + 8]
addss xmm3, dword [esp + 0x48]
movaps xmm2, xmmword [0x87aea0]
shufps xmm0, xmm0, 0
subps xmm4, xmm0
addps xmm5, xmm0
movaps xmm0, xmm1
shufps xmm3, xmm3, 0
subps xmm0, xmm3
maxps xmm4, xmm0
movaps xmm0, xmm1
addps xmm0, xmm3
movaps xmm3, xmm7
minps xmm4, xmm6
minps xmm5, xmm0
movaps xmm0, xmmword [esi + 0x40]
maxps xmm5, xmmword [esp + 0x110]
subps xmm0, xmm1
movaps xmm1, xmmword [ecx + 0x20]
addps xmm1, xmm6
minps xmm3, xmm0
mulps xmm1, xmmword [ecx + 0x40]
maxps xmm7, xmm0
minps xmm1, xmm2
addps xmm3, xmm4
maxps xmm1, xmmword [0x719320]
addps xmm7, xmm5
movss dword [esp + 0x1c], xmm1
fld dword [esp + 0x1c]
fistp dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mov dword [edi + 0x30], eax
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mov dword [edi + 0x34], eax
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0xcc]
mov eax, dword [esp + 0xcc]
shufps xmm1, xmm1, 0xff
mov dword [edi + 0x38], eax
movss dword [esp + 0x1c], xmm1
fld dword [esp + 0x1c]
fistp dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
movaps xmm1, xmmword [esp + 0x110]
mov dword [edi + 0x3c], eax
addps xmm1, xmmword [ecx + 0x30]
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x1c], xmm1
fld dword [esp + 0x1c]
fistp dword [esp + 0xd4]
mov eax, dword [esp + 0xd4]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mov dword [edi + 0x40], eax
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
movaps xmm0, xmm1
mov dword [edi + 0x44], eax
shufps xmm0, xmm1, 0xaa
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
shufps xmm1, xmm1, 0xff
mov dword [edi + 0x48], eax
movss dword [esp + 0x1c], xmm1
fld dword [esp + 0x1c]
fistp dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
mov dword [edi + 0x4c], eax
movaps xmm1, xmmword [ecx + 0x20]
movaps xmm2, xmmword [0x87aea0]
addps xmm1, xmm3
mulps xmm1, xmmword [ecx + 0x40]
minps xmm1, xmm2
maxps xmm1, xmmword [0x719320]
movss dword [esp + 0x1c], xmm1
fld dword [esp + 0x1c]
fistp dword [esp + 0xe4]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0xe8]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0xec]
shufps xmm1, xmm1, 0xff
movss dword [esp + 0x1c], xmm1
fld dword [esp + 0x1c]
fistp dword [esp + 0x138]
addps xmm7, xmmword [ecx + 0x30]
mulps xmm7, xmmword [ecx + 0x40]
minps xmm7, xmm2
maxps xmm7, xmmword [0x719320]
movss dword [esp + 0x1c], xmm7
fld dword [esp + 0x1c]
fistp dword [esp + 0xf0]
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0xf4]
movaps xmm0, xmm7
shufps xmm0, xmm7, 0xaa
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fistp dword [esp + 0x54]
shufps xmm7, xmm7, 0xff
movss dword [esp + 0x1c], xmm7
fld dword [esp + 0x1c]
fistp dword [esp + 0x13c]
mov eax, dword [edi + 0x38]
sub eax, dword [esp + 0xec]
mov ecx, dword [edi + 0x34]
sub ecx, dword [esp + 0xe8]
mov edx, dword [edi + 0x30]
sub edx, dword [esp + 0xe4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xf0]
sub eax, dword [edi + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf4]
sub eax, dword [edi + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
sub eax, dword [edi + 0x48]
mov dword [esp + 0x50], eax
or eax, dword [esp + 0x24]
or eax, dword [esp + 0x14]
or eax, dword [esp + 0x20]
or eax, ecx
mov dword [esp + 0x1c], ecx
or eax, edx
xor ecx, ecx
cmp eax, 0x800
jl 0x52785d
nop
shr eax, 4
add ecx, 4
cmp eax, 0x800
jge 0x527850
cmp eax, 0x100
jl 0x52786e
shr eax, 1
inc ecx
cmp eax, 0x100
jge 0x527864
mov eax, dword [esp + 0x1c]
sar eax, cl
mov byte [edi + 0x3d], al
mov eax, dword [esp + 0x20]
sar eax, cl
mov byte [edi + 0x3e], al
mov eax, dword [esp + 0x14]
sar eax, cl
mov byte [edi + 0x4c], al
mov eax, dword [esp + 0x24]
sar eax, cl
mov byte [edi + 0x4d], al
mov eax, dword [esp + 0x50]
sar edx, cl
sar eax, cl
mov byte [edi + 0x3f], cl
mov byte [edi + 0x3c], dl
mov byte [edi + 0x4e], al
mov eax, dword [esp + 0x44]
movss xmm0, dword [esp + 0x48]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [ebp + 0x10]
jl 0x526a02
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x5278ea
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x54]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret