Function at 0xb54724
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0xb5472c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb54ce7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x677]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x68]
call fcn.00a3865c
lea edx, [ebp - 0x28]
mov eax, dword [0xb72f8c]
call fcn.00a170b0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00ad11bc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00a57aec
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0xb54b71
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
mov edx, dword [ebp - 8]
call fcn.00a2bc9c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jne 0xb547f9
mov eax, dword [0xb73054]
cmp byte [eax + 0xe68], 0
jne 0xb54b65
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0xb54b65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x677]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x68]
call fcn.00a3865c
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [0xb72e68]
call fcn.00a170b0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00ad11bc
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
call fcn.00a1b164
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00a57aec
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00a1a250
test al, al
je 0xb54b65
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0xb548a0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00aef108
test al, al
je 0xb54b65
inc dword [ebp - 0xc]
jmp 0xb54b65
cmp al, 2
jne 0xb54a40
xor ecx, ecx
mov dl, 1
mov eax, dword [0xafcb74]
call fcn.00b01760
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0xb54a39
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0xb549ad
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0xcc], edx
mov dword [eax + 0xc8], 0xb54d04
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x3a], 1
mov eax, dword [ebp - 0x18]
add eax, 0x44
call fcn.00a14db0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x50], 1
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x5c], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00b01e84
mov eax, dword [ebp - 0x18]
call fcn.00b0282c
test eax, eax
jle 0xb549a3
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
mov ecx, dword [eax]
call dword [ecx + 0x58]
cmp eax, 0xffffffff
jne 0xb5498e
mov eax, dword [ebp - 0x10]
push dword [eax + 0x14]
push 0xb54d00
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00a15140
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0xb549a3
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3d4]
xchg edx, eax
call fcn.00a2e290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb54a23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb54b65
mov eax, dword [ebp - 0x18]
call fcn.00a13f44
ret
cmp al, 3
jne 0xb54b65
lea edx, [ebp - 0x1c]
mov eax, dword [0xb7314c]
call fcn.00b4e608
xor edx, edx
push ebp
push 0xb54aef
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
mov ecx, dword [eax]
call dword [ecx + 0x58]
cmp eax, 0xffffffff
jne 0xb54ad0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x14]
push 0xb54d00
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00a15140
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0xb54ae5
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3d4]
xchg edx, eax
call fcn.00a2e290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb54b65
inc dword [ebp - 8]
dec dword [ebp - 0x20]
jne 0xb547c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0xc]
jne 0xb54ba7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x67b]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x68]
call fcn.00a3865c
jmp 0xb54bca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x67f]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x68]
call fcn.00a3865c
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0xb72d6c]
call fcn.00a170b0
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.00ad11bc
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x78], edx
mov byte [ebp - 0x74], 0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3d8]
mov edx, dword [edx + 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x70], edx
mov byte [ebp - 0x6c], 0
lea edx, [ebp - 0x78]
mov ecx, 1
call fcn.00a1b164
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00a57aec
lea edx, [ebp - 0x7c]
mov eax, dword [0xb732cc]
mov eax, dword [eax]
call fcn.00a1ea04
lea eax, [ebp - 0x7c]
mov edx, dword [0xb73090]
mov edx, dword [edx]
call fcn.00a15088
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f0]
call fcn.00aef9e0
cmp dword [ebp - 0x14], 0xffffffff
je 0xb54ca7
mov eax, dword [0xb73054]
cmp byte [eax + 0xe68], 0
jne 0xb54ca7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
mov edx, dword [ebp - 0x14]
call fcn.00a2bc9c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00a1a250
test al, al
je 0xb54ca7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00aef578
mov eax, dword [ebp - 4]
call fcn.00b54d14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb54cee
lea eax, [ebp - 0x7c]
call fcn.00a14db0
lea eax, [ebp - 0x68]
mov edx, 0xb
call fcn.00a14dd4
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00a14dd4
lea eax, [ebp - 0x1c]
call fcn.00a16bd0
ret