Function at 0x5d60a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6823b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call fcn.0064dc20
lea ecx, [esp + 0x18]
call fcn.0064dc20
lea ecx, [esp + 0x78]
call fcn.00654ac0
mov ebp, dword [esi + 0x9c]
xor edi, edi
test ebp, ebp
mov dword [esp + 0x170], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
jle 0x5d6126
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
call dword [edx + 0xb8]
fadd qword [esp + 0xc]
inc edi
cmp edi, ebp
fstp qword [esp + 0xc]
jl 0x5d6108
mov ecx, dword [esi + 0x1ac]
call fcn.004da3a0
mov edi, eax
mov eax, dword [esi + 0x1c8]
test eax, eax
jne 0x5d6174
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x7c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x5d61ac
mov edx, dword [edi]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call dword [edx + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ebp, dword [esi + 0x1c8]
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, 1
sub ecx, ebp
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x134]
mov eax, dword [esi + 0x1c8]
test eax, eax
jne 0x5d620f
mov edx, dword [edi]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x5d6247
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
fld qword [esp + 0x18]
fsub qword [esp + 0x30]
fld qword [esp + 0x20]
fsub qword [esp + 0x38]
fstp qword [esp + 0x68]
fld qword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
fsub qword [esp + 0x40]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x50], ecx
push edx
fstp qword [esp + 0x74]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
fstp qword [esp + 0x4c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xf4]
push eax
mov dword [esp + 0x64], ecx
call fcn.00655db0
add esp, 8
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x174], 1
call fcn.00654de0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x170], 0
call fcn.00456760
sub esp, 0x78
lea edx, [esp + 0xf0]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.00654cc0
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x1a8]
call fcn.004da3a0
mov ecx, dword [esi + 0x1b0]
mov edi, eax
call fcn.004da3a0
mov ecx, dword [esi + 0x1d0]
mov edx, dword [esi + 0x1cc]
push ecx
push eax
push edx
push edi
call fcn.005295d0
mov ecx, dword [esi + 0x1a8]
add esp, 0x10
push 0
push 1
push 1
call fcn.00498b40
mov ecx, dword [esi + 0x1a8]
push 1
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [esi + 0x1ac]
push 0
push 1
push 1
call fcn.00498b40
mov ecx, dword [esi + 0x1b0]
push 0
push 1
push 1
call fcn.00498b40
lea ecx, [esp + 0x78]
mov dword [esp + 0x170], 0xffffffff
call fcn.00456760
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret