Function at 0xb20de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8dde3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov eax, dword [0xcf16ec]
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 0xb20e53
push 3
push eax
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00b0bdc0
jmp 0xb20fd7
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0xb20e66
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0xb20e6f
mov ecx, dword [ecx + 0x5c]
jmp 0xb20e92
add ecx, 0x38
lea ebx, [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.00b21fa0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
cmp ecx, eax
je 0xb20e96
mov ecx, dword [ecx + 0x10]
cmp ecx, ebx
jne 0xb20eb0
mov ecx, dword [esp + 0x28]
push 4
push ecx
mov ecx, dword [ebp + 8]
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00b0bdc0
jmp 0xb20fd7
cmp esi, 1
jne 0xb20ecc
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 0xb20f00
push 0x130
call fcn.00c18a50
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 2
cmp eax, ebx
je 0xb20ef7
push eax
call fcn.00b03050
jmp 0xb20ef9
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 0xb20fc6
jmp 0xb20f34
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.00b21fa0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 0x1c]
je 0xb20f63
mov esi, dword [ecx + 0x10]
jmp 0xb20f65
xor esi, esi
mov eax, ebp
call fcn.00b08a00
test al, al
je 0xb20fb1
mov ebp, dword [esp + 0x2c]
mov eax, ebp
call fcn.00ae5f40
mov ebx, eax
cmp esi, ebx
je 0xb20f92
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
push esi
mov ecx, ebx
call fcn.00afde10
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], eax
jne 0xb20fa4
inc eax
push eax
lea eax, [ebp + 0x18]
call fcn.00b07c30
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 0xb20f30
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.00c18a41
add esp, 0x34
ret 8