Function at 0xb84ed8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0xb84ee0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xb854a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3fc]
mov edx, dword [eax + 0x677]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x68]
call fcn.00a3d700
lea edx, [ebp - 0x2c]
mov eax, dword [0xba9a4c]
call fcn.00a1779c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00ae2058
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
call fcn.00a67e0c
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x440]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0xb8531a
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x440]
mov edx, dword [ebp - 0x10]
call fcn.00a2ccd8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax], 1
jne 0xb84faa
mov eax, dword [0xba9f00]
cmp byte [eax + 0xe68], 0
jne 0xb8530e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0xb8530e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3fc]
mov edx, dword [eax + 0x677]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x68]
call fcn.00a3d700
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [0xba9894]
call fcn.00a1779c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00ae2058
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
call fcn.00a1c204
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
call fcn.00a67e0c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
call fcn.00a1af08
test al, al
je 0xb8530e
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test al, al
jne 0xb8504f
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
call fcn.00af2cec
test al, al
je 0xb8530e
inc dword [ebp - 0x14]
jmp 0xb8530e
cmp al, 2
jne 0xb851ec
xor ecx, ecx
mov dl, 1
mov eax, dword [0xb04978]
call fcn.00b099ac
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0xb851e5
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0xb8515c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xcc], edx
mov dword [eax + 0xc8], 0xb854c0
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x3a], 1
mov eax, dword [ebp - 0x20]
add eax, 0x44
call fcn.00a153f0
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x50], 1
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x60], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00b0a120
mov eax, dword [ebp - 0x20]
call fcn.00b0aac0
test eax, eax
jle 0xb85152
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
cmp eax, 0xffffffff
jne 0xb8513d
mov eax, dword [ebp - 0x18]
push dword [eax + 0x14]
push 0xb854bc
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00a15794
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0xb85152
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x43c]
xchg edx, eax
call fcn.00a2f440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb851cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb8530e
mov eax, dword [ebp - 0x20]
call fcn.00a14470
ret
cmp al, 3
jne 0xb8530e
lea edx, [ebp - 4]
mov eax, dword [0xbaa014]
call fcn.00b7ecf4
xor edx, edx
push ebp
push 0xb8529b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
cmp eax, 0xffffffff
jne 0xb8527c
mov eax, dword [ebp - 0x18]
push dword [eax + 0x14]
push 0xb854bc
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00a15794
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0xb85291
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x43c]
xchg edx, eax
call fcn.00a2f440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb8530e
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0xb84f71
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x440]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x14]
jne 0xb8534d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3fc]
mov edx, dword [eax + 0x67b]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x68]
call fcn.00a3d700
jmp 0xb8536d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3fc]
mov edx, dword [eax + 0x67f]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x68]
call fcn.00a3d700
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0xba9734]
call fcn.00a1779c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00ae2058
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 0x78], 0
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x440]
mov edx, dword [edx + 8]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x74], edx
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x7c]
mov ecx, 1
call fcn.00a1c204
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
call fcn.00a67e0c
mov ebx, dword [0xba9760]
mov ebx, dword [ebx]
lea edx, [ebp - 8]
mov dword [ebp - 0x80], ebx
mov eax, dword [ebp - 0x80]
call fcn.00a1ff10
mov ecx, dword [0xba9f34]
mov ecx, dword [ecx]
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 8]
call fcn.00a15718
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x458]
call fcn.00af35dc
cmp dword [ebp - 0x1c], 0xffffffff
je 0xb8545a
mov eax, dword [0xba9f00]
cmp byte [eax + 0xe68], 0
jne 0xb8545a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x440]
mov edx, dword [ebp - 0x1c]
call fcn.00a2ccd8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
call fcn.00a1af08
test al, al
je 0xb8545a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
call fcn.00af3174
mov eax, dword [ebp - 0xc]
call fcn.00b854d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb854ac
lea eax, [ebp - 0x84]
call fcn.00a153f0
lea eax, [ebp - 0x6c]
mov edx, 0xb
call fcn.00a15414
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00a15414
lea eax, [ebp - 8]
call fcn.00a153f0
lea eax, [ebp - 4]
call fcn.00a172a0
ret