Function at 0x401240
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x224
mov eax, dword [0x447170]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x230]
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
jne 0x401293
lea eax, [edx + 1]
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0040e49c
add esp, 0x224
ret 0x10
mov eax, dword [esp + 4]
cmp eax, 1
push ebx
push ebp
setle cl
xor ebp, ebp
mov byte [esp + 0xb], cl
push esi
push edi
test eax, eax
jle 0x40139a
nop
test cl, cl
jne 0x40139a
mov ebx, dword [edx + ebp*4]
mov esi, 0x447010
xor edi, edi
mov ecx, dword [esi - 8]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4012ed
test dx, dx
je 0x4012e9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4012ed
add eax, 4
add ecx, 4
test dx, dx
jne 0x4012c7
xor eax, eax
jmp 0x4012f2
sbb eax, eax
or eax, 1
test eax, eax
je 0x4014c9
mov ecx, dword [esi - 4]
mov eax, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401326
test dx, dx
je 0x401322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401326
add eax, 4
add ecx, 4
test dx, dx
jne 0x401300
xor eax, eax
jmp 0x40132b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4014c9
mov eax, dword [esi]
test eax, eax
je 0x401373
mov ecx, ebx
jmp 0x401340
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x401366
test dx, dx
je 0x401362
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x401366
add ecx, 4
add eax, 4
test dx, dx
jne 0x401340
xor eax, eax
jmp 0x40136b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4014c9
add edi, 0x18
add esi, 0x18
cmp edi, 0x138
jb 0x4012c2
mov cl, 1
mov byte [esp + 0x13], cl
mov edx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0x4012b0
cmp word [0x448a98], 0
je 0x401507
test cl, cl
jne 0x401507
cmp word [0x448600], 0
push 0x448680
setne al
movzx eax, al
push eax
call fcn.0040d650
mov ecx, dword [section..data]
mov esi, eax
push str.1.10
push str.Container_main_v_s__secure_load_library__ON_
push 3
push 0x174
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvContainer.cpp
push esi
mov dword [esi + 4], ecx
call fcn.0040d470
xor eax, eax
push 0x206
push eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push eax
call fcn.0040e4b0
add esp, 0x2c
lea eax, [esp + 0x28]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401442
push 0x448a98
lea eax, [esp + 0x2c]
push eax
push 0x448890
call fcn.00408490
add esp, 0xc
test eax, eax
js 0x401442
or dword [0x448888], 0x40
push esi
lea ecx, [esp + 0x20]
call fcn.00408900
push esi
push 0x448600
push dword [0x448888]
call fcn.004023a0
mov ecx, dword [0x44888c]
mov edi, eax
add esp, 0xc
mov dword [edi + 0x338], ecx
mov ecx, edi
push dword [0x447004]
push 0x448a98
call fcn.00402970
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 0x18a
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvContainer.cpp
push esi
call fcn.0040d470
add esp, 0x18
test bl, bl
je 0x4014b7
mov ecx, edi
call fcn.00403700
lea ecx, [esp + 0x1c]
call fcn.00408960
xor eax, eax
test bl, bl
sete al
jmp 0x401511
xor eax, eax
cmp byte [esi + 0xc], al
je 0x4014e5
mov eax, dword [esp + 0x14]
dec eax
cmp ebp, eax
jge 0x401385
mov eax, dword [esp + 0x18]
inc ebp
mov eax, dword [eax + ebp*4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x401385
push eax
call ecx
add esp, 4
test al, al
je 0x401385
mov cl, byte [esp + 0x13]
jmp 0x40138b
call fcn.004011c0
mov eax, 2
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e49c
add esp, 0x224
ret 0x10