Function at 0x46aae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d75dd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x51808c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp dword [0x7adb5c], 0
jne 0x46ab2d
push 0x4ec5b4
push 0x10
call fcn.004a5138
add esp, 8
mov dword [0x7adb5c], eax
mov ecx, dword [ebx + 0x34]
lea esi, [ebx + 0x24]
mov edi, closesocket
mov eax, edi
sub eax, ecx
cmp eax, 0xe
jb 0x46ad5b
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46ab4f
mov eax, dword [esi]
push 0xe
push str.app_started_v1
push ecx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.0042f1f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0044d060
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x46abae
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46aba4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ad65
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov ebx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0xc]
call fcn.00480640
cmp eax, 1
jne 0x46acac
push 0x25
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._service__service_is_already_started.
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040a470
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00449940
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x46ac34
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46ac2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ad60
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov eax, dword [esi + 0x10]
sub edi, eax
cmp edi, 0x14
jb 0x46ad5b
cmp dword [esi + 0x14], 0x10
jb 0x46ac4a
mov esi, dword [esi]
push 0x14
push str.core_manager_started
push eax
push esi
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call fcn.0042f1f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.0044d060
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x46ad37
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46ad2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ad65
jmp 0x46ad2d
push 8
call fcn.004a4c72
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [eax], 0x4675b0
mov dword [eax + 4], ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x468140
push 0
push 0
call fcn.004ab1ed
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46ad6f
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.00466fe0
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8Service_bbservice__AEXXZPAV34__std__X__V_std__.0
mov dword [eax + 4], 0x4676e0
mov dword [eax + 8], ebx
mov dword [eax + 0x24], eax
mov ecx, dword [ebx + 0xc]
call fcn.004806a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 0
jne 0x46ad6a
jmp 0x46ac34
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov ecx, dword [ebp - 0x2c]
call fcn.0046ad80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4a5b
mov esp, ebp
pop ebp
ret
call fcn.00408730
call fcn.004aae73
call fcn.004aae73
call fcn.004b97e8
push 6
mov dword [ebp - 0x34], 0
call fcn.0048f6af
int3