Function at 0x420820
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d66e8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], ebp
call fcn.00474bb0
mov byte [esp + 0x80], 1
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x90], ebp
je 0x42091c
mov edx, dword [0x5546a0]
cmp edx, ebp
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 8]
je 0x4209b6
lea esi, [esp + 0x90]
push esi
push ebp
push str.LocalPackage
push 2
push eax
push ecx
call edx
mov ecx, dword [esp + 0x90]
cmp ecx, ebp
jbe 0x4209b6
cmp eax, ebp
je 0x4208c4
cmp eax, 0xea
jne 0x4209b6
add ecx, 1
mov dword [esp + 0x90], ecx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00473380
mov esi, eax
mov eax, dword [esp + 0x90]
lea ecx, [eax + eax]
push ecx
push ebp
push esi
call fcn.004b0770
mov edx, dword [0x5546a0]
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 8]
add esp, 0xc
cmp edx, ebp
je 0x4209ad
lea edi, [esp + 0x90]
push edi
push esi
push str.LocalPackage
push 2
push eax
push ecx
call edx
jmp 0x42099c
mov ecx, dword [0x55469c]
cmp ecx, ebp
mov eax, dword [edi + 8]
je 0x4209b6
lea edx, [esp + 0x90]
push edx
push ebp
push str.LocalPackage
push eax
call ecx
mov ecx, dword [esp + 0x90]
cmp ecx, ebp
jbe 0x4209b6
cmp eax, ebp
je 0x420954
cmp eax, 0xea
jne 0x4209b6
add ecx, 1
mov dword [esp + 0x90], ecx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00473380
mov esi, eax
mov eax, dword [esp + 0x90]
lea ecx, [eax + eax]
push ecx
push ebp
push esi
call fcn.004b0770
mov eax, dword [0x55469c]
mov edi, dword [edi + 8]
add esp, 0xc
cmp eax, ebp
je 0x4209ad
lea edx, [esp + 0x90]
push edx
push esi
push str.LocalPackage
push edi
call eax
cmp eax, ebp
jne 0x4209ad
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00473450
jmp 0x4209b6
lea ecx, [esp + 0x18]
call fcn.00473330
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4209c5
mov eax, dword [eax - 0xc]
shr eax, 1
jne 0x4209f7
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0
call fcn.004732d0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], 0xffffffff
call fcn.004732d0
mov eax, 1
jmp 0x420e0f
lea ecx, [esp + 0x28]
call fcn.00474bb0
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push str._x___s___qn
push edx
call fcn.00473270
mov eax, dword [esp + 0x98]
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
call fcn.00410140
mov byte [esp + 0x80], 3
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
call fcn.00410140
mov edx, dword [esp + 0x88]
mov byte [esp + 0x80], 4
mov esi, dword [edx + 0x14]
push ebp
lea edi, [esp + 0x34]
call fcn.00415c10
mov byte [esp + 0x80], 5
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
call fcn.00410140
mov bl, 7
mov ecx, edi
mov byte [esp + 0x80], bl
call fcn.004732d0
xor edi, edi
cmp dword [esp + 0x94], ebp
mov dword [esp + 0x90], edi
je 0x420b7f
or ebx, 0xffffffff
push ebx
push str.runas
lea ecx, [esp + 0x98]
call fcn.004748c0
push 0x3c
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.004b0770
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
add esp, 0xc
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x44], 0x440
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x420b47
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp eax, 0x20
jae 0x420b4c
cmp eax, ebp
jne 0x420b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [esp + 0x90]
or esi, 0x80070000
call fcn.004732d0
jmp 0x420c01
mov esi, 0x80004005
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x420b56
mov edi, eax
lea ecx, [esp + 0x90]
call fcn.004732d0
jmp 0x420c01
or eax, 0x80070000
lea ecx, [esp + 0x90]
mov esi, eax
call fcn.004732d0
jmp 0x420c01
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x90]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x9c], esp
mov esi, esp
push eax
call fcn.0040ff10
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x8c], 8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.0040ff10
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x90], 9
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push eax
call fcn.0040ff10
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x90], bl
call fcn.0041eb20
mov edi, dword [esp + 0xa0]
add esp, 0x10
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebp
je 0x420cbd
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.004732d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0
call fcn.004732d0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], ebx
call fcn.004732d0
mov eax, 1
jmp 0x420e0f
cmp edi, ebp
je 0x420c09
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [esp + 0x2c]
push ecx
push edi
mov dword [esp + 0x34], ebp
call esi
cmp eax, ebp
je 0x420d10
mov ebx, 0x103
cmp dword [esp + 0x2c], ebx
jne 0x420d0d
call fcn.00426eb0
mov edx, dword [esp + 0x88]
cmp dword [edx + 0x218], 1
je 0x420d09
lea eax, [esp + 0x2c]
push eax
push edi
call esi
cmp eax, ebp
jne 0x420ce0
jmp 0x420d0d
mov dword [esp + 0x2c], ebp
or ebx, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x420dbd
cmp eax, 0x666
ja 0x420d6c
je 0x420d5b
mov ecx, eax
sub ecx, 0x642
je 0x420d4a
sub ecx, 1
jne 0x420d7a
push str._mp_distribute___uninstall___ERROR__MSIEXEC_ERROR_INSTALL_FAILURE_r_n
call fcn.00477660
add esp, 4
jmp 0x420d89
push 0x642
push 0x642
push str._mp_distribute___uninstall___ERROR__MSIEXEC_returns_User_Cancelled._Check_Admin._dwExitCode__d__0x_X__r_n
jmp 0x420d81
push 0x666
push 0x666
push str._mp_distribute___uninstall___ERROR__MSIEXEC__maybe_msi_file_is_not_matched_with_installed_msi._dwExitCode__d__0x_X__r_n
jmp 0x420d81
cmp eax, 0x669
je 0x420db0
cmp eax, 0xbc2
je 0x420da9
push eax
push eax
push str._mp_distribute___uninstall___ERROR__MSIEXEC_returns_error._dwExitCode__d__0x_X__r_n
call fcn.00477660
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00410230
lea ecx, [esp + 0x20]
call fcn.00410230
lea ecx, [esp + 0x24]
call fcn.00410230
jmp 0x420c7e
push str._mp_distribute___uninstall__MSIEXEC_OK._reboot_required._r_n
jmp 0x420db5
push str._mp_distribute___uninstall__MSIEXEC_OK._REBOOT_INITIATED._r_n
call fcn.00477660
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00410230
lea ecx, [esp + 0x20]
call fcn.00410230
lea ecx, [esp + 0x24]
call fcn.00410230
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.004732d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0
call fcn.004732d0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], ebx
call fcn.004732d0
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x10