Function at 0x531d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adcbb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
movd xmm4, esi
movd xmm3, edi
mov dword [ebp - 0x50], 0
movd xmm2, dword [eax + 0x2c]
movd xmm0, dword [eax + 0x30]
mov eax, dword [ecx + 0x14]
cvtdq2ps xmm2, xmm2
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], eax
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x44], xmm0
cvtdq2ps xmm4, xmm4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov word [ebp - 0x14], 1
mov byte [ebp - 0x12], 0
cvtdq2ps xmm3, xmm3
mov dword [ebp - 4], 0
xorps xmm1, xmm1
comiss xmm1, xmm2
jae 0x531f27
comiss xmm1, xmm0
jae 0x531f27
comiss xmm1, xmm2
lea eax, [ebp - 0x3c]
mov word [ebp - 0x60], 0x101
mov dword [ebp - 0x74], eax
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x70], xmm0
jbe 0x531e76
movss dword [ebp - 0x70], xmm2
mov dword [ebp - 0x68], 0
movss xmm0, dword [ebp - 0x6c]
movss xmm1, dword [ebp - 0x64]
comiss xmm0, xmm1
jbe 0x531e8f
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x64], xmm0
push 1
push ecx
push 0xb4
movaps xmm2, xmm4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x3c]
call fcn.004a3cc0
movd xmm3, edi
lea edx, [ebp - 0x50]
mov edi, dword [ebp - 0x54]
add esp, 0xc
cvtdq2ps xmm3, xmm3
push 0
push ecx
movd xmm2, edi
lea ecx, [ebp - 0x3c]
cvtdq2ps xmm2, xmm2
push 0x10e
call fcn.004a3cc0
movd xmm3, dword [ebp - 0x40]
lea edx, [ebp - 0x50]
add esp, 0xc
movd xmm0, edi
cvtdq2ps xmm3, xmm3
push 0
push ecx
cvtdq2ps xmm2, xmm0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004a3cc0
movd xmm0, dword [ebp - 0x40]
lea edx, [ebp - 0x50]
add esp, 0xc
movd xmm2, esi
cvtdq2ps xmm3, xmm0
push 0
push ecx
cvtdq2ps xmm2, xmm2
push 0x5a
lea ecx, [ebp - 0x3c]
call fcn.004a3cc0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.004a38f0
lea ecx, [ebp - 0x74]
call fcn.004a3170
lea ecx, [ebp - 0xb0]
call fcn.00495d30
mov byte [ebp - 4], 2
mov edx, 0xff00ffff
mov eax, dword [ebp - 0x78]
and eax, 0xfff7f001
or eax, 0x40001
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov cl, byte [eax + 4]
mov eax, 0xff888888
test cl, cl
cmovne eax, edx
mov dword [ebp - 0x84], eax
xor eax, eax
test cl, cl
setne al
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x5e2ddc]
jb 0x531f7e
movss dword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x3c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x44]
lea ecx, [ebp - 0xb0]
call fcn.00495e40
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x531fb5
push eax
call fcn.005725ba
add esp, 4
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x531fc5
push eax
call fcn.005725ba
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 8