Function at 0x410180
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x60
push 0xffffffffffffffff
push 0x457188
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x46d358]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x3f
xor ebx, ebx
push 0x45bcd0
lea ecx, [ebp + 0x58]
mov dword [ebp - 4], ebx
call fcn.00410010
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.00442e2a
mov edi, dword [ebp + 0x54]
add esp, 8
cmp edi, ebx
je 0x41021b
push ebx
lea ecx, [ebp + 0x5c]
call fcn.00441fed
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x4101fa
cmp eax, 0xffffffff
jae 0x4101fa
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp + 0x5c]
and esi, edi
call fcn.0044200e
cmp esi, ebx
je 0x41021b
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edi, dword [ebp + 0x58]
cmp edi, ebx
mov byte [ebp - 4], bl
je 0x410261
push ebx
lea ecx, [ebp + 0x5c]
call fcn.00441fed
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x410240
cmp eax, 0xffffffff
jae 0x410240
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp + 0x5c]
and esi, edi
call fcn.0044200e
cmp esi, ebx
je 0x410261
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x410279
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0041d93e
test eax, eax
jne 0x4102aa
push str.FatalError:_MFC_initialize_fail_n
call fcn.0042a5ec
add esp, 4
mov ebx, 1
jmp 0x41041e
cmp dword [ebp + 0x68], 2
jge 0x4102db
push str.Usage:_n
call fcn.00429677
push str.Installer.exe__i_________for_install_n
call fcn.00429677
push str.Installer.exe__u_________for_uninstall_n
call fcn.00429677
add esp, 0xc
mov eax, 2
jmp 0x410420
call fcn.00415d50
cmp eax, 4
je 0x41035d
call fcn.00415d50
cmp eax, 5
je 0x41035d
push 0x45c2c0
lea ecx, [ebp]
call fcn.004046a0
mov esi, eax
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 5
call fcn.004046a0
push esi
push eax
mov byte [ebp - 4], 6
call fcn.0040af20
add esp, 8
lea ecx, [ebp - 0x74]
push eax
call fcn.00416df0
lea ecx, [ebp - 0x2c]
call fcn.00402ed0
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.00402ed0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x74]
push eax
push 0x40fc50
push ecx
call dword [sym.imp.ProgressUI.dll_ProgressDlg_Excute]
lea ecx, [ebp - 0x74]
jmp 0x410416
push 0x45c2c0
lea ecx, [ebp + 0x1c]
call fcn.004046a0
mov esi, eax
mov edx, dword [ebp + 0x6c]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 3
call fcn.004046a0
mov ecx, dword [esi + 0x14]
mov edi, 8
cmp dword [esi + 0x18], edi
mov byte [ebp - 4], 4
jb 0x410398
mov esi, dword [esi + 4]
jmp 0x41039b
add esi, 4
push ecx
mov ecx, dword [eax + 0x14]
push esi
push ecx
push ebx
mov ecx, eax
call fcn.0040abf0
test eax, eax
sete dl
mov byte [ebp + 0x58], dl
mov eax, dword [ebp + 0x58]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00416df0
cmp dword [ebp + 0x50], edi
jb 0x4103d1
mov ecx, dword [ebp + 0x3c]
push ecx
call fcn.0041d291
add esp, 4
cmp dword [ebp + 0x34], edi
mov dword [ebp + 0x50], 7
mov dword [ebp + 0x4c], ebx
mov word [ebp + 0x3c], bx
mov dword [ebp - 4], 0xffffffff
jb 0x4103f7
mov edx, dword [ebp + 0x20]
push edx
call fcn.0041d291
add esp, 4
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xbc]
push eax
push 0x40fc50
push ecx
call dword [sym.imp.ProgressUI.dll_ProgressDlg_Excute]
lea ecx, [ebp - 0xbc]
add esp, 0xc
call fcn.0040fcf0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x60
mov esp, ebp
pop ebp
ret