Function at 0x4a9da0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582962
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5df3f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.004b2d90
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [edi], vtable._SLCoreService.0
call fcn.004b31f0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea eax, [edi + 0x38]
mov dword [eax], 0
mov dword [ebp - 0x10], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a95d0
mov dword [esi], eax
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
lea esi, [edi + 0x7c]
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov ecx, esi
mov dword [edi + 0x78], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004aba10
mov dword [esi], eax
lea esi, [edi + 0x88]
mov byte [edi + 0x84], 0
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004aba40
mov dword [esi], eax
lea ebx, [edi + 0xb0]
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x4a9f43
mov eax, dword [ebx]
jmp 0x4a9f45
mov eax, ebx
mov edx, dword [ebp + 8]
mov byte [eax], 0
cmp byte [edx], 0
jne 0x4a9f54
xor ecx, ecx
jmp 0x4a9f69
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9f60
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.0044d570
lea esi, [edi + 0xc8]
mov byte [ebp - 4], 0xa
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004aba40
mov dword [esi], eax
lea eax, [edi + 0x198]
mov dword [edi + 0x194], 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x4a9fbb
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x1b0]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x4a9fda
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x1c8]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x4a9ff9
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x1e0]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x4aa018
mov eax, dword [eax]
mov byte [eax], 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.004b7d40
push str.SLCore_2.0_Release__build_2.0.1.360321_
push str.Starting_up__s.
push 4
call fcn.004ab960
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
jb 0x4aa043
mov ebx, dword [ebx]
push ebx
mov ecx, edi
call fcn.004ab840
test al, al
lea eax, [edi + 0x2c]
push 0x94
cmovne eax, dword [ebp - 0x10]
mov dword [edi + 0x28], eax
lea eax, [edi + 0xd0]
push 0
push eax
call fcn.00510680
add esp, 0xc
mov dword [edi + 0x190], 0
cmp dword [0x5ed240], 0
jne 0x4aa0aa
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push str.SyncSemaphore
push 1
push 1
push 0
call esi
push str.SlcoreSemaphore
push 1
push 1
push 0
mov dword [0x5ed244], eax
call esi
mov dword [0x5ed240], eax
lea esi, [edi + 0xac]
call fcn.004b7dd0
push esi
lea ecx, [edi + 0x18]
mov byte [esi], al
call fcn.004b6320
lea ecx, [ebp - 0x20]
call fcn.004b7d50
sub esp, 8
fstp qword [esp]
push str.Service_construction_took__.1f_ms_and_succeed.
push 4
call fcn.004ab960
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4