Function at 0x402010
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51da3e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x580b30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x344], edi
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x33c], 3
mov byte [ebp - 0x340], 0
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x260], edi
mov word [ebp - 0x270], cx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edx, edx
mov ecx, eax
mov word [ebp - 0x254], dx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], edi
lea edx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
cmp si, di
jne 0x4020a0
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.0040acb0
mov eax, 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x338], eax
jmp 0x4020d0
cmp eax, dword [ebp + 8]
jge 0x40237e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [ecx + eax*4]
xor eax, eax
mov word [ebp - 0x28c], ax
mov eax, edx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x27c], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402100
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x28c]
call fcn.0040acb0
lea ecx, [ebp - 0x238]
push ecx
lea edi, [ebp - 0x28c]
mov byte [ebp - 4], 3
call fcn.004675dd
add esp, 4
mov esi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x278], esi
jb 0x402155
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00469e1a
add esp, 4
mov dword [ebp - 0x278], ebx
mov ebx, dword [ebp - 0x228]
xor eax, eax
mov dword [ebp - 0x27c], 0
mov word [ebp - 0x28c], ax
mov edi, ebx
cmp ebx, 4
jb 0x40217e
lea edi, [eax + 4]
cmp dword [ebp - 0x224], esi
mov esi, dword [ebp - 0x238]
jae 0x402192
lea esi, [ebp - 0x238]
mov edx, str._rpc
test edi, edi
je 0x4021b0
movzx eax, word [esi]
movzx ecx, word [edx]
cmp ax, cx
je 0x4021d2
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4021db
mov eax, 4
cmp ebx, eax
jb 0x4021db
xor ecx, ecx
cmp ebx, eax
setne cl
mov eax, ecx
test eax, eax
jne 0x4021db
mov byte [ebp - 0x340], 1
jmp 0x4022c2
add esi, 2
add edx, 2
dec edi
jmp 0x402197
cmp ebx, 0xb
jne 0x402265
push 0xa
push str._loglevel:
lea edx, [ebp - 0x238]
push edx
xor eax, eax
call fcn.00403350
test eax, eax
jne 0x402265
push 1
push 0xa
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x238]
call fcn.00402b50
lea ecx, [ebp - 0x2a8]
push ecx
mov byte [ebp - 4], 6
call fcn.0046765a
add esp, 4
test eax, eax
jg 0x402236
mov dword [ebp - 0x33c], 0
jmp 0x40224b
mov dword [ebp - 0x33c], 4
cmp eax, 4
jge 0x40224b
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x294], 8
jb 0x4022c2
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.00469e1a
add esp, 4
jmp 0x4022c2
push str._is_an_invalid_option._n
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00405480
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 7
call fcn.0040a590
mov byte [ebp - 4], 5
cmp dword [ebp - 0x294], 8
jb 0x4022b0
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.00469e1a
add esp, 4
push 0x30
push str.Usage:_NVNetworkService__rpc___loglevel:_04__._n
lea ecx, [ebp - 0x270]
call fcn.0040a6a0
cmp dword [ebp - 0x224], 8
jb 0x4022da
mov eax, dword [ebp - 0x238]
push eax
call fcn.00469e1a
add esp, 4
mov dword [ebp - 4], 1
inc dword [ebp - 0x338]
mov eax, dword [ebp - 0x338]
mov ebx, 7
xor edi, edi
jmp 0x4020d0
mov edx, dword [ebp - 0x340]
push edx
call section..text
add esp, 4
test al, al
jne 0x4023e3
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x4023ad
mov eax, dword [ebp - 0x254]
push eax
call fcn.00469e1a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], cx
cmp dword [ebp - 0x25c], esi
jb 0x4023d9
mov edx, dword [ebp - 0x270]
push edx
call fcn.00469e1a
add esp, 4
mov eax, 4
jmp 0x402956
cmp dword [ebp - 0x260], edi
je 0x402548
cmp dword [ebp - 0x240], 8
mov edx, dword [ebp - 0x254]
jae 0x402404
lea edx, [ebp - 0x254]
xor eax, eax
mov word [ebp - 0x238], ax
mov eax, edx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x228], edi
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402420
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x238]
call fcn.0040acb0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x224], 8
jb 0x402457
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x338], ecx
jmp 0x402463
lea edx, [ebp - 0x238]
mov dword [ebp - 0x338], edx
push 1
push 4
push 1
push str.NVNetworkService
lea ecx, [ebp - 0x338]
call fcn.00417d10
mov esi, 8
add esp, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x224], esi
jb 0x40249c
mov eax, dword [ebp - 0x238]
push eax
call fcn.00469e1a
add esp, 4
mov edx, dword [ebp - 0x270]
cmp dword [ebp - 0x25c], esi
jae 0x4024b0
lea edx, [ebp - 0x270]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], cx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4024d0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x238]
call fcn.0040acb0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x402507
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x338], edx
jmp 0x402513
lea eax, [ebp - 0x238]
mov dword [ebp - 0x338], eax
push 1
push 1
push 1
push str.NVNetworkService
lea ecx, [ebp - 0x338]
call fcn.00417d10
add esp, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x224], 8
jb 0x402548
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00469e1a
add esp, 4
cmp byte [ebp - 0x340], 0
jne 0x4028fe
lea esi, [ebp - 0x2a8]
call fcn.00418700
push eax
mov edx, str.NVIDIA_CorporationNetService
lea esi, [ebp - 0x2e0]
mov byte [ebp - 4], 0xe
call fcn.004053f0
push eax
mov edx, 0x53335c
lea esi, [ebp - 0x28c]
mov byte [ebp - 4], 0xf
call fcn.004053f0
mov ebx, 0x10
push eax
mov edx, str.NvNetService.log
lea esi, [ebp - 0x238]
mov byte [ebp - 4], bl
call fcn.004053f0
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x278], esi
jb 0x4025c2
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00469e1a
add esp, 4
xor edi, edi
xor eax, eax
mov dword [ebp - 0x278], 7
mov dword [ebp - 0x27c], edi
mov word [ebp - 0x28c], ax
cmp dword [ebp - 0x2cc], esi
jb 0x4025f4
mov ecx, dword [ebp - 0x2e0]
push ecx
call fcn.00469e1a
add esp, 4
xor edx, edx
mov dword [ebp - 0x2cc], 7
mov dword [ebp - 0x2d0], edi
mov word [ebp - 0x2e0], dx
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x294], esi
jb 0x402628
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.00469e1a
add esp, 4
mov edx, dword [ebp - 0x33c]
push edx
lea eax, [ebp - 0x238]
xor ecx, ecx
push eax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], edi
mov word [ebp - 0x2a8], cx
call fcn.00409e90
mov esi, eax
call fcn.00468630
test al, al
je 0x40274d
mov dword [ebp - 0x3f0], 0x534e40
mov dword [ebp - 0x3e0], 0x537b70
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea ecx, [ebp - 0x3d8]
push ecx
lea edx, [ebp - 0x3f0]
mov byte [ebp - 4], 0x15
or dword [ebp - 0x344], 1
push edx
call fcn.004034a0
mov dword [ebp - 4], 0x16
mov eax, dword [ebp - 0x3f0]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x3d8]
push edx
mov dword [ebp + ecx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00403fb0
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x39c], edi
mov dword [ebp - 0x398], edi
push 0x533360
lea eax, [ebp - 0x3e0]
push str.Logging_initialized_successfully._Binary_Version:
push eax
mov byte [ebp - 4], 0x18
call fcn.004050c0
add esp, 8
push eax
call fcn.004050c0
add esp, 8
lea ecx, [ebp - 0x2c4]
lea eax, [ebp - 0x3f0]
call fcn.00402c70
push eax
push 3
mov byte [ebp - 4], 0x19
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0x2b0], 8
jb 0x40273e
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x3f0]
mov byte [ebp - 4], 0x14
call fcn.00401820
xor edi, edi
mov esi, str.NVNetworkService
mov dword [ebp - 0x314], esi
mov dword [ebp - 0x2f4], edi
mov dword [ebp - 0x310], ebx
mov dword [ebp - 0x30c], 2
mov dword [ebp - 0x308], 5
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x300], edi
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x2f8], edi
mov dword [ebp - method.NetworkService::Service.virtual_0], vtable.NetworkService::Service.0
mov dword [ebp - 0x2f0], edi
mov dword [ebp - 0x2ec], edi
mov dword [ebp - 0x2e8], edi
mov dword [ebp - 0x2e4], edi
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x2b8]
lea edx, [ebp - 0x318]
push eax
mov dword [0x58bea4], edx
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], 0x422830
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 0x2ac], edi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x402861
lea eax, [ebp - 0x334]
call fcn.00467ac8
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x402808
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x21c]
push str.Service_failed_to_run_w_err__s_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebp - 0x320], edi
jb 0x402835
mov edx, dword [ebp - 0x334]
push edx
call fcn.00469e1a
add esp, 4
push 1
push 1
lea eax, [ebp - 0x21c]
push 2
push esi
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], eax
call fcn.00417d10
add esp, 0x10
mov edi, 2
call fcn.00409e90
mov esi, eax
call fcn.004687a0
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0x14
call fcn.00421510
mov esi, 8
cmp dword [ebp - 0x224], esi
jb 0x402898
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00469e1a
add esp, 4
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
cmp dword [ebp - 0x240], esi
jb 0x4028ca
mov eax, dword [ebp - 0x254]
push eax
call fcn.00469e1a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], cx
cmp dword [ebp - 0x25c], esi
jb 0x4028fa
mov edx, dword [ebp - 0x270]
push edx
call fcn.00469e1a
add esp, 4
mov eax, edi
jmp 0x402956
mov eax, dword [ebp - 0x33c]
push eax
call fcn.004018c0
add esp, 4
cmp dword [ebp - 0x240], 8
mov esi, eax
jb 0x402927
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00469e1a
add esp, 4
xor edx, edx
cmp dword [ebp - 0x25c], 8
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], dx
jb 0x402954
mov eax, dword [ebp - 0x270]
push eax
call fcn.00469e1a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d31b7
mov esp, ebp
pop ebp
ret