Function at 0x42b6b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5978fb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x5e000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1fc], esi
cmp dword [esi + 4], 0
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x200], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x210], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x218], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x1e4], eax
je 0x42c139
cmp dword [esi + 0x47c], 0
je 0x42b769
cmp dword [ebx + 0x34], 0
jne 0x42b769
mov ecx, dword [esi + 0x28c]
mov eax, dword [ecx]
call dword [eax + 0x10c]
mov dword [esi + 0x47c], 0
movss xmm1, dword [esi + 0x44]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
movss dword [ebp - 0x22c], xmm1
lahf
test ah, 0x44
jnp 0x42c139
mov eax, dword [edi]
lea ecx, [ebp - 0x1f0]
push ecx
push 0
push edi
call dword [eax + 0x98]
mov eax, dword [0x5e6580]
mov dword [ebp - 0x1ec], eax
test eax, eax
jne 0x42b7de
push 0xc
call fcn.0052f855
add esp, 4
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], eax
mov dword [0x5e6580], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
test eax, eax
je 0x42c139
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
push ecx
push 2
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 1
call fcn.0040ef20
push ecx
push 2
lea ecx, [ebp - 0x228]
call fcn.0040ef20
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x1ec]
push dword [ebp - 0x20c]
push dword [ebp - 0x1e0]
push edi
call fcn.00427ec0
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x20c]
add ecx, 4
push ecx
add eax, 4
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x1ec]
push eax
push dword [ebp - 0x1e0]
mov dword [ebp - 0x1e8], eax
push edi
call fcn.00427ec0
mov ecx, dword [ebp - 0x228]
mov eax, dword [edi]
push dword [ecx]
push 0
push edi
call dword [eax + 0x94]
mov eax, dword [edi]
push 0
push ecx
mov dword [esp], 0x3f800000
push 0
push 7
push 0
push 0
push edi
call dword [eax + 0xac]
cmp dword [esi + 0x28c], 0
je 0x42be57
mov ecx, dword [esi + 0x288]
mov edx, dword [ebp - 0x20c]
mov eax, dword [ecx]
push dword [edx]
call dword [eax + 0x60]
cmp dword [ebx + 0x20], 0
je 0x42bd1e
cmp dword [ebx + 0x2c], 0
je 0x42bd1e
cmp dword [ebp - 0x1e4], 0
je 0x42bd1e
mov ecx, dword [ebp - 0x1e0]
sub esp, 0xc
mov eax, dword [ecx + 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x3a8], 0
mov dword [esi + 0x3a4], 0
mov dword [esi + 0x3a0], 0
cvtpd2ps xmm0, xmm0
mov dword [esi + 0x39c], 0
mov dword [esi + 0x394], 0
mov dword [esi + 0x390], 0
mov dword [esi + 0x38c], 0
mov dword [esi + 0x388], 0
mov dword [esi + 0x380], 0
divss xmm0, dword [0x5e00c8]
mov dword [esi + 0x37c], 0
mov dword [esi + 0x378], 0
mov dword [esi + 0x374], 0
mov dword [esi + 0x3ac], 0x3f800000
mov dword [esi + 0x398], 0x3f800000
mov dword [esi + 0x384], 0x3f800000
mov dword [esi + 0x370], 0x3f800000
cvttss2si edx, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
lea eax, [esi + 0x370]
mov dword [esp + 8], 0
mov dword [ebp - 0x1dc], eax
mov eax, edx
cdq
sub eax, edx
cvtpd2ps xmm0, xmm0
mov esi, eax
mov eax, dword [ebp - 0x1e4]
sar esi, 1
movss xmm1, dword [eax + 0x108]
divss xmm0, dword [0x5e00c8]
cvttss2si ecx, xmm0
movd xmm0, esi
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x1e4]
cvtdq2ps xmm0, xmm0
sar edi, 1
movd xmm2, edi
subss xmm1, xmm0
movss xmm0, dword [eax + 0x10c]
cvtdq2ps xmm2, xmm2
lea eax, [ebp - 0x98]
movss dword [ebp - 0x1f8], xmm1
subss xmm0, xmm2
movss dword [ebp - 0x1f4], xmm0
xorps xmm0, xmmword [0x5c94e0]
movss dword [esp + 4], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x5c94e0]
movss dword [esp], xmm0
push eax
call dword [0x5a6950]
mov eax, dword [ebp - 0x1e4]
sub esp, 0xc
movss xmm1, dword [0x5c8ea8]
movss xmm0, dword [eax + 0x1c]
xorps xmm0, xmmword [0x5c94e0]
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 0x18]
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x14]
lea eax, [ebp - 0x158]
mulss xmm0, xmm1
movss dword [esp], xmm0
push eax
call dword [0x5a6964]
movss xmm0, dword [ebp - 0x1f4]
lea eax, [ebp - 0xd8]
sub esp, 0xc
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1f8]
movss dword [esp], xmm0
push eax
call dword [0x5a6950]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [0x5a6954]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [0x5a6954]
mov eax, dword [ebp - 0x1dc]
sub esp, 0xc
movups xmm0, xmmword [ebp - 0x58]
movd xmm2, edi
movups xmmword [eax], xmm0
mov edi, dword [0x5a6950]
movups xmm0, xmmword [ebp - 0x48]
mov dword [esp + 8], 0
cvtdq2ps xmm2, xmm2
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x1e4]
movd xmm0, esi
mov esi, eax
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 0xfc]
lea eax, [ebp - 0x98]
subss xmm1, xmm0
movss xmm0, dword [esi + 0x100]
subss xmm0, xmm2
movss dword [ebp - 0x1f4], xmm1
movss dword [ebp - 0x1f8], xmm0
xorps xmm0, xmmword [0x5c94e0]
movss dword [esp + 4], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x5c94e0]
movss dword [esp], xmm0
push eax
call edi
movss xmm0, dword [esi + 0x28]
lea eax, [ebp - 0x198]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x24]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x20]
movss dword [esp], xmm0
push eax
call dword [0x5a695c]
movss xmm0, dword [ebp - 0x1f8]
lea eax, [ebp - 0xd8]
sub esp, 0xc
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1f4]
movss dword [esp], xmm0
push eax
call edi
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x1dc]
lea eax, [ebp - 0x118]
push eax
mov esi, dword [0x5a6954]
call esi
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x1d8]
push eax
call esi
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x1dc]
sub esp, 0xc
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x1e4]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 0xc]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 8]
lea eax, [ebp - 0x98]
movss dword [esp], xmm0
push eax
call edi
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x1dc]
lea eax, [ebp - 0x58]
push eax
call esi
mov ecx, dword [ebp - 0x1dc]
movups xmm0, xmmword [ebp - 0x58]
mov esi, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x214]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ecx + 0x30], xmm0
jmp 0x42bded
cmp dword [ebp - 0x1dc], 0
lea ecx, [esi + 0x370]
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0x3c], 0x3f800000
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x14], 0x3f800000
mov dword [ecx], 0x3f800000
je 0x42bded
mov edx, dword [ebp - 0x1e0]
push 1
push esi
push ecx
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x1dc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
mov eax, dword [edx + 0x18]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c9490]
cvtpd2ps xmm2, xmm0
call fcn.0048b1c0
lea ecx, [esi + 0x370]
mov eax, dword [edi]
push ecx
push 0x100
push edi
call dword [eax + 0xb0]
mov ecx, dword [edi]
lea eax, [esi + 0x3b0]
push eax
push 2
push edi
call dword [ecx + 0xb0]
mov ecx, dword [edi]
lea eax, [esi + 0x3f0]
push eax
push 3
push edi
call dword [ecx + 0xb0]
mov ecx, dword [esi + 0x28c]
mov eax, dword [ecx]
call dword [eax + 0x120]
push dword [ebp - 0x218]
mov eax, dword [edi]
push edi
call dword [eax + 0x15c]
mov eax, dword [edi]
push 0
push 0xe
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 0
push 7
push edi
call dword [eax + 0xe4]
movss xmm0, dword [esi + 0x44]
mov eax, dword [esi + 0x158]
mov dword [ebp - 0x230], 0x3f800000
mov dword [ebp - 0x234], 0x3f800000
mov dword [ebp - 0x238], 0x3f800000
movss dword [ebp - 0x22c], xmm0
cmp eax, dword [esi + 0x15c]
jne 0x42bede
cmp dword [esi + 0x1c8], 0
jne 0x42bede
cmp dword [esi + 0x220], 0
jne 0x42bede
push dword [ebp - 0x1f0]
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x94]
push dword [esi + 0x70]
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x20c]
push dword [eax]
push dword [ebp - 0x1e0]
push dword [ebp - 0x210]
push edi
call fcn.004923e0
jmp 0x42c011
mov ecx, dword [ebp - 0x21c]
mov eax, dword [edi]
push dword [ecx]
push 0
push edi
call dword [eax + 0x94]
mov eax, dword [edi]
push 0
push ecx
mov dword [esp], 0x3f800000
push 0
push 7
push 0
push 0
push edi
call dword [eax + 0xac]
push dword [esi + 0x70]
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x20c]
push dword [eax]
push dword [ebp - 0x1e0]
push dword [ebp - 0x210]
push edi
call fcn.004923e0
push dword [ebp - 0x1f0]
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x94]
call fcn.0040ff40
mov edx, dword [ebp - 0x1e0]
mov ecx, edi
call fcn.00412620
mov ecx, dword [esi + 0x15c]
mov edx, eax
sub ecx, dword [esi + 0x158]
sar ecx, 2
mov dword [ebp - 0x1dc], edx
test ecx, ecx
je 0x42bfa2
xor edi, edi
mov eax, dword [esi + 0x158]
mov ecx, edx
push dword [eax + edi*4]
call fcn.004dc1f0
mov eax, dword [esi + 0x15c]
inc edi
sub eax, dword [esi + 0x158]
mov edx, dword [ebp - 0x1dc]
sar eax, 2
cmp edi, eax
jb 0x42bf72
mov edi, dword [ebp - 0x214]
movaps xmm0, xmmword [0x5c9430]
lea eax, [esi + 0x1c0]
push 0xffffffffffffffff
push 1
push dword [esi + 0x220]
movups xmmword [ebp - 0x248], xmm0
push eax
movss xmm0, dword [esi + 0x27c]
lea eax, [ebp - 0x248]
push ecx
movss dword [esp], xmm0
mov ecx, edx
push dword [esi + 0x224]
push dword [esi + 0x1c8]
push eax
push dword [ebp - 0x218]
mov eax, dword [ebp - 0x200]
push dword [eax]
mov eax, dword [ebp - 0x1e8]
push dword [eax]
push dword [ebp - 0x1e0]
push edi
call fcn.004dbaa0
mov ecx, dword [ebp - 0x1dc]
call fcn.004dc300
mov edx, dword [ebp - 0x1ec]
xor ecx, ecx
mov edi, dword [edx + 4]
mov eax, dword [edx]
sub edi, eax
sar edi, 2
mov dword [ebp - 0x1e8], edi
test edi, edi
je 0x42c060
mov esi, eax
nop
mov edi, dword [ebp - 0x21c]
mov eax, dword [esi]
mov edx, dword [edi]
cmp dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x1ec]
mov edi, dword [ebp - 0x1e8]
je 0x42c055
inc ecx
add esi, 4
cmp ecx, edi
jb 0x42c030
jmp 0x42c060
mov eax, dword [edx]
mov eax, dword [eax + ecx*4]
mov dword [eax], 0
mov edi, dword [ebp - 0x228]
xor ecx, ecx
mov esi, dword [edx + 4]
mov eax, dword [edi]
mov dword [ebp - 0x1e8], eax
mov eax, dword [edx]
sub esi, eax
sar esi, 2
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x200], esi
test esi, esi
je 0x42c0bc
mov edx, eax
nop dword [eax]
mov eax, dword [edx]
mov esi, dword [ebp - 0x1e8]
cmp dword [eax + 0x2c], esi
mov esi, dword [ebp - 0x200]
je 0x42c0ad
inc ecx
add edx, 4
cmp ecx, esi
jb 0x42c090
jmp 0x42c0bc
mov eax, dword [ebp - 0x1fc]
mov eax, dword [eax + ecx*4]
mov dword [eax], 0
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x220]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42c0ed
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c122
push ecx
push edi
call fcn.0052f847
mov ecx, dword [ebp - 0x204]
add esp, 8
mov edx, dword [ebp - 0x20c]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x42c128
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42c128
call dword [0x5a67b8]
push ecx
push edx
call fcn.0052f847
add esp, 8
mov eax, 1
jmp 0x42c13b
xor eax, eax
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.0052f4c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30