Function at 0xbe0de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4dde3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov eax, dword [str._Sk]
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 0xbe0e53
push 3
push eax
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00bcbdc0
jmp 0xbe0fd7
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0xbe0e66
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0xbe0e6f
mov ecx, dword [ecx + 0x5c]
jmp 0xbe0e92
add ecx, 0x38
lea ebx, [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.00be1fa0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
cmp ecx, eax
je 0xbe0e96
mov ecx, dword [ecx + 0x10]
cmp ecx, ebx
jne 0xbe0eb0
mov ecx, dword [esp + 0x28]
push 4
push ecx
mov ecx, dword [ebp + 8]
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00bcbdc0
jmp 0xbe0fd7
cmp esi, 1
jne 0xbe0ecc
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 0xbe0f00
push 0x130
call fcn.00cd8a50
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 2
cmp eax, ebx
je 0xbe0ef7
push eax
call fcn.00bc3050
jmp 0xbe0ef9
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 0xbe0fc6
jmp 0xbe0f34
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.00be1fa0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 0x1c]
je 0xbe0f63
mov esi, dword [ecx + 0x10]
jmp 0xbe0f65
xor esi, esi
mov eax, ebp
call fcn.00bc8a00
test al, al
je 0xbe0fb1
mov ebp, dword [esp + 0x2c]
mov eax, ebp
call fcn.00ba5f40
mov ebx, eax
cmp esi, ebx
je 0xbe0f92
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
push esi
mov ecx, ebx
call fcn.00bbde10
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], eax
jne 0xbe0fa4
inc eax
push eax
lea eax, [ebp + 0x18]
call fcn.00bc7c30
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 0xbe0f30
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.00cd8a41
add esp, 0x34
ret 8