Function at 0x406e40
Capabilities:
Accept command line arguments

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4689bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x4c700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x30]
call fcn.00410170
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00406bc0
lea eax, [ebp - 0x18]
mov byte [0x4c8d92], 1
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 1
mov edi, eax
cmp dword [ebp - 0x18], esi
jle 0x407389
nop dword [eax]
nop dword [eax + eax]
push str._silent
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x406ef0
mov byte [0x4c909b], 1
jmp 0x40737f
push str._nolaunch
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x406f10
mov byte [0x4c9099], 1
jmp 0x40737f
push str._noupdate
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x406f33
mov dword [0x4c90a0], 0xffffffff
jmp 0x40737f
push str._update
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x406f56
mov dword [0x4c90a0], 1
jmp 0x40737f
push str._advanced
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x406f76
mov byte [0x4c8d91], 1
jmp 0x40737f
push str._admin
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x406f96
mov byte [0x4c909a], 1
jmp 0x40737f
push str._releasetype
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x406fc1
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x406fc1
mov eax, dword [edi + esi*4 + 4]
inc esi
mov dword [0x4c90ac], eax
jmp 0x40737f
push str._destination
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x407037
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x407037
mov edx, dword [edi + esi*4 + 4]
inc esi
mov ecx, edx
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x34], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407005
sub ecx, dword [ebp - 0x34]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040be10
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00406bc0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
jmp 0x40734c
push str._disablehardwarerendering
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x40706e
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x40706e
push dword [edi + esi*4 + 4]
inc esi
call fcn.00454f6f
add esp, 4
test eax, eax
setne byte [0x4c9098]
jmp 0x40737f
push str._sourceexe
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x407099
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x407099
mov eax, dword [edi + esi*4 + 4]
inc esi
mov dword [0x4c90a4], eax
jmp 0x40737f
push str._token
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x407165
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x407165
mov edx, dword [edi + esi*4 + 4]
lea ecx, [ebp - 0x4c]
inc esi
call fcn.0040eba0
mov dword [ebp - 0x34], eax
cmp eax, 0x4c7a7c
je 0x407153
mov ecx, dword [0x4c7a90]
cmp ecx, 0x10
jb 0x407110
mov eax, dword [0x4c7a7c]
inc ecx
cmp ecx, 0x1000
jb 0x407103
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073dd
mov eax, edx
push ecx
push eax
call fcn.00449563
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [0x4c7a8c], 0
mov dword [0x4c7a90], 0xf
mov byte [0x4c7a7c], 0
movups xmm0, xmmword [eax]
movups xmmword [0x4c7a7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [0x4c7a8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x40737f
inc edx
jmp 0x407358
push str._xpos
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x407198
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x407198
push dword [edi + esi*4 + 4]
inc esi
call fcn.00454f6f
add esp, 4
mov dword [0x4c7a50], eax
jmp 0x40737f
push str._ypos
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x4071cb
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x4071cb
push dword [edi + esi*4 + 4]
inc esi
call fcn.00454f6f
add esp, 4
mov dword [0x4c7a54], eax
jmp 0x40737f
push str._width
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x4071fe
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x4071fe
push dword [edi + esi*4 + 4]
inc esi
call fcn.00454f6f
add esp, 4
mov dword [0x4c7a58], eax
jmp 0x40737f
push str._height
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x407231
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x407231
push dword [edi + esi*4 + 4]
inc esi
call fcn.00454f6f
add esp, 4
mov dword [0x4c7a5c], eax
jmp 0x40737f
push str._maximized
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x407268
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x407268
push dword [edi + esi*4 + 4]
inc esi
call fcn.00454f6f
add esp, 4
test eax, eax
setne byte [0x4c7a60]
jmp 0x40737f
push str._locale
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x407293
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x407293
mov ecx, dword [edi + esi*4 + 4]
inc esi
call fcn.0041d480
jmp 0x40737f
push str._param
push dword [edi + esi*4]
call fcn.0044ca6c
add esp, 8
test eax, eax
jne 0x40737f
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
jge 0x40737f
mov edx, dword [edi + esi*4 + 4]
inc esi
mov ecx, edx
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x34], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4072e0
sub ecx, dword [ebp - 0x34]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040be10
mov byte [ebp - 4], 3
mov eax, dword [0x4c8d98]
cmp eax, dword [0x4c8d9c]
je 0x407336
movups xmm0, xmmword [ebp - 0x4c]
mov dword [eax], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [0x4c8d98], 0x18
mov word [ebp - 0x4c], ax
jmp 0x407348
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov ecx, 0x4c8d94
call fcn.0040c5c0
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40737f
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
cmp edx, 0x1000
jb 0x407375
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073dd
push edx
push ecx
call fcn.00449563
add esp, 8
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x406ed0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4073bf
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4073b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073dd
push edx
push ecx
call fcn.00449563
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004490d7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00458a87
int3