Function at 0x4ae314
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505d4c
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.004a6a45
pop ecx
mov ecx, eax
call fcn.00474384
movss xmm0, dword [esp + 0x20]
mov ecx, dword [esi + 0xdc]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x2c], xmm0
call fcn.0048f7d2
movss xmm0, dword [esp + 0x24]
test al, al
je 0x4ae3a4
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm0
movaps xmm1, xmm0
lea ecx, [esp + 0x28]
mulss xmm1, dword [0x52f080]
push 0
call fcn.0046ed3c
and dword [esp + 0xb8], 0
lea ecx, [esp + 0x28]
xor ebx, ebx
cmp dword [0x55590c], esi
sete bl
call fcn.0046ee3b
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov byte [eax + 0x24], bl
call fcn.0046ee71
lea ecx, [esp + 0x34]
call fcn.00445837
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0x8c]
test eax, eax
js 0x4ae4fe
cmp eax, 1
jle 0x4ae49c
cmp eax, 2
je 0x4ae45e
cmp eax, 3
jne 0x4ae4fe
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x4c]
addss xmm0, dword [esp + 0x20]
movss xmm2, dword [0x52f128]
push eax
lea eax, [esp + 0x80]
push eax
movss dword [esp + 0x1c], xmm0
call fcn.00445991
movss xmm3, dword [esp + 0x20]
movss xmm2, dword [esp + 0x18]
mov ecx, eax
call fcn.0044594f
jmp 0x4ae4f4
movss xmm0, dword [esp + 0x1c]
lea eax, [esp + 0x64]
addss xmm0, dword [esp + 0x24]
movss xmm2, dword [0x52f400]
lea ecx, [esp + 0x34]
push eax
lea eax, [esp + 0x98]
push eax
movss dword [esp + 0x1c], xmm0
call fcn.00445991
movss xmm3, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
jmp 0x4ae452
movss xmm0, dword [esp + 0x34]
lea eax, [esp + 0x4c]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
addss xmm1, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x48]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm2
push eax
lea ecx, [esp + 0x38]
call fcn.00445857
mov ecx, esi
call fcn.0048f6a1
test al, al
je 0x4ae53f
mov ebx, 0x1005815
mov ecx, esi
push ebx
call fcn.004923df
test al, al
jne 0x4ae539
and dword [esp + 0x1c], 0
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.004d6af5
test eax, eax
setns al
test al, al
je 0x4ae53f
lea eax, [esp + 0x14]
jmp 0x4ae595
mov ebx, 0x1005813
mov ecx, esi
push ebx
call fcn.004923df
test al, al
jne 0x4ae591
and dword [esp + 0x1c], 0
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.004d6af5
test eax, eax
setns al
test al, al
jne 0x4ae591
lea eax, [esp + 0x14]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a6896
movss xmm2, dword [0x52f0e4]
mov ecx, eax
call fcn.00444fee
jmp 0x4ae59f
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [edi - 0x3c]
call fcn.004a7d5e
mov eax, dword [eax]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0049361e
test al, al
je 0x4ae5d0
cmp byte [ebp + 0x10], 0
jne 0x4ae5c6
cmp byte [ebp + 0x14], 0
jne 0x4ae5c6
movss xmm0, dword [0x52f0b0]
jmp 0x4ae5d8
movss xmm0, dword [0x52f0e4]
jmp 0x4ae5d8
movss xmm0, dword [0x52f034]
push ecx
push esp
movaps xmm2, xmm0
lea ecx, [esp + 0x1c]
call fcn.00444caf
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0044b67d
mov ecx, ebx
call fcn.0044b616
mov ecx, dword [ebx]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, ebx
call fcn.0044b616
mov ecx, dword [ebx]
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x88]
call fcn.0042f397
mov edi, eax
cvttss2si esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xc
xor ecx, ecx
inc ecx
push ecx
mov byte [esp + 0xbc], cl
mov dword [esp], 0x3f333333
mov eax, esi
cdq
idiv dword [esp + 0x30]
cmp eax, ecx
cmovg ecx, eax
push ecx
push ecx
mov eax, esp
mov ecx, ebx
push esi
mov dword [eax], 0x24
cvttss2si eax, dword [esp + 0x40]
push eax
push 0
push 0
push edi
call fcn.0044b960
mov eax, dword [esp + 0x14]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
lea ecx, [esp + 0x28]
call fcn.004037f3
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10