Function at 0x4044d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x1c
push ebx
push esi
push edi
push eax
call fcn.00438998
add esp, 4
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x404a09
lea esi, [esp + 0xf]
call fcn.004042e0
mov dword [0x4e40ac], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 1
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x10], esi
jle 0x404584
lea edi, [esi + 1]
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + esi*4]
mov ecx, str._open
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404566
test dx, dx
je 0x404562
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404566
add eax, 4
add ecx, 4
test dx, dx
jne 0x404540
xor eax, eax
jmp 0x40456b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4046ce
mov dword [0x4e40ac], eax
inc esi
inc edi
cmp esi, dword [esp + 0x10]
jl 0x404532
mov ebx, dword [esp + 0x14]
cmp dword [0x4e40ac], 1
jne 0x404598
cmp byte [esp + 0xf], 0
jne 0x4049fe
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x4045e2
test byte [0x4e4944], 1
jne 0x4045c2
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
mov ecx, dword [ebx + edi*4]
push ecx
push edi
push str.arg_d:__S_n
push 0
mov esi, 0x4e4928
call fcn.00401150
inc edi
add esp, 0x10
cmp edi, dword [esp + 0x10]
jl 0x4045a0
push str.Updater_for_3uTools
push 0x4cf690
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x404612
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x404612
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3d0
call fcn.00479e99
mov edi, eax
add esp, 4
test edi, edi
je 0x404a04
mov ecx, edi
call fcn.0043f0a7
xor eax, eax
lea esi, [esp + 0x18]
mov dword [edi], vtable.CWnd_Main.0
mov dword [edi + 0x10], vtable.CWnd_Main.1.0
mov dword [edi + 0x20], vtable.CWnd_Main.2.0
mov dword [edi + 0x24], vtable.CWnd_Main.3.0
mov dword [edi + 0x28], vtable.CWnd_Main.4.0
mov dword [0x4e40a8], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00409bc0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x34]
push 0x60000
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
push 0x10cf0000
mov dword [eax + 8], edx
push str.Updater_for_3uTools
mov dword [eax + 0xc], ecx
push 0
mov ecx, edi
call fcn.00438751
mov ecx, edi
call fcn.0043811d
cmp dword [0x4e40ac], 1
mov ecx, edi
je 0x4049eb
push 5
jmp 0x4049ed
mov ecx, str._silent
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4046fb
test dx, dx
je 0x4046f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4046fb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4046d5
xor eax, eax
jmp 0x404700
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404713
mov dword [0x4e40ac], 1
jmp 0x404578
mov ecx, str._replace
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404746
test dx, dx
je 0x404742
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404746
add eax, 4
add ecx, 4
test dx, dx
jne 0x404720
xor eax, eax
jmp 0x40474b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40475e
mov dword [0x4e40ac], 2
jmp 0x404578
mov ecx, str._team
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40478b
test dx, dx
je 0x404787
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40478b
add eax, 4
add ecx, 4
test dx, dx
jne 0x404765
xor eax, eax
jmp 0x404790
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4047a3
mov dword [0x4e40b0], 1
jmp 0x404578
mov ecx, str._config
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4047d6
test dx, dx
je 0x4047d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4047d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4047b0
xor eax, eax
jmp 0x4047db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40482c
mov dword [0x4e40b4], 1
cmp edi, dword [esp + 0x10]
jge 0x404578
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + esi*4 + 4]
push 1
push 0x4cf5f0
push eax
call fcn.0047a015
add esp, 0xc
test eax, eax
je 0x404578
mov eax, dword [ebx + esi*4 + 4]
push 0x4e1d08
call fcn.00404a20
add esi, 2
add edi, 2
jmp 0x40457a
mov ecx, 0x4cf5f4
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404859
test dx, dx
je 0x404855
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404859
add eax, 4
add ecx, 4
test dx, dx
jne 0x404833
xor eax, eax
jmp 0x40485e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4048a5
cmp edi, dword [esp + 0x10]
jge 0x404578
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + esi*4 + 4]
push 1
push 0x4cf5f0
push ecx
call fcn.0047a015
add esp, 0xc
test eax, eax
je 0x404578
mov eax, dword [ebx + esi*4 + 4]
push 0x4e1d24
call fcn.00404a20
add esi, 2
add edi, 2
jmp 0x40457a
mov ecx, str._destfolder
mov eax, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4048d6
test dx, dx
je 0x4048d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4048d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4048b0
xor eax, eax
jmp 0x4048db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404922
cmp edi, dword [esp + 0x10]
jge 0x404578
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + esi*4 + 4]
push 1
push 0x4cf5f0
push edx
call fcn.0047a015
add esp, 0xc
test eax, eax
je 0x404578
mov eax, dword [ebx + esi*4 + 4]
push 0x4e1d40
call fcn.00404a20
add esi, 2
add edi, 2
jmp 0x40457a
mov ecx, str._dontLaunch
mov eax, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404956
test dx, dx
je 0x404952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404956
add eax, 4
add ecx, 4
test dx, dx
jne 0x404930
xor eax, eax
jmp 0x40495b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40496e
mov dword [0x4e40b8], 1
jmp 0x404578
mov ecx, str._version
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40499b
test dx, dx
je 0x404997
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40499b
add eax, 4
add ecx, 4
test dx, dx
jne 0x404975
xor eax, eax
jmp 0x4049a0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404578
cmp edi, dword [esp + 0x10]
jge 0x404578
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + esi*4 + 4]
push 1
push 0x4cf5f0
push eax
call fcn.0047a015
add esp, 0xc
test eax, eax
je 0x404578
mov eax, dword [ebx + esi*4 + 4]
push 0x4e1cec
call fcn.00404a20
add esi, 2
add edi, 2
jmp 0x40457a
push 0
call fcn.00466315
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0043d44c
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.004043e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10