Function at 0x591520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6b5250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x8b0a50]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.00572ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00406c70
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.00406c70
mov ecx, dword [esp + 0x38]
push 0
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.00586600
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 4
call fcn.00587f50
mov edi, dword [0x6c74ac]
test al, al
jne 0x5915ff
mov eax, dword [0x8b0a50]
test eax, eax
jne 0x5915b4
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x38]
push edx
push 0
push eax
call fcn.00570720
lea eax, [esp + 0x38]
push 0
push eax
push 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.005874c0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x30], 4
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5915ff
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5915ff
push eax
call edi
add esp, 4
lea edx, [esp + 0x38]
push 0
push edx
lea ecx, [esp + 0x10]
call fcn.00588720
push eax
mov ecx, esi
mov byte [esp + 0x34], 6
call fcn.00571160
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], 4
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x59163c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x59163c
push eax
call edi
add esp, 4
lea ecx, [esi + 8]
lea edx, [esp + 0x38]
push ecx
push esi
push edx
call fcn.00587220
add esp, 0xc
add esi, 4
push eax
mov ecx, esi
mov byte [esp + 0x34], 7
call fcn.00571160
mov eax, dword [esp + 0x38]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x591679
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x591679
push eax
call edi
add esp, 4
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5916fb
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], 8
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5916a6
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5916a6
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5916c1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5916c1
push eax
call edi
add esp, 4
lea ecx, [esp + 0xc]
call fcn.005730c0
mov ecx, dword [esp + 8]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5916e6
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5916e6
push eax
call edi
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], 9
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x59171f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x59171f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x59173a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x59173a
push eax
call edi
add esp, 4
lea ecx, [esp + 0xc]
call fcn.005730c0
mov ecx, dword [esp + 8]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x59175f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x59175f
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4