Function at 0x5249c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d495c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
call fcn.007865e8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0xb00b60
add ecx, 0x3b8
call fcn.00576a48
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x9bbb5c]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ecx]
mov dword [ecx + 4], eax
push edx
call dword [ebx + 0x14c]
mov esi, dword [ebp - 0x24]
push 0
push 0
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
mov dword [esi + 0x2a4], eax
mov dword [esi + 0x2a8], edx
mov edx, dword [ebp - 0x24]
mov dword [esi + 0x2ac], ebx
mov edi, dword [edx + 0x2a4]
mov ecx, dword [edx + 0x2a8]
mov eax, dword [edx + 0x2ac]
mov dword [edx + 0x298], edi
mov dword [edx + 0x29c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0x2a0], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x298]
mov dword [edx + 0x44], eax
mov eax, dword [edx + 0x29c]
mov dword [edx + 0x48], eax
mov eax, dword [edx + 0x2a0]
mov dword [edx + 0x4c], eax
call fcn.00772b44
mov ecx, dword [ebp - 0x24]
mov eax, dword [0xa72edc]
push 0xc
mov edx, dword [eax + 0x430]
mov dword [ecx + 0xdc], edx
mov dword [ecx + 0x6c], 0x3fa66666
mov dword [ecx + 0x370], 0
call fcn.00787550
mov ecx, dword [ebp - 0x24]
mov edi, dword [0xa72edc]
fld dword [0x9217dc]
mov edx, 0x1e
mov word [ecx + 0x342], dx
mov word [ecx + 0x344], dx
mov edx, dword [ecx + 0x370]
mov dword [ecx + 0x33c], 0
mov ebx, dword [edi + 0x42c]
add edx, edx
mov esi, dword [ebx + edx*8 + 8]
mov dword [ecx + 0x34], esi
mov eax, dword [edi + 0x42c]
mov eax, dword [eax + edx*8 + 0xc]
mov dword [ecx + 0x24], eax
fcomp dword [ecx + 0x360]
fnstsw ax
sahf
mov dword [ecx + 0xd8], 0x9bbaa0
jae 0x524b45
mov eax, 2
mov word [ecx + 0x3a4], ax
jmp 0x524b51
mov eax, 1
mov word [ecx + 0x3a4], ax
xor eax, eax
push eax
mov word [ecx + 0xb8], ax
call fcn.007aa4c8
mov ecx, dword [ebp - 0x24]
push 1
movzx eax, word [ecx + 0xb8]
mov edx, dword [ecx + 0x370]
mov word [ecx + 0xb8], ax
lea ebx, [edx + edx]
add ebx, ebx
sub ebx, edx
add ebx, ebx
add ebx, ebx
sub ebx, edx
add ebx, ebx
lea esi, [ebx + ebx + 0x9bbb80]
push esi
call fcn.007b9a88
push dword [0xa72ee4]
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov edx, dword [0xa72ee8]
mov word [ecx + 0x3a6], ax
push dword [edx]
push dword [0xa72eec]
call fcn.007868f8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x370]
movzx esi, word [ecx + 0x334]
add eax, eax
add eax, eax
lea edx, [eax + eax]
add edx, edx
add edx, edx
sub edx, eax
lea ebx, [edx + 0x9bbb64]
mov dword [ecx + 0x358], ebx
mov word [ecx + 0x346], si
call fcn.0078730c
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x300]
mov edx, dword [esi + 0x304]
mov ebx, dword [esi + 0x308]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], ebx
call fcn.007b4f54
mov esi, dword [ebp - 0x24]
mov edx, dword [esi + 0x2e8]
mov ebx, dword [esi + 0x30]
mov edi, dword [esi + 0x3b8]
xor eax, eax
mov word [esi + 0x32e], ax
mov dword [esi + 0x3a0], 0
or ebx, 0x4040000
mov word [esi + 0x330], ax
mov dword [esi + 0x3a8], eax
mov dword [esi + 0x3dc], eax
mov dword [esi + 0x3e0], eax
mov dword [esi + 0x3e4], eax
mov dword [esi + 0x3e8], eax
mov dword [esi + 0x3ec], eax
mov dword [esi + 0x3f0], eax
mov dword [esi + 0x3f4], eax
mov dword [esi + 0x3f8], eax
mov dword [esi + 0x3fc], eax
mov dword [esi + 0x400], eax
mov dword [esi + 0x404], eax
mov dword [esi + 0x408], eax
or edx, 2
mov dword [esi + 0x2e8], edx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x3b8]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x3b4], 1
push 0xffff0088
push 0xa0303030
call fcn.00578cc4
mov edx, dword [ebp - 0x24]
push 0xffff0088
push 0xa0303030
mov dword [edx + 0x3d4], eax
call fcn.00578cc4
add esp, 0x10
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x3b0], 0
mov dword [ecx + 0x3d8], eax
mov eax, dword [ecx]
call dword [eax + 0x150]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8