Function at 0x407aeb
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x498070]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x10], 6
mov esi, eax
jl 0x407b99
push 5
push 0x47ce88
push dword [esi + 4]
call fcn.00442a0b
add esp, 0xc
test eax, eax
jne 0x407b99
and dword [esp + 0x4c], eax
mov edi, str.SEGame_UnInstall
push edi
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
call fcn.004402a6
pop ecx
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.0040299b
push dword [esp + 0x10]
lea eax, [esp + 0x40]
push esi
push eax
call fcn.0045e066
add esp, 0xc
lea ecx, [esp + 0x3c]
push 0
push 1
call fcn.00402f3e
mov ecx, dword [esp + 0x8c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret 0x10
call fcn.0045e271
xor eax, eax
mov dword [esp + 0x38], 7
mov edi, 0x47c9dc
mov word [esp + 0x24], ax
xor ebx, ebx
push edi
mov dword [esp + 0x38], ebx
call fcn.004402a6
pop ecx
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.0040299b
xor eax, eax
mov dword [esp + 0x50], 7
mov edi, str.C:SELog
mov dword [esp + 0x4c], ebx
push edi
mov word [esp + 0x40], ax
call fcn.004402a6
pop ecx
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.0040299b
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0045e2b7
pop ecx
pop ecx
xor eax, eax
lea ecx, [esp + 0x3c]
push ebx
inc eax
push eax
call fcn.00402f3e
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.00402f3e
xor eax, eax
mov dword [esp + 0x38], 7
push edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], ax
call fcn.004402a6
pop ecx
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.0040299b
lea eax, [esp + 0x24]
push eax
push 3
call fcn.0045e3ef
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.00402f3e
cmp dword [esp + 0x10], 5
push 0xf
pop eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x54], vtable.CUnInstallerSE.0
jl 0x407c9a
push esi
lea ecx, [esp + 0x58]
call fcn.00430117
jmp 0x407c9c
mov al, bl
test al, al
je 0x407cbb
call fcn.0045e693
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], vtable.CUnInstallerBase.0
call fcn.0042ed15
jmp 0x407b80
xor eax, eax
mov dword [esp + 0x38], 7
mov edi, str.C7291D6C_F8A2_4f5d_99D8_5E2F7E64D3A6
mov dword [esp + 0x34], ebx
push edi
mov word [esp + 0x28], ax
call fcn.004402a6
pop ecx
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.0040299b
push 1
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.00458e22
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.00402f3e
lea ecx, [esp + 0x14]
call fcn.00459055
test al, al
je 0x407d34
push ebx
push 0x47cf20
push 0x47cf30
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0045e693
lea ecx, [esp + 0x14]
call fcn.00459018
jmp 0x407ca5
xor eax, eax
mov dword [esp + 0x38], 7
mov edi, str.C9320C52_C628_4e67_8CF1_C067B0D57CA5
mov dword [esp + 0x34], ebx
push edi
mov word [esp + 0x28], ax
call fcn.004402a6
pop ecx
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.0040299b
xor edi, edi
lea eax, [esp + 0x24]
inc edi
lea ecx, [esp + 0x1c]
push edi
push ebx
push eax
call fcn.00458e22
push ebx
push edi
lea ecx, [esp + 0x2c]
call fcn.00402f3e
lea ecx, [esp + 0x1c]
call fcn.00459055
lea ecx, [esp + 0x1c]
mov bl, al
call fcn.00459018
test bl, bl
je 0x407da7
push 0
push 0x47cf20
push 0x47cfb0
push 0
jmp 0x407d1b
cmp dword [esp + 0x10], 2
mov byte [esp + 0x58], 0
jl 0x407dd3
push 2
push 0x48a654
push dword [esi + 4]
call fcn.00442a0b
movzx ecx, byte [esp + 0x64]
add esp, 0xc
test eax, eax
cmove ecx, edi
mov byte [esp + 0x58], cl
lea ecx, [esp + 0x54]
call fcn.00401eaa
lea ecx, [esp + 0x14]
call fcn.00459066
call fcn.0045e693
lea ecx, [esp + 0x14]
call fcn.00459018
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], vtable.CUnInstallerBase.0
call fcn.0042ed15
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]