Function at 0xbc0de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd2dde3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0xd916ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov eax, dword [0xd916ec]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], ebx
mov esi, dword [edi + 0xc]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], eax
cmp esi, 1
je 0xbc0e53
push 3
push eax
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00babdc0
jmp 0xbc0fd7
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0xbc0e66
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0xbc0e6f
mov ecx, dword [ecx + 0x5c]
jmp 0xbc0e92
add ecx, 0x38
lea ebx, [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.00bc1fa0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
cmp ecx, eax
je 0xbc0e96
mov ecx, dword [ecx + 0x10]
cmp ecx, ebx
jne 0xbc0eb0
mov ecx, dword [esp + 0x28]
push 4
push ecx
mov ecx, dword [ebp + 8]
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00babdc0
jmp 0xbc0fd7
cmp esi, 1
jne 0xbc0ecc
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
or dword [edi + 0x28], 0xe
mov dword [edi + 0xc], 2
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], eax
or dword [edi + 0x28], 0x40
cmp dword [edi + 0x20], ebx
jne 0xbc0f00
push 0x130
call fcn.00cb8a50
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 2
cmp eax, ebx
je 0xbc0ef7
push eax
call fcn.00ba3050
jmp 0xbc0ef9
xor eax, eax
mov byte [esp + 0x40], bl
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
call eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
sar eax, 2
mov dword [esp + 0x20], eax
cmp eax, ebx
jbe 0xbc0fc6
jmp 0xbc0f34
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
mov ebp, dword [ebp + 8]
mov dword [esp + 0x24], eax
lea ecx, [ebp + 0x18]
lea ebx, [esp + 0x24]
lea eax, [esp + 0x18]
call fcn.00bc1fa0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 0x1c]
je 0xbc0f63
mov esi, dword [ecx + 0x10]
jmp 0xbc0f65
xor esi, esi
mov eax, ebp
call fcn.00ba8a00
test al, al
je 0xbc0fb1
mov ebp, dword [esp + 0x2c]
mov eax, ebp
call fcn.00b85f40
mov ebx, eax
cmp esi, ebx
je 0xbc0f92
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
push esi
mov ecx, ebx
call fcn.00b9de10
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], eax
jne 0xbc0fa4
inc eax
push eax
lea eax, [ebp + 0x18]
call fcn.00ba7c30
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov byte [ecx + edx], 1
inc dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x20]
jb 0xbc0f30
xor ebx, ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax]
push edi
mov dword [esp + 0x20], ebx
call edx
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00cb8a41
add esp, 0x34
ret 8