Function at 0x403b70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5391e3
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x58bd20]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x58bd20]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00414d1b
xor edi, edi
push edi
call fcn.004157ed
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x18], 2
mov ebx, eax
jge 0x403c0e
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40408f
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], edi
mov word [esp + 0xf4], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x403c32
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xf8]
call fcn.00401a90
mov dword [esp + 0x120], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov ecx, esi
lea edi, [esp + 0x1c]
mov byte [esp + 0x120], 1
call fcn.00404190
mov eax, edi
push eax
call fcn.00401040
call fcn.00401320
call fcn.00402cd0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [0x59438c], 0x403510
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], cx
mov byte [esp + 0x120], 2
call fcn.00401040
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp ecx, eax
je 0x403ceb
lea ecx, [ecx]
mov edx, dword [ecx]
cmp dword [edx + 0x74], 1
je 0x403ce1
add ecx, 4
cmp ecx, eax
jne 0x403cd0
jmp 0x403ceb
mov ecx, edx
cmp ecx, ebx
jne 0x403dc9
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x50]
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x403cf7
sub ecx, edi
sar ecx, 1
push ecx
add esi, 0xb8
call fcn.00401a90
mov eax, dword [esp + 0xf4]
mov ebx, 8
cmp dword [esp + 0x108], ebx
jae 0x403d2e
lea eax, [esp + 0xf4]
push eax
push 0x5668c8
push 1
push 2
call fcn.00408520
add esp, 0x10
mov byte [esp + 0x120], 1
cmp dword [esp + 0xec], ebx
jb 0x403d61
mov eax, dword [esp + 0xd8]
push eax
call fcn.00413334
add esp, 4
xor ecx, ecx
mov byte [esp + 0x120], cl
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], cx
test esi, esi
je 0x403da4
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.00401d40
push esi
call fcn.00413334
add esp, 4
mov dword [esp + 0x120], 0xffffffff
cmp dword [esp + 0x108], ebx
jb 0x40408f
mov edx, dword [esp + 0xf4]
push edx
jmp 0x404087
add ecx, 0x1c
push ebx
push ecx
or eax, 0xffffffff
lea ecx, [esp + 0xe0]
call fcn.00401990
mov edi, dword [esp + 0x14]
push ebx
lea eax, [esp + 0xdc]
push eax
lea ecx, [edi + 0xb8]
or eax, 0xffffffff
call fcn.00401990
call fcn.004055b0
cmp eax, ebx
je 0x403f2d
dec eax
cmp eax, 3
ja case.default.0x403e0f
jmp dword [eax*4 + 0x4040b8]
call fcn.00408580
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
push str.UIxString_UIxInstaller_Exist
call eax
push eax
push 1
push 2
call fcn.00408520
add esp, 0xc
jmp case.default.0x403e0f
call fcn.00408580
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
push str.UIxString_OtherUninstaller_Exist
call eax
push eax
push 1
push 2
call fcn.00408520
add esp, 0xc
jmp case.default.0x403e0f
call fcn.00408580
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
push str.UIxString_ExecutingUpdater
call eax
push eax
push 1
push 2
call fcn.00408520
add esp, 0xc
jmp case.default.0x403e0f
call fcn.00408580
cmp dword [esp + 0xec], 8
mov ecx, dword [esp + 0xd8]
jae 0x403e9c
lea ecx, [esp + 0xd8]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 8]
push str.UIxString_Uninstall_RequireAdminRights
call eax
push eax
push 1
push 2
call fcn.00408520
add esp, 0x10
mov byte [esp + 0x120], 1
cmp dword [esp + 0xec], 8
jb 0x403eda
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00413334
add esp, 4
xor edx, edx
mov dword [esp + 0xec], esi
mov byte [esp + 0x120], dl
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], dx
cmp esi, ebx
je 0x403f15
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.00401d40
push esi
call fcn.00413334
add esp, 4
mov dword [esp + 0x120], 0xffffffff
cmp dword [esp + 0x108], 8
jmp 0x40407d
call fcn.00415d37
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x403f47
push 0x80004005
call fcn.004049d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov bl, 3
mov byte [esp + 0x120], bl
call fcn.00408580
cmp dword [esp + 0xec], 8
mov ecx, dword [esp + 0xd8]
jae 0x403f7d
lea ecx, [esp + 0xd8]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 8]
push str.UIxString_Uninstall_ConfirmDelete
call eax
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00404990
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push 0x21
push esi
call fcn.00413637
cmp eax, 1
jne 0x403fde
lea edx, [esp + 0x34]
push edx
call fcn.00404a90
lea eax, [esp + 0x34]
mov byte [esp + 0x120], 4
mov ecx, eax
mov dword [edi + 0x20], eax
call fcn.00417399
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x124], bl
call fcn.004040d0
lea eax, [esi - 0x10]
mov byte [esp + 0x120], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404002
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 8
mov byte [esp + 0x120], 1
cmp dword [esp + 0xec], ebx
jb 0x404028
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00413334
add esp, 4
xor edx, edx
mov byte [esp + 0x120], dl
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], dx
test esi, esi
je 0x40406b
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.00401d40
push esi
call fcn.00413334
add esp, 4
mov dword [esp + 0x120], 0xffffffff
cmp dword [esp + 0x108], ebx
jb 0x40408f
mov eax, dword [esp + 0xf4]
push eax
call fcn.00413334
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0051202b
mov esp, ebp
pop ebp
ret