Function at 0x402bc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4811f4]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x401600
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402c10
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004014c0
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00469d90
add esp, 8
cmp dword [esp + 0x2c], 0x10
jb 0x402c46
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004472f6
add esp, 4
cmp dword [0x4827e0], ebx
jne 0x402c5f
push 6
push str.update
mov ecx, 0x4827cc
call fcn.004014c0
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push edi
call fcn.00467140
add esp, 4
push edi
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
add esp, 4
push 3
call fcn.00413e00
add esp, 4
cmp dword [0x4827c4], ebx
jne 0x402eb5
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push str.Global6D0E1C6F_F83F_4645_9F31_D5B26C997C65
push ebx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
call edi
push str.Global84DDE91F_5045_411e_9D77_4AE3AADD679C
push ebx
push ebx
mov dword [esp + 0x18], eax
call esi
mov esi, eax
call edi
push 8
push str._install
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004014c0
lea edx, [esp + 0x14]
push edx
call fcn.004017a0
mov edi, 0x10
add esp, 4
mov bl, al
cmp dword [esp + 0x2c], edi
jb 0x402d06
mov eax, dword [esp + 0x18]
push eax
call fcn.004472f6
add esp, 4
test bl, bl
jne 0x402e9d
push 3
push 0x47b7dc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], bl
call fcn.004014c0
lea ecx, [esp + 0x14]
push ecx
call fcn.004017a0
add esp, 4
mov bl, al
cmp dword [esp + 0x2c], edi
jb 0x402d54
mov edx, dword [esp + 0x18]
push edx
call fcn.004472f6
add esp, 4
test bl, bl
jne 0x402e9d
push 0x47b7e0
lea ecx, [esp + 0x18]
call fcn.004015c0
lea eax, [esp + 0x14]
push eax
call fcn.004017a0
add esp, 4
mov bl, al
cmp dword [esp + 0x2c], edi
jb 0x402d8c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004472f6
add esp, 4
test bl, bl
jne 0x402e9d
push str._report_install_done
lea ecx, [esp + 0x18]
call fcn.004015c0
lea edx, [esp + 0x14]
push edx
call fcn.004017a0
add esp, 4
lea ecx, [esp + 0x14]
mov bl, al
call fcn.00401000
test bl, bl
jne 0x402e9d
push str._report_update_done
lea ecx, [esp + 0x18]
call fcn.004015c0
lea eax, [esp + 0x14]
push eax
call fcn.004017a0
add esp, 4
lea ecx, [esp + 0x14]
mov bl, al
call fcn.00401000
test bl, bl
jne 0x402e9d
push str._Update
lea ecx, [esp + 0x18]
mov edi, 1
call fcn.004015c0
lea ecx, [esp + 0x14]
push ecx
call fcn.004017a0
add esp, 4
lea ecx, [esp + 0x14]
mov bl, al
call fcn.00401000
test bl, bl
je 0x402e21
xor edi, edi
mov eax, 0xb7
cmp dword [esp + 0x30], eax
je 0x402e9d
cmp dword [esp + 0xc], eax
jne 0x402e37
cmp edi, 1
je 0x402e9d
push str.update.run
lea ecx, [esp + 0x18]
call fcn.004015c0
push 1
push 5
push 0
push 1
push 1
push 1
lea edx, [esp + 0x2c]
push 1
push edx
call fcn.0046a220
add esp, 0x20
lea ecx, [esp + 0x14]
call fcn.00401000
push 3
call fcn.00413e00
add esp, 4
push edi
lea eax, [esp + 0x3c]
push eax
call fcn.00406800
lea ecx, [esp + 0x38]
push ecx
call fcn.00406b40
call fcn.004019a0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [esp + 0x38]
push edx
call fcn.00402ee0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x402eaa
push esi
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402eb5
push eax
call edi
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00447258
mov esp, ebp
pop ebp
ret 0x10