Function at 0x401780
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x220
mov eax, dword [0x49a11c]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
mov esi, dword [esp + 0x230]
push 0x800
call dword [sym.imp.KERNEL32.dll_SetDefaultDllDirectories]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
jne 0x4017e0
lea eax, [edx + 1]
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0042e033
add esp, 0x220
ret 0x10
mov eax, dword [esp + 0xc]
cmp eax, 1
push ebx
setle cl
push ebp
xor ebp, ebp
mov byte [esp + 0xf], cl
push edi
test eax, eax
jle 0x4018ea
nop dword [eax + eax]
test cl, cl
jne 0x4018ea
mov ebx, dword [edx + ebp*4]
mov esi, 0x499010
xor edi, edi
mov ecx, dword [esi]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40183c
test dx, dx
je 0x401838
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40183c
add eax, 4
add ecx, 4
test dx, dx
jne 0x401816
xor eax, eax
jmp 0x401841
sbb eax, eax
or eax, 1
test eax, eax
je 0x401966
mov ecx, dword [esi + 4]
mov eax, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401876
test dx, dx
je 0x401872
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401876
add eax, 4
add ecx, 4
test dx, dx
jne 0x401850
xor eax, eax
jmp 0x40187b
sbb eax, eax
or eax, 1
test eax, eax
je 0x401966
mov eax, dword [esi + 8]
test eax, eax
je 0x4018c3
mov ecx, ebx
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4018b6
test dx, dx
je 0x4018b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4018b6
add ecx, 4
add eax, 4
test dx, dx
jne 0x401890
xor eax, eax
jmp 0x4018bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x401966
add edi, 0x18
add esi, 0x18
cmp edi, 0x150
jb 0x401812
mov cl, 1
mov byte [esp + 0x13], cl
mov edx, dword [esp + 0x14]
inc ebp
cmp ebp, dword [esp + 0x18]
jl 0x401800
cmp word [0x49b038], 0
je 0x401b51
test cl, cl
jne 0x401b51
cmp word [0x49b240], 0
push 0x49b2c0
setne al
movzx eax, al
push eax
push dword [0x499004]
lea eax, [esp + 0x20]
push eax
call fcn.004179d0
mov edi, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
add esp, 0x10
mov esi, dword [edi]
test esi, esi
je 0x4019bc
push 0x10
call fcn.0042dff0
add esp, 4
test eax, eax
je 0x4019ac
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_resource_class_nvc::Logger___struct_std::default_delete_class_nvc::Logger__.0
mov dword [eax + 0xc], esi
jmp 0x4019ae
xor eax, eax
cmp byte [esi + 0x14], al
je 0x401982
mov eax, dword [esp + 0x18]
dec eax
cmp ebp, eax
jge 0x4018d5
mov eax, dword [esp + 0x14]
inc ebp
mov eax, dword [eax + ebp*4]
mov esi, dword [esi + 0x10]
test esi, esi
je 0x4018d5
push eax
mov ecx, esi
call dword [0x485320]
call esi
add esp, 4
test al, al
je 0x4018d5
mov cl, byte [esp + 0x13]
jmp 0x4018db
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [edi], 0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4019d7
mov eax, dword [esi]
push 1
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x485320]
mov ecx, esi
call edi
push str.1.37
push str.Container_main_v_s
push 3
push 0x1cb
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvContainer.cpp
push dword [esp + 0x30]
call fcn.00418440
push 0x208
lea eax, [esp + 0x40]
push 0
push eax
call fcn.0042fbd0
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.00412e70
add esp, 0x2c
test eax, eax
je 0x401a49
push 0x49b038
lea eax, [esp + 0x28]
push eax
push 0x49b4c8
call fcn.0041bde0
add esp, 0xc
test eax, eax
js 0x401a49
call fcn.0041b750
or eax, 0x40
push eax
call fcn.0041b7b0
add esp, 4
mov esi, dword [esp + 0x1c]
call fcn.0041b750
shr eax, 6
mov ecx, str.disabled
test al, 1
mov eax, str.initialized
cmove eax, ecx
push eax
push str.Telemetry_API__s
push 3
push 0x1d9
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvContainer.cpp
push esi
call fcn.00418440
lea eax, [esp + 0x34]
push eax
call fcn.0040aeb0
push dword [0x499008]
lea eax, [esp + 0x3c]
push 0x49b038
push eax
push 0x49b240
call fcn.0040a2a0
mov ecx, dword [0x49b6d0]
mov edi, eax
add esp, 0x2c
mov dword [edi + 0x480], ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x485320]
mov ecx, edi
call esi
mov bl, al
mov ecx, str.success
mov eax, str.error
test bl, bl
cmove ecx, eax
push ecx
push str.Container_main_exited_with__s
push 3
push 0x1e4
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvContainer.cpp
push dword [esp + 0x30]
call fcn.00418440
add esp, 0x18
test bl, bl
je 0x401afc
mov ecx, edi
call fcn.00404a70
call fcn.0040af40
mov edi, dword [esp + 0x20]
xor ecx, ecx
test bl, bl
sete cl
mov dword [esp + 0x14], ecx
test edi, edi
je 0x401b4d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x401b4d
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x485320]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x401b49
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x485320]
mov ecx, edi
call esi
mov ecx, dword [esp + 0x14]
mov eax, ecx
jmp 0x401bad
push str.NvContainer___generic_NV_host_process._nUsage:_NvContainer_options_n
call fcn.00401720
add esp, 4
mov esi, 0x499024
mov edi, 0xe
mov ebx, 0x485fd9
nop dword [eax]
push dword [esi - 8]
cmp byte [esi], 0
mov eax, 0x485fd0
cmove eax, ebx
push eax
push dword [esi - 0xc]
push dword [esi - 0x10]
push dword [esi - 0x14]
push str._t_ls___ls___ls__s__n_t_t_ls_n
call fcn.00401720
add esp, 0x18
lea esi, [esi + 0x18]
sub edi, 1
jne 0x401b70
push 0x485ff8
call fcn.00401720
add esp, 4
lea eax, [edi + 2]
mov ecx, dword [esp + 0x22c]
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.0042e033
add esp, 0x220
ret 0x10