Function at 0x40c880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x46e224]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x60]
push 0x20a
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.004342c0
add esp, 0xc
lea eax, [esp + 0x60]
push 0x104
push eax
push ebx
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 ebx
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x472544], eax
test eax, eax
je 0x40c91a
push str.SetExtraData
push eax
call edi
test eax, eax
je 0x40c91a
push str.vpn_win_services
push str.process_type
call eax
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [0x472544]
mov esi, eax
test ecx, ecx
je 0x40c93e
push str.ExceptionMonitorW
push ecx
call edi
test eax, eax
je 0x40c93e
push esi
call eax
add esp, 4
push str.crash_test
push esi
call fcn.00433a39
add esp, 8
test eax, eax
je 0x40c955
xor eax, eax
mov byte [eax], 0x71
push 0x30
lea eax, [esp + 0x34]
push 0
push eax
call fcn.004342c0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0041dbf0
push 0
push 0
call fcn.00417b60
add esp, 8
xor edi, edi
call fcn.00416de0
push 0xe
push str.enable_logging
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov esi, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xf
call fcn.00402000
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00417ab0
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x13], al
cmp edx, 0x10
jb 0x40c9ee
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb8c
push edx
push ecx
call fcn.00432145
mov al, byte [esp + 0x1b]
add esp, 8
test al, al
setne cl
call fcn.0040c790
call fcn.0040f710
test eax, eax
jg 0x40ca29
push str.____Main_Daemon_is_running____
push 0
push 0x36
push str.D:360Work2.vpn_turbowin_turboDaemonwin_main.cpp
lea ecx, [esp + 0x70]
call fcn.0040e4f0
add eax, 8
push eax
call fcn.00402200
add esp, 8
mov ebx, 1
test bl, 1
je 0x40ca3a
lea ecx, [esp + 0x60]
and ebx, 0xfffffffe
call fcn.0040e6b0
call fcn.0040d440
sub eax, 0
je 0x40cae3
sub eax, 1
je 0x40ca96
sub eax, 1
jne 0x40cb25
call fcn.0040f710
test eax, eax
jg 0x40ca85
push str.Service_is_already_running
push 0
push 0x3f
push str.D:360Work2.vpn_turbowin_turboDaemonwin_main.cpp
lea ecx, [esp + 0x70]
or ebx, 4
call fcn.0040e4f0
add eax, 8
push eax
call fcn.00402200
add esp, 8
test bl, 4
je 0x40cb23
and ebx, 0xfffffffb
jmp 0x40cb1a
call fcn.0040f710
test eax, eax
jg 0x40cac5
push str.start_run
push 0
push 0x43
push str.D:360Work2.vpn_turbowin_turboDaemonwin_main.cpp
lea ecx, [esp + 0x70]
or ebx, 8
call fcn.0040e4f0
add eax, 8
push eax
call fcn.00402200
add esp, 8
test bl, 8
je 0x40cad6
lea ecx, [esp + 0x60]
and ebx, 0xfffffff7
call fcn.0040e6b0
lea ecx, [esp + 0x14]
call fcn.0040bcd0
mov edi, eax
jmp 0x40cb25
call fcn.0040f710
test eax, eax
jg 0x40cb12
push str.Service_Successfully_Launched
push 0
push 0x3b
push str.D:360Work2.vpn_turbowin_turboDaemonwin_main.cpp
lea ecx, [esp + 0x70]
or ebx, 2
call fcn.0040e4f0
add eax, 8
push eax
call fcn.00402200
add esp, 8
test bl, 2
je 0x40cb23
and ebx, 0xfffffffd
lea ecx, [esp + 0x60]
call fcn.0040e6b0
xor edi, edi
call fcn.0040f710
test eax, eax
jg 0x40cb5c
push str._exit_code
push 0
push 0x49
push str.D:360Work2.vpn_turbowin_turboDaemonwin_main.cpp
lea ecx, [esp + 0x70]
or ebx, 0x10
call fcn.0040e4f0
add eax, 8
push eax
call fcn.00402200
add esp, 8
mov ecx, eax
push edi
call fcn.0040c2a0
test bl, 0x10
je 0x40cb6a
lea ecx, [esp + 0x60]
call fcn.0040e6b0
lea ecx, [esp + 0x30]
call fcn.0041dd70
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00432107
mov esp, ebp
pop ebp
ret 0x10
call fcn.00436c8f
int3