Function at 0x5bb454
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5bb760
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00407dec
lea eax, [ebx + 4]
xor edx, edx
call fcn.00407dec
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x10], 0xffffffff
mov dword [ebx + 0x14], 0xffffffff
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
mov dword [ebx + 0x28], 0xffffffff
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], 0xffffffff
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5bb72c
test edi, edi
jge 0x5bb512
mov edi, dword [esi + 0x6c]
test edi, edi
jge 0x5bb545
mov ecx, 0x5bb77c
mov edx, 0x10
mov eax, esi
call fcn.005baedc
jmp 0x5bb73d
cmp edi, dword [eax + 0x14]
jl 0x5bb545
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x5bb7ac
call fcn.00418808
mov ecx, dword [ebp - 0x18]
mov edx, 0x10
mov eax, esi
call fcn.005baedc
jmp 0x5bb73d
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd0], 1
je 0x5bb595
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x5bb7f4
call fcn.00418808
mov ecx, dword [ebp - 0x24]
mov edx, 0x10
mov eax, esi
call fcn.005baedc
jmp 0x5bb73d
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x138]
xor ecx, ecx
mov edx, 0x5bb840
call fcn.005b5dcc
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.00407dec
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005b5e1c
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 4]
call fcn.00407dec
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x50]
mov dword [ebx + 8], edx
mov edx, dword [eax + 0x54]
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
add eax, 0x38
cmp dword [eax + 4], 0
jne 0x5bb623
mov edx, dword [eax]
mov dword [eax + 4], edx
cmp dword [eax + 4], 0
jne 0x5bb630
mov dword [eax + 4], 1
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
push edx
push eax
mov eax, dword [0x8e699c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x5bb64b
cmp eax, dword [esp]
pop edx
pop eax
je 0x5bb68d
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x8e6438]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [0x8e66f8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x58]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x5c]
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
push edx
push eax
mov eax, dword [0x8e699c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x5bb6ca
cmp eax, dword [esp]
pop edx
pop eax
je 0x5bb706
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov esi, dword [eax]
mov eax, dword [0x8e6438]
push dword [eax + 4]
push dword [eax]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
mov eax, dword [0x8e66f8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov dword [ebx + 0x34], eax
jmp 0x5bb73d
mov ecx, 0x5bb858
mov edx, 0x18
mov eax, esi
call fcn.005baedc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb767
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00407de4
lea eax, [ebp - 0x18]
call fcn.00407ddc
ret