Function at 0x4072a0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x1b0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x14], 1
mov ebx, eax
jle 0x4073ee
push 0x104
lea edx, [esp + 0xb4]
push 0
push edx
call fcn.00456530
mov ecx, dword [ebx + 4]
add esp, 0xc
lea eax, [esp + 0x30]
push 3
mov dword [esp + 0x30], eax
push ecx
lea eax, [esp + 0x34]
call fcn.00407690
sub esp, 0x84
mov edi, esp
push 0x47f394
lea edx, [esp + 0x138]
push 0x104
mov ecx, 0x21
lea esi, [esp + 0xb8]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004523a4
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc0]
add esp, 0x90
cmp eax, ecx
je 0x407371
push eax
call fcn.004521fa
add esp, 4
mov ecx, 0x47f398
lea eax, [esp + 0xb0]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4073a0
test dl, dl
je 0x40739c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4073a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407380
xor eax, eax
jmp 0x4073a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4073b0
mov byte [esp + 0x10], 1
jmp 0x4073ee
mov ecx, str._bindAtFirst
lea eax, [esp + 0xb0]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4073e0
test dl, dl
je 0x4073dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4073e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4073c0
xor eax, eax
jmp 0x4073e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4073ee
mov byte [esp + 0xf], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [esp + 0xf], 0
jne 0x407426
push str.RilibiaoUpdMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40742d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40766d
push str.BindOfFirstMutex
jmp 0x407401
test esi, esi
je 0x40743f
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push edx
call dword [0x47fb98]
add esp, 4
push str.WBUpdSkin_
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xb8]
push ecx
call dword [0x47fb94]
add esp, 4
mov ecx, eax
call dword [0x47fb90]
mov ecx, eax
call dword [0x47f920]
push eax
call dword [0x47fb9c]
mov esi, dword [sym.SoftUpd.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
add esp, 4
lea ecx, [esp + 0x2c]
call esi
lea ecx, [esp + 0xb0]
call esi
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
push 0
mov ebx, eax
call esi
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.004078c0
push 0
call esi
test eax, eax
jl 0x40766d
cmp byte [esp + 0xf], 0
jne 0x40758d
push 0x3e8
call fcn.00444c01
add esp, 4
test eax, eax
je 0x40766d
mov edx, dword [esp + 0x10]
push edx
mov edi, eax
call fcn.00401630
mov esi, eax
test esi, esi
je 0x40766d
push 0
push 0x320
push 0x258
push 0
push 0
push 0x60000
push 0x10cf0000
push str.WBUpdate
push 0
mov ecx, esi
call dword [0x47fba8]
push 0x80
mov ecx, esi
call dword [0x47fbb0]
cmp byte [esp + 0x10], 0
je 0x40757c
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 4]
push 1
push 0xa0
push 0x14f
add ecx, 0xffffff60
push ecx
add edx, 0xfffffeb1
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x407632
mov ecx, esi
call dword [0x47fbac]
push 1
push 1
jmp 0x407636
push 0x29c
call fcn.00444c01
add esp, 4
test eax, eax
je 0x40766d
mov edi, eax
call fcn.0040a170
mov esi, eax
test esi, esi
je 0x40766d
push 0
push 0xa0
push 0x14f
push 0
push 0
push 0x60000
push 0x10cf0000
push str.BindWnd
push 0
mov ecx, esi
call dword [0x47fba8]
push 0x80
mov ecx, esi
call dword [0x47fbb0]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
push 1
push 0xa0
push 0x14f
add edx, 0xffffff60
push edx
add eax, 0xfffffeb1
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esi + 0x274], 0
jne 0x407584
push 0
push 0
mov ecx, esi
call dword [0x47f92c]
call dword [0x47fba0]
call dword [0x47fba4]
call fcn.00407800
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, esi
call eax
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004516c6
mov esp, ebp
pop ebp
ret 0x10