Function at 0x4025e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x47f1f4]
xor eax, esp
mov dword [esp + 0x138], 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 0x401610
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402630
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004014a0
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.004689f0
add esp, 8
cmp dword [esp + 0x34], 0x10
jb 0x402666
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00446286
add esp, 4
cmp dword [0x4807e0], ebx
jne 0x40267f
push 6
push str.update
mov ecx, 0x4807cc
call fcn.004014a0
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push edi
call fcn.00465f00
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.00412d90
add esp, 4
cmp dword [0x4807c4], ebx
jne 0x40284b
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 + 0x18], eax
call edi
push 0x4795c0
push ebx
push ebx
mov dword [esp + 0x20], eax
call esi
mov esi, eax
call edi
push 3
push 0x4795bc
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004014a0
lea edx, [esp + 0x1c]
push edx
call fcn.004017b0
mov edi, 0x10
add esp, 4
mov bl, al
cmp dword [esp + 0x34], edi
jb 0x402726
mov eax, dword [esp + 0x20]
push eax
call fcn.00446286
add esp, 4
test bl, bl
jne 0x402833
push 3
push 0x47961c
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], bl
call fcn.004014a0
lea ecx, [esp + 0x1c]
push ecx
call fcn.004017b0
add esp, 4
mov bl, al
cmp dword [esp + 0x34], edi
jb 0x402774
mov edx, dword [esp + 0x20]
push edx
call fcn.00446286
add esp, 4
test bl, bl
jne 0x402833
push str._Update
lea ecx, [esp + 0x20]
mov ebx, 1
call fcn.004015d0
lea eax, [esp + 0x1c]
push eax
call fcn.004017b0
add esp, 4
mov byte [esp + 0x13], al
cmp dword [esp + 0x34], edi
jb 0x4027b3
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00446286
add esp, 4
cmp byte [esp + 0x13], 0
je 0x4027bc
xor ebx, ebx
mov eax, 0xb7
cmp dword [esp + 0x38], eax
je 0x402833
cmp dword [esp + 0x14], eax
jne 0x4027d2
cmp ebx, 1
je 0x402833
push str.update.run
lea ecx, [esp + 0x20]
call fcn.004015d0
push 1
push 5
push 0
push 1
push 1
push 1
lea edx, [esp + 0x34]
push 1
push edx
call fcn.00468c00
add esp, 0x20
lea ecx, [esp + 0x1c]
call fcn.00401000
push 3
call fcn.00412d90
add esp, 4
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.00406150
lea ecx, [esp + 0x40]
push ecx
call fcn.00406490
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [esp + 0x40]
push edx
call fcn.00402870
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x402840
push esi
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40284b
push eax
call edi
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004461e8
mov esp, ebp
pop ebp
ret 0x10