Function at 0x40176e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477967
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4997d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jle 0x4017a8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x481894
lea ecx, [ebp - 0x2c]
call fcn.00401c41
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004015b3
pop ecx
pop ecx
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401ecc
mov byte [ebp - 4], 2
xor eax, eax
cmp dword [ebp - 0x70], 0
sete al
movzx eax, al
test eax, eax
je 0x401815
mov byte [ebp - 0x9d], 0
mov dword [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ecc
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x9d]
jmp 0x4019fb
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401d61
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc9]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 6
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ecc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004056c3
pop ecx
pop ecx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004011e4
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x4019af
lea eax, [ebp - 0x9c]
push eax
call fcn.00401486
pop ecx
mov byte [ebp - 4], 8
xor eax, eax
cmp dword [ebp - 0x8c], 0
sete al
movzx eax, al
test eax, eax
je 0x401906
mov byte [ebp - 0x9e], 0
mov byte [ebp - 4], 9
push 0
push 1
lea ecx, [ebp - 0x9c]
call fcn.00401f59
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00401ecc
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00401f59
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ecc
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x9e]
jmp 0x4019fb
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004056c3
pop ecx
pop ecx
push str._tgp_daemon.exe
call fcn.0044af10
pop ecx
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xd0]
push str._tgp_daemon.exe
lea ecx, [ebp - 0x80]
call fcn.00402106
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004011e4
pop ecx
pop ecx
mov byte [ebp - 0x9f], al
mov byte [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0x9c]
call fcn.00401f59
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0xe
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00401ecc
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0xf
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00401f59
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0x10
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ecc
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x9f]
jmp 0x4019fb
mov byte [ebp - 0xa0], 1
mov byte [ebp - 4], 0x11
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00401ecc
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0x12
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00401f59
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0x13
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ecc
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b3ec
leave
ret