Function at 0x4e500e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5cf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x55c
push esi
push edi
mov dword [ebp - 0x548], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x520], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x548]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x548]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x548]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x548]
xor ecx, ecx
mov cl, byte [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x548]
mov eax, dword [edx]
imul eax, eax, 0x148
mov ecx, dword [ebp - 0x520]
add ecx, eax
push ecx
lea ecx, [ebp - 0x2f4]
call fcn.00499402
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2f4]
push edx
mov ecx, dword [ebp + 8]
call fcn.00499fb9
mov esi, dword [ebp + 0x14]
mov ecx, 6
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x524], ecx
mov edx, dword [ebp - 0x548]
mov eax, dword [edx + 8]
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x54c], 0
fild qword [ebp - 0x550]
fstp qword [ebp - 0x558]
mov ecx, dword [ebp - 0x548]
xor edx, edx
mov dl, byte [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x548]
mov ecx, dword [eax]
imul ecx, ecx, 0x148
mov edx, dword [ebp - 0x524]
add ecx, edx
call fcn.00490d6c
fmul qword [ebp - 0x558]
fstp qword [ebp - 0x52c]
fld qword [ebp - 0x1c]
fadd qword [ebp - 0x52c]
fstp qword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x530], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x548]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x548]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x548]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x548]
xor ecx, ecx
mov cl, byte [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x548]
mov eax, dword [edx + 0x14]
imul eax, eax, 0x148
mov ecx, dword [ebp - 0x530]
add ecx, eax
push ecx
lea ecx, [ebp - 0x18c]
call fcn.00499402
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00499fb9
mov ecx, 6
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x4e4]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x548]
add eax, 0x14
mov dword [ebp - 0x538], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x534], edx
mov eax, dword [ebp - 0x538]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x560], ecx
mov dword [ebp - 0x55c], 0
fild qword [ebp - 0x560]
fstp qword [ebp - 0x568]
mov edx, dword [ebp - 0x538]
xor eax, eax
mov al, byte [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x538]
mov edx, dword [ecx]
imul edx, edx, 0x148
mov ecx, dword [ebp - 0x534]
add ecx, edx
call fcn.00490d6c
fmul qword [ebp - 0x568]
fstp qword [ebp - 0x540]
fld qword [ebp - 0x4dc]
fadd qword [ebp - 0x540]
fstp qword [ebp - 0x4dc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x544], ecx
lea edx, [ebp - 0x4e4]
push edx
mov eax, dword [ebp - 0x548]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x548]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0x548]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x548]
xor ecx, ecx
mov cl, byte [eax + 0x38]
push ecx
mov edx, dword [ebp - 0x548]
mov eax, dword [edx + 0x28]
imul eax, eax, 0x148
mov ecx, dword [ebp - 0x544]
add ecx, eax
push ecx
lea ecx, [ebp - 0x4cc]
call fcn.00499402
mov byte [ebp - 4], 2
lea edx, [ebp - 0x4cc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00499fb9
lea ecx, [ebp - 0x32c]
call fcn.004a3469
lea ecx, [ebp - 0x51c]
call fcn.004a3469
lea ecx, [ebp - 0x364]
call fcn.004a3469
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x51c]
push ecx
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x2f4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004e92fc
add esp, 0x14
lea edx, [ebp - 0x32c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004a3846
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004a3846
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4cc]
push edx
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x51c]
push ecx
call fcn.004e9529
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4cc]
call fcn.00499777
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18c]
call fcn.00499777
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4]
call fcn.00499777
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10