Function at 0x40db10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x490274]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword fs:[0x2c]
push esi
push edi
mov esi, dword [eax]
mov eax, dword [0x495acc]
cmp eax, dword [esi + 4]
jle 0x40db71
push 0x495acc
call fcn.00435de6
add esp, 4
cmp dword [0x495acc], 0xffffffff
jne 0x40db71
push 0x495acc
mov dword [0x495ad0], ebx
call fcn.00435d9c
add esp, 4
push 0x20a
lea eax, [esp + 0x64]
push 0
push eax
call fcn.0044e130
add esp, 0xc
lea eax, [esp + 0x60]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.breakpad.dll
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 8
push 0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [0x495acc]
mov dword [0x495ad0], eax
cmp ecx, dword [esi + 4]
jle 0x40dc02
push 0x495acc
call fcn.00435de6
add esp, 4
cmp dword [0x495acc], 0xffffffff
jne 0x40dbfd
push 0x495acc
mov dword [0x495ad0], ebx
call fcn.00435d9c
add esp, 4
mov eax, dword [0x495ad0]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dc27
push str.SetExtraData
push eax
call edi
test eax, eax
je 0x40dc27
push str.vpn_win_services
push str.process_type
call eax
add esp, 8
mov eax, dword [0x495acc]
cmp eax, dword [esi + 4]
jle 0x40dc5d
push 0x495acc
call fcn.00435de6
add esp, 4
cmp dword [0x495acc], 0xffffffff
jne 0x40dc5d
push 0x495acc
mov dword [0x495ad0], ebx
call fcn.00435d9c
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [0x495ad0]
mov esi, eax
test ecx, ecx
je 0x40dc81
push str.ExceptionMonitorW
push ecx
call edi
test eax, eax
je 0x40dc81
push esi
call eax
add esp, 4
push str.crash_test
push esi
call fcn.0044d315
add esp, 8
test eax, eax
je 0x40dc98
xor eax, eax
mov byte [eax], 0x71
push 0x30
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0044e130
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0041f8d0
push 0
push 0
call fcn.00418e90
add esp, 8
xor edi, edi
call fcn.00418350
push 0xe
push str.enable_logging
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebx
mov esi, eax
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], bl
call fcn.00402010
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00418df0
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x13], al
cmp edx, 0x10
jb 0x40dd31
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40decf
push edx
push ecx
call fcn.00435c1c
mov al, byte [esp + 0x1b]
add esp, 8
test al, al
setne cl
call fcn.0040da20
call fcn.004106d0
test eax, eax
jg 0x40dd6c
push 0
push 0x36
push str.f:360workgzturbowin_masterdaemonwin_main.cpp
lea ecx, [esp + 0x6c]
call fcn.0040f530
add eax, 8
push str.____Main_Daemon_is_running____
push eax
call fcn.00402230
add esp, 8
mov ebx, 1
test bl, 1
je 0x40dd7d
lea ecx, [esp + 0x60]
and ebx, 0xfffffffe
call fcn.0040f6f0
call fcn.0040e5b0
sub eax, 0
je 0x40de26
sub eax, 1
je 0x40ddd9
sub eax, 1
jne 0x40de68
call fcn.004106d0
test eax, eax
jg 0x40ddc8
push 0
push 0x3f
push str.f:360workgzturbowin_masterdaemonwin_main.cpp
lea ecx, [esp + 0x6c]
or ebx, 4
call fcn.0040f530
add eax, 8
push str.Service_is_already_running
push eax
call fcn.00402230
add esp, 8
test bl, 4
je 0x40de66
and ebx, 0xfffffffb
jmp 0x40de5d
call fcn.004106d0
test eax, eax
jg 0x40de08
push 0
push 0x43
push str.f:360workgzturbowin_masterdaemonwin_main.cpp
lea ecx, [esp + 0x6c]
or ebx, 8
call fcn.0040f530
add eax, 8
push str.start_run
push eax
call fcn.00402230
add esp, 8
test bl, 8
je 0x40de19
lea ecx, [esp + 0x60]
and ebx, 0xfffffff7
call fcn.0040f6f0
lea ecx, [esp + 0x14]
call fcn.0040cc60
mov edi, eax
jmp 0x40de68
call fcn.004106d0
test eax, eax
jg 0x40de55
push 0
push 0x3b
push str.f:360workgzturbowin_masterdaemonwin_main.cpp
lea ecx, [esp + 0x6c]
or ebx, 2
call fcn.0040f530
add eax, 8
push str.Service_Successfully_Launched
push eax
call fcn.00402230
add esp, 8
test bl, 2
je 0x40de66
and ebx, 0xfffffffd
lea ecx, [esp + 0x60]
call fcn.0040f6f0
xor edi, edi
call fcn.004106d0
test eax, eax
jg 0x40de9f
push 0
push 0x49
push str.f:360workgzturbowin_masterdaemonwin_main.cpp
lea ecx, [esp + 0x6c]
or ebx, 0x10
call fcn.0040f530
add eax, 8
push str._exit_code
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
push edi
call fcn.0040d600
test bl, 0x10
je 0x40dead
lea ecx, [esp + 0x60]
call fcn.0040f6f0
lea ecx, [esp + 0x30]
call fcn.0041fa50
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret 0x10
call fcn.00451286
int3