Function at 0x65bffa30
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
movzx eax, byte [0x65d82330]
test al, al
jne 0x65bffa44
xor ecx, ecx
xor eax, eax
jmp 0x65bffa50
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov edx, dword [0x65da0168]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 0x14], edx
mov ebx, dword [edx + 0x18]
inc dword [ebx + 0x7c]
mov dword [edx + 8], 0xfffffade
mov byte [edx + 0x6f], 1
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 8], esi
call fcn.65bff9c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov ebx, dword [esp + 0x38]
mov dword [ecx + 0x40], ebx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.65bf9590
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x65bffad5
cmp dword [eax + 4], ecx
jae 0x65bffaf3
lea ecx, [0x65bffdc0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.65c2b1d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x65bffafe
cmp dword [eax], ecx
ja 0x65bffb03
cmp dword [eax + 4], ecx
jae 0x65bffb21
lea ecx, [0x65bffcd0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.65c2b1d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x65bffb67
lea eax, [0x65bffc80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.65c2b1d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.65bff9c0
lea eax, [0x65d82400]
mov dword [esp], eax
call fcn.65c30ad0
movzx eax, byte [esp + 4]
test al, al
je 0x65bffba8
lea eax, [0x65cf2af8]
mov dword [esp], eax
call fcn.65c2b1d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.65bff9c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x1190]
test ecx, ecx
je 0x65bffbec
lea eax, [0x65cf2c90]
mov dword [esp], eax
call fcn.65c2b1d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
call fcn.65bff9c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x194], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.65c30dc0
lea eax, [0x65d823f4]
mov dword [esp], eax
call fcn.65c30ad0
movzx eax, byte [esp + 4]
test al, al
je 0x65bffc6c
lea eax, [0x65cf2af4]
mov dword [esp], eax
call fcn.65c2b1d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.65bff9c0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret