Function at 0x5b8670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6b87f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x2c]
push edi
lea eax, [esp + 8]
xor edi, edi
push 0x2f
push eax
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.005722c0
lea ecx, [esp + 0xc]
push 0x2f
push ecx
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.00572120
mov edx, dword [0x8b0a50]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 8]
mov byte [esp + 0x20], 2
cmp dword [eax - 8], edi
jne 0x5b86da
push 0x77f160
lea ecx, [esp + 0xc]
call fcn.00571200
mov edx, dword [esi]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
lea eax, [eax + ecx + 0x10]
lea ecx, [esp + 0x38]
push eax
call fcn.00570990
push edi
push 0x25
mov ecx, ebx
xor esi, esi
call fcn.00570d80
mov ebp, eax
mov eax, dword [0x6e14e0]
cmp ebp, eax
je 0x5b8869
mov ecx, dword [ebx]
lea edx, [ebp + 1]
mov ecx, dword [ecx - 8]
cmp edx, ecx
jae 0x5b8869
mov eax, ebp
lea ecx, [esp + 0x18]
sub eax, esi
push eax
push esi
push ecx
mov ecx, ebx
call fcn.00571110
push eax
lea ecx, [esp + 0x38]
call fcn.0040a460
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x28], 4
mov eax, dword [ecx - 8]
push eax
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.005712b0
mov edx, dword [esp + 0x34]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5b877b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5b877b
mov esi, dword [0x6c74ac]
push eax
call esi
add esp, 4
jmp 0x5b8781
mov esi, dword [0x6c74ac]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5b87a1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5b87a1
push eax
call esi
add esp, 4
mov eax, dword [ebx]
movsx eax, byte [eax + ebp + 1]
add eax, 0xffffffdb
cmp eax, 0x4b
ja case.0x5b87bc.41
xor ecx, ecx
mov cl, byte [eax + 0x5b8984]
jmp dword [ecx*4 + 0x5b8970]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
push eax
push ecx
push eax
jmp 0x5b8844
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
push eax
push ecx
push eax
jmp 0x5b8844
call fcn.00580a90
push eax
lea edx, [esp + 0x20]
push 0x8a011c
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 5
call fcn.004523a0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x28], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.0x5b87bc.41
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne case.0x5b87bc.41
push eax
call esi
add esp, 4
jmp case.0x5b87bc.41
mov ecx, 0x8b2c48
test ecx, ecx
je 0x5b883b
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x5b883d
xor ecx, ecx
push ecx
push 0x8b2c48
push ecx
lea ecx, [esp + 0x44]
call fcn.005712b0
lea esi, [ebp + 2]
mov ecx, ebx
push esi
push 0x25
call fcn.00570d80
mov ebp, eax
mov eax, dword [0x6e14e0]
cmp ebp, eax
jne 0x5b8713
push eax
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, ebx
call fcn.00571110
push eax
lea ecx, [esp + 0x38]
call fcn.0040a460
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x28], 7
mov eax, dword [ecx - 8]
push eax
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.005712b0
mov eax, dword [esp + 0x34]
pop ebp
add eax, 0xfffffff4
pop ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5b88be
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5b88be
mov edi, dword [0x6c74ac]
push eax
call edi
add esp, 4
jmp 0x5b88c4
mov edi, dword [0x6c74ac]
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5b88e0
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5b88e0
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5b88f9
mov edx, dword [0x8b0a50]
mov dword [esi], edx
jmp 0x5b890b
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x5b890b
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x5b8923
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5b8923
push eax
call edi
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5b893e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5b893e
push eax
call edi
add esp, 4
mov ecx, dword [esp + 8]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5b895a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5b895a
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc