Function at 0x407700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4830e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4a7008]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
cvttss2si eax, dword [ebp + 0x14]
lea ecx, [esi + 4]
push eax
cvttss2si eax, dword [ebp + 0x10]
push eax
cvttss2si eax, dword [ebp + 0xc]
push eax
cvttss2si eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
movss xmm0, dword [ebp + 0x10]
mov ecx, esi
subss xmm0, dword [ebp + 8]
cvttss2si eax, xmm0
movss dword [ebp + 0x10], xmm0
movss xmm0, dword [ebp + 0x14]
subss xmm0, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
cvttss2si eax, xmm0
movss dword [ebp + 0x14], xmm0
mov dword [esi + 0x20], eax
call fcn.00405c20
mov eax, dword [0x4d1ba0]
test al, 1
jne 0x4077c9
or eax, 1
mov dword [0x4d1ba0], eax
push 0x88
push 0
push 0x4d1a70
mov dword [esp + 0x5c], 0
call fcn.00479b40
add esp, 0xc
call fcn.00401850
push 0x48cc60
call fcn.0046fb6c
add esp, 4
mov dword [esp + 0x50], 0xffffffff
push dword [esi + 0x88]
call fcn.00402e70
sub esp, 0x18
lea edi, [esi + 0x70]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.004034d0
movd xmm1, dword [esi + 0x1c]
lea ecx, [esp + 0x3c]
cvtdq2ps xmm1, xmm1
call fcn.004622d0
add esp, 0x18
mov dword [esp + 0x14], eax
cmp edi, eax
je 0x407840
cmp dword [edi + 0x14], 0x10
jb 0x407827
push dword [edi]
call fcn.0046fdb4
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.00408c00
cmp dword [esp + 0x38], 0x10
jb 0x407853
push dword [esp + 0x24]
call fcn.0046fdb4
add esp, 4
mov eax, dword [esi + 8]
add eax, dword [esi + 0x10]
movss xmm3, dword [0x497d50]
mov ecx, dword [0x4d1ba0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
movss dword [esp + 0x18], xmm0
test cl, 1
jne 0x4078ca
or ecx, 1
mov dword [0x4d1ba0], ecx
push 0x88
push 0
push 0x4d1a70
mov dword [esp + 0x5c], 1
call fcn.00479b40
add esp, 0xc
call fcn.00401850
push 0x48cc60
call fcn.0046fb6c
mov dword [esp + 0x54], 0xffffffff
add esp, 4
mov ecx, dword [0x4d1ba0]
movss xmm3, dword [0x497d50]
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
movss xmm2, dword [0x4d1a9c]
movaps xmm0, xmm2
mulss xmm0, dword [0x497e20]
movd xmm1, eax
mov eax, dword [esi + 8]
add eax, dword [esi + 0x10]
movss dword [esp + 0x14], xmm0
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm3
movss dword [esp + 0x1c], xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm3
movss dword [esp + 0x20], xmm1
test cl, 1
jne 0x40796b
or ecx, 1
mov dword [0x4d1ba0], ecx
push 0x88
push 0
push 0x4d1a70
mov dword [esp + 0x5c], 2
call fcn.00479b40
add esp, 0xc
call fcn.00401850
push 0x48cc60
call fcn.0046fb6c
movss xmm0, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x50], 0xffffffff
movss xmm2, dword [0x4d1a9c]
movss xmm3, dword [0x497d50]
addss xmm0, dword [esp + 0x18]
movss xmm1, dword [esi + 0x9c]
mulss xmm2, dword [0x497e1c]
mulss xmm1, xmm3
addss xmm2, dword [esp + 0x20]
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
subss xmm0, xmm1
cvttss2si eax, xmm0
push eax
lea eax, [esi + 0x248]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [0x4d1ba0]
test al, 1
jne 0x407a09
or eax, 1
mov dword [0x4d1ba0], eax
push 0x88
push 0
push 0x4d1a70
mov dword [esp + 0x5c], 3
call fcn.00479b40
add esp, 0xc
call fcn.00401850
push 0x48cc60
call fcn.0046fb6c
add esp, 4
movss xmm0, dword [0x4d1a9c]
mulss xmm0, dword [0x497e14]
mov eax, dword [esi + 0x90]
movd xmm1, dword [esi + 4]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x38], 0
cvttss2si ecx, xmm0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
movd xmm0, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
movd xmm2, ecx
movdqu xmmword [esi + 0xa4], xmm0
mov dword [esp + 0x30], 0x3f800000
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0xb4], xmm0
mov dword [esi + 0xbc], eax
movd xmm0, dword [esi + 8]
movd xmm1, dword [esi + 4]
mov eax, dword [esi + 0x90]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], 0x3f800000
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
addss xmm0, xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0xc0], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0xd0], xmm0
mov dword [esi + 0xd8], eax
movd xmm1, dword [esi + 4]
movd xmm0, dword [esi + 0x10]
mov eax, dword [esi + 0x90]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], 0x3f800000
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0xdc], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0xec], xmm0
mov dword [esi + 0xf4], eax
movd xmm1, dword [esi + 4]
movd xmm0, dword [esi + 8]
mov eax, dword [esi + 0x90]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [esi + 0xf8], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x108], xmm0
mov dword [esi + 0x110], eax
movd xmm1, dword [esi + 0xc]
movd xmm0, dword [esi + 0x10]
mov eax, dword [esi + 0x90]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x38], 0
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x3c], 0x3f800000
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0x3f800000
movss dword [esp + 0x28], xmm0
subss xmm1, xmm2
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0x114], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x124], xmm0
mov dword [esi + 0x12c], eax
movd xmm1, dword [esi + 0xc]
movd xmm0, dword [esi + 8]
mov eax, dword [esi + 0x90]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3f800000
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0x130], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x140], xmm0
mov dword [esi + 0x148], eax
movd xmm0, dword [esi + 0x10]
movd xmm1, dword [esi + 0xc]
mov eax, dword [esi + 0x90]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3f800000
cvtdq2ps xmm1, xmm1
subss xmm0, xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0x14c], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x15c], xmm0
mov dword [esi + 0x164], eax
movd xmm1, dword [esi + 0xc]
movd xmm0, dword [esi + 8]
mov eax, dword [esi + 0x90]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [esi + 0x168], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x178], xmm0
mov dword [esi + 0x180], eax
movd xmm1, dword [esi + 4]
movd xmm0, dword [esi + 8]
mov ecx, dword [esi + 0x90]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
movdqu xmmword [esi + 0x184], xmm0
mov dword [esp + 0x3c], 0
movq xmm0, qword [esp + 0x34]
mov eax, dword [esp + 0x3c]
movq qword [esi + 0x194], xmm0
mov dword [esi + 0x19c], eax
movd xmm1, dword [esi + 0xc]
movd xmm0, dword [esi + 8]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x3f800000
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0x3f800000
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0x1a0], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x1b0], xmm0
mov dword [esi + 0x1b8], eax
movd xmm0, dword [esi + 0x10]
movd xmm1, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], 0x3f800000
cvtdq2ps xmm1, xmm1
subss xmm0, xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0x1bc], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x1cc], xmm0
mov dword [esi + 0x1d4], eax
movd xmm1, dword [esi + 0xc]
movd xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0x1d8], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x1e8], xmm0
mov dword [esi + 0x1f0], eax
movd xmm1, dword [esi + 4]
movd xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [esi + 0x1f4], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x204], xmm0
mov dword [esi + 0x20c], eax
movd xmm0, dword [esi + 8]
movd xmm1, dword [esi + 4]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
addss xmm0, xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movdqu xmmword [esi + 0x210], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x220], xmm0
mov dword [esi + 0x228], eax
movd xmm1, dword [esi + 4]
movd xmm0, dword [esi + 8]
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [esi + 0x22c], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x23c], xmm0
mov dword [esi + 0x244], eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10