Function at 0x4ef800
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 0x787b98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x851070]
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 eax, dword [ebx + 8]
mov edi, dword [0x7aa604]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push 0
push eax
call edi
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
push eax
call dword [0x7aa620]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0
je 0x4ef8fe
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
push 0xffffffffffffffec
push eax
call dword [0x7aa694]
shr eax, 0x13
and al, 1
je 0x4ef8fe
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
push eax
call dword [0x7aa624]
test eax, eax
je 0x4ef8fe
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.00504b20
add esp, 4
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x4c], xmm0
call edi
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 0
call dword [0x7aa5e8]
test eax, eax
jne 0x4ef8fe
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004ee220
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4ef9fa
mov eax, dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ef95c
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
sub esp, 8
mov eax, dword [ecx]
movsd xmm1, qword [eax + 0x10]
cvtpd2ps xmm1, xmm1
movlpd qword [ebp - 0x2c], xmm0
mov ecx, dword [eax]
movss dword [esp + 4], xmm1
movss dword [esp], xmm1
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov edi, dword [esi + 0xc]
mov edi, dword [edi + 0xc]
xorps xmm0, xmm0
mov al, byte [esi + 0x4d]
movlpd qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x28], al
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x1c], al
test edi, edi
je 0x4ef996
cmp al, 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x4ef98a
test ecx, ecx
je 0x4ef996
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4ef996
test ecx, ecx
je 0x4ef996
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x10]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ef9b1
push dword [eax + 0xc]
call fcn.00503570
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x4ef9be
mov ecx, esi
call fcn.004ef160
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4ef9e7
cmp byte [ebp - 0x28], 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x4ef9de
test ecx, ecx
je 0x4ef9e7
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4ef9e7
test ecx, ecx
je 0x4ef9e7
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ef9fa
mov eax, dword [ecx]
call dword [eax + 0x60]
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.00735c28
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4