Function at 0x4b8d20
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x54dd0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcdc
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.004b6e20
mov eax, dword [0x5ab980]
mov dword [esp + 0xcf0], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push str.ProfilesDirEx
lea ecx, [esp + 0x10]
mov byte [esp + 0xcf4], 3
call fcn.00512952
mov edx, dword [0x5b8cb0]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [edx + 0x10]
mov byte [esp + 0xcf8], 4
call fcn.00495ca0
lea ecx, [esp + 0xc]
mov byte [esp + 0xcf0], 3
call fcn.005128e4
push str.ProfilesDirEx
lea ecx, [esp + 0x10]
call fcn.00512952
mov edx, dword [0x5b8cb4]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [edx + 0x10]
mov byte [esp + 0xcf8], 5
call fcn.00495ca0
lea ecx, [esp + 0xc]
mov byte [esp + 0xcf0], 3
call fcn.005128e4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b8e17
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b8e17
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, 0x5b8c78
call fcn.0049c590
mov esi, dword [ebp + 4]
test esi, esi
je 0x4b8e6c
mov eax, esi
mov edi, esi
mov esi, dword [esi]
add eax, 8
push eax
lea ecx, [esp + 0x20]
call fcn.004b70f0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.004ba860
cmp eax, 2
jne 0x4b8e68
sub esp, 0xccc
lea edx, [esp + 0xce8]
mov ecx, esp
mov dword [esp + 0xcd8], esp
push edx
call fcn.004b7200
push edi
mov ecx, ebp
call fcn.004bae50
test esi, esi
jne 0x4b8e1e
mov eax, dword [0x5bc5c0]
test ah, 2
jne 0x4b8ec1
mov ecx, dword [0x5b8cb0]
lea eax, [esp + 0x14]
push eax
push str.personal
add ecx, 0x12c
call fcn.00511d05
mov eax, dword [0x5b8cb4]
lea edx, [esp + 0x10]
push edx
push str.personal
lea ecx, [eax + 0x12c]
call fcn.00511d05
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, 0x5b8c78
call fcn.0049c590
lea ecx, [esp + 0x10]
mov byte [esp + 0xcf0], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xcf0], 1
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0xcf0], 0
call fcn.005128e4
mov dword [esp + 0xcf0], 6
lea eax, [esp + 0x67c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc9c]
mov byte [esp + 0xcf0], 0x11
call fcn.00467880
lea ecx, [esp + 0x6e8]
mov byte [esp + 0xcf0], 0x10
call fcn.00510e5f
lea ecx, [esp + 0x6cc]
mov byte [esp + 0xcf0], 0xf
call fcn.0048ba80
lea ecx, [esp + 0x6b0]
mov byte [esp + 0xcf0], 0xe
call fcn.00511c40
lea ecx, [esp + 0x6ac]
mov byte [esp + 0xcf0], 0xd
call fcn.005128e4
lea ecx, [esp + 0x6a8]
mov byte [esp + 0xcf0], 0xc
call fcn.005128e4
lea ecx, [esp + 0x68c]
mov byte [esp + 0xcf0], 0xb
call fcn.005128e4
lea ecx, [esp + 0x688]
mov byte [esp + 0xcf0], 0xa
call fcn.005128e4
lea ecx, [esp + 0x684]
mov byte [esp + 0xcf0], 9
call fcn.005128e4
lea ecx, [esp + 0x680]
mov byte [esp + 0xcf0], 8
call fcn.005128e4
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x640]
mov byte [esp + 0xcf0], 0x1b
call fcn.00467880
lea ecx, [esp + 0x8c]
mov byte [esp + 0xcf0], 0x1a
call fcn.00510e5f
lea ecx, [esp + 0x70]
mov byte [esp + 0xcf0], 0x19
call fcn.0048ba80
lea ecx, [esp + 0x54]
mov byte [esp + 0xcf0], 0x18
call fcn.00511c40
lea ecx, [esp + 0x50]
mov byte [esp + 0xcf0], 0x17
call fcn.005128e4
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcf0], 0x16
call fcn.005128e4
lea ecx, [esp + 0x30]
mov byte [esp + 0xcf0], 0x15
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcf0], 0x14
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xcf0], 0x13
call fcn.005128e4
lea ecx, [esp + 0x24]
mov byte [esp + 0xcf0], 0x12
call fcn.005128e4
mov ecx, dword [esp + 0xce8]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0xce8
ret