Function at 0x4ac5c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f68a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xd9]
mov byte [esp + 0xd8], 0
mov dword [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x40], 0
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x5c], 0
push eax
mov eax, dword [0x5006f4]
push ecx
lea ecx, [esp + 0xe0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.004aca20
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov edi, edx
mov ecx, esi
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0xd8]
mov ebx, ecx
mov ecx, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jbe 0x4ac722
lea edx, [esp + 0xd8]
lea ecx, [esp + 0xc]
push edx
call fcn.0049ffc4
mov ecx, dword [0x4ffd28]
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x1b4], 0
call dword [0x5001e0]
mov ecx, dword [0x4ffd28]
push 0
push eax
mov byte [esp + 0x1b8], 1
call dword [0x500068]
fstp qword [esp + 0x1c]
mov ecx, dword [0x4ffd28]
call dword [0x500188]
fmul qword [esp + 0x1c]
mov ecx, dword [0x5006f4]
sub esp, 8
lea edx, [esp + 0x1c]
fmul qword [ecx]
fstp qword [esp]
push edx
call dword [0x500474]
fstp qword [esp + 0x28]
add esp, 0x14
lea ecx, [esp + 0x88]
mov byte [esp + 0x1b0], 0
call dword [0x4ffcfc]
mov dword [esp + 0x1b0], esi
lea ecx, [esp + 0xc]
jmp 0x4ac7b6
push edx
lea ecx, [esp + 0x10]
call fcn.0049ffc4
mov ecx, dword [0x4ffd28]
lea eax, [esp + 0x88]
mov ebx, 2
push eax
mov dword [esp + 0x1b4], ebx
call dword [0x5001e0]
mov ecx, dword [0x4ffd28]
push 0
push eax
mov byte [esp + 0x1b8], 3
call dword [0x500068]
fstp qword [esp + 0x1c]
mov ecx, dword [0x4ffd28]
call dword [0x500188]
fmul qword [esp + 0x1c]
mov ecx, dword [0x5006f4]
sub esp, 8
lea edx, [esp + 0x1c]
fmul qword [ecx]
fstp qword [esp]
push edx
call dword [0x500474]
fstp qword [esp + 0x28]
add esp, 0x14
lea ecx, [esp + 0x88]
mov byte [esp + 0x1b0], bl
call dword [0x4ffcfc]
mov dword [esp + 0x1b0], esi
lea ecx, [esp + 0xc]
call fcn.0049ffca
mov ecx, dword [0x4ffd28]
call dword [0x500068]
fstp qword [esp + 0xc]
mov ecx, dword [0x4ffd28]
call dword [0x500188]
fmul qword [esp + 0xc]
mov eax, dword [0x5006f4]
mov ecx, dword [0x4ffd28]
fmul qword [eax]
fstp qword [esp + 0x44]
call dword [0x500068]
fstp qword [esp + 0xc]
mov ecx, dword [0x4ffd28]
call dword [0x500188]
fmul qword [esp + 0xc]
mov ecx, dword [0x5006f4]
fmul qword [ecx]
mov ecx, dword [0x4ffd28]
fstp qword [esp + 0xc]
call dword [0x500068]
fstp qword [esp + 0x24]
mov ecx, dword [0x4ffd28]
call dword [0x500188]
fmul qword [esp + 0x24]
mov edx, dword [0x5006f4]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [esp + 0x10]
fmul qword [edx]
mov edx, dword [esp + 0xc]
push 0xfffffffffffffffb
push 0
mov dword [esp + 0x34], eax
fmul qword [0x504b08]
fld qword [esp + 0x14]
fmul qword [0x502630]
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
faddp st(1)
push ebx
push edx
push eax
push ecx
fst qword [esp + 0x98]
fld qword [ebp + 0x1c]
fsub st(1)
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
fstp qword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
fstp st(0)
call dword [0x4ff3c8]
mov edx, dword [ebp + 8]
add esp, 0x34
lea ecx, [esp + 0x20]
push edx
call fcn.0049ffc4
mov ecx, dword [0x4ffd28]
lea eax, [esp + 0x158]
push eax
mov dword [esp + 0x1b4], 4
call dword [0x5001e0]
mov ecx, dword [0x4ffd28]
push 0
push eax
mov byte [esp + 0x1b8], 5
call dword [0x500068]
fstp qword [esp + 0x2c]
mov ecx, dword [0x4ffd28]
call dword [0x500188]
fmul qword [esp + 0x2c]
mov ecx, dword [0x5006f4]
sub esp, 8
fmul qword [ecx]
fstp qword [esp]
lea edx, [esp + 0x30]
push edx
call dword [0x500474]
fstp qword [esp + 0x28]
add esp, 0x14
lea ecx, [esp + 0x158]
mov byte [esp + 0x1b0], 4
call dword [0x4ffcfc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.0049ffca
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0xc]
push 0xfffffffffffffffb
fld qword [ebp + 0x1c]
fadd qword [esp + 0x80]
push 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
fstp qword [esp + 0x40]
push ebx
push edx
push eax
push ecx
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff3c8]
fld qword [esp + 0x78]
fadd qword [esp + 0x48]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
add esp, 0x34
mov ecx, edx
fmul qword [0x502630]
fld qword [ebp + 0x14]
push 0xfffffffffffffffb
mov dword [esp + 0x58], edx
fsub st(1)
sub esp, 0x18
mov edx, eax
mov dword [esp + 0x88], ecx
mov ecx, 6
lea esi, [esp + 0x80]
mov edi, esp
fstp qword [esp + 0x68]
mov dword [esp + 0x8c], edx
sub esp, 0x18
fadd qword [ebp + 0x14]
mov dword [esp + 0x8c], eax
fstp qword [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x80]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff38c]
mov ecx, dword [esp + 0x1dc]
add esp, 0x34
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret