Function at 0x4656c6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ad1dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, eax
xor esi, esi
cmp dword [ebx + 0xaa4], esi
push edi
setne al
mov ecx, 0x4da2a0
mov dword [esp + 0x10], eax
mov eax, dword [0x4da2a0]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [ebx + 0x514]
lea eax, [esp + 0xc]
mov dword [esp + 0x4c], esi
call fcn.0046c012
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], esi
jne 0x46573a
lea eax, [ebx + 0x53c]
lea edi, [esp + 0xc]
call fcn.00405db2
lea edi, [ebx + 0x540]
lea eax, [esp + 0xc]
call fcn.00405db2
push dword [edi]
call fcn.00457b68
test eax, eax
je 0x465775
push 0x4b95bc
push edi
call fcn.00406cf7
push str.winmaster
push edi
call fcn.00406cf7
mov eax, edi
lea edi, [esp + 0xc]
call fcn.00405db2
lea eax, [esp + 0x1c]
push str.loginstaller.exe.log
push eax
lea ecx, [esp + 0x14]
call fcn.004098e5
pop ecx
pop ecx
mov byte [esp + 0x4c], 1
push dword [eax]
call fcn.00453e4d
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00405cd2
push str.ready_:_kill_process
mov esi, 0x4db2a0
call fcn.00453f90
xor edi, edi
cmp dword [ebx + 0x950], edi
pop ecx
je 0x46582f
push 0xbb8
push str.wmsvc
mov dword [esp + 0x1c], edi
call fcn.00463a17
lea edi, [ebx + 0x53c]
push dword [edi]
call fcn.004638d0
add esp, 0xc
push str.ready_:_wmsvc_exit_finish
call fcn.00453f90
mov edi, dword [edi]
test edi, edi
pop ecx
je 0x465806
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00457bf9
cmp eax, dword [esp + 0x14]
je 0x465822
push str.ready_:_kill_processes_error
mov dword [ebx + 0xaa8], 2
call fcn.00453f90
pop ecx
xor edi, edi
jmp 0x465b89
push str.ready_:_kill_processes_finish
call fcn.00453f90
pop ecx
xor edi, edi
push str.package_:_extract_files_start
call fcn.00453f90
pop ecx
push dword [esp + 0xc]
lea eax, [ebx + 0x550]
call fcn.00472fd3
test eax, eax
je 0x465b7f
push str.package_:_extract_files_end
call fcn.00453f90
pop ecx
call fcn.0045a977
xor ecx, ecx
cmp dword [0x4d690c], edi
setne cl
add ecx, 0xa
push ecx
push 1
push eax
call fcn.0045a3f9
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
call fcn.0047426a
mov ebx, eax
call fcn.004748ee
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.00466eb4
mov esi, eax
call fcn.0047426a
mov dword [eax + 0x30], esi
mov esi, dword [edi + 0x950]
call fcn.0047426a
mov dword [eax + 0x34], esi
call fcn.0046776d
call fcn.0047426a
mov eax, dword [eax + 0x54]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4658d3
push eax
push 0x4c1054
call fcn.00455091
call fcn.00455145
lea eax, [esp + 0x24]
push 0x4b95bc
lea ecx, [edi + 0x570]
push eax
call fcn.004098e5
lea ecx, [esp + 0x28]
push 0x4db368
push ecx
mov ecx, eax
mov byte [esp + 0x5c], 2
call fcn.004066fe
add esp, 0x10
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x24]
mov byte [esp + 0x4c], 3
call fcn.00467d29
push dword [esp + 0x10]
lea esi, [edi + 0x958]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x28]
mov ecx, esi
call fcn.0046fd06
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00405cd2
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00405cd2
call fcn.00470c82
cmp byte [eax + 0x42], bl
je 0x4659ed
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x4c], 4
call fcn.00470c82
lea ebx, [eax + 0x30]
lea eax, [esp + 0x30]
call fcn.004679df
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x38]
jbe 0x465988
call fcn.00479ecb
lea eax, [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x34], esi
jbe 0x4659a3
call fcn.00479ecb
cmp dword [esp + 0x2c], esi
je 0x4659db
lea esi, [esp + 0x28]
call fcn.0042f689
lea ecx, [esp + 0xc]
push ecx
lea ecx, [edi + 0x958]
push ecx
mov ecx, eax
call fcn.0046ff70
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x38]
jb 0x4659d4
call fcn.00479ecb
add dword [esp + 0x2c], 4
jmp 0x465994
lea esi, [esp + 0x30]
mov byte [esp + 0x4c], 0
call fcn.004506d2
xor ebx, ebx
jmp 0x465a22
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00405e60
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 5
call fcn.0046ff70
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00405cd2
push str.package_:_parse_files_end
mov esi, 0x4db2a0
call fcn.00453f90
pop ecx
call fcn.00450b19
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
setg cl
mov esi, ecx
call fcn.0045a977
push ebx
push esi
push dword [edi + 0x950]
push 1
push eax
call fcn.00459fbd
push ebx
push ebx
push 0x470
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push str.Administrators
push eax
call fcn.00405e60
mov byte [esp + 0x50], 6
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00405b51
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x54], bl
call fcn.004589ef
pop ecx
mov eax, esp
mov dword [esp + 0x28], esp
push str.SYSTEM
push eax
call fcn.00405e60
mov byte [esp + 0x50], 7
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00405b51
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x54], bl
call fcn.004589ef
pop ecx
mov eax, esp
mov dword [esp + 0x28], esp
push str.Users
push eax
call fcn.00405e60
mov byte [esp + 0x50], 8
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00405b51
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x54], bl
call fcn.004589ef
cmp dword [0x4d690c], ebx
pop ecx
pop ecx
jne 0x465b24
call fcn.004360b3
push eax
call fcn.00408e52
lea eax, [esp + 0xc]
push eax
call fcn.004678b1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00405b51
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x50], 9
call fcn.0040a67c
lea ecx, [esp + 0x14]
mov dword [esp], str.wmupdata.exe
call fcn.004069b2
mov esi, dword [esp + 0x14]
mov dword [esp], str._repairrun
push esi
xor ecx, ecx
call fcn.00458150
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.00405cd2
jmp 0x465bb2
mov dword [ebx + 0xaa8], 2
call fcn.0045a977
push edi
push edi
push dword [ebx + 0x950]
push dword [ebx + 0xaa8]
push eax
call fcn.00459fbd
push edi
push edi
push 0x471
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00405cd2
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4