Function at 0x421de0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b048
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x48b998]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], edi
call fcn.00424480
add eax, 0x34
push eax
lea eax, [ebp - 0x6c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
call fcn.0041ba90
add esp, 0xc
mov ecx, dword [eax]
mov ebx, 0xf
mov eax, ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x421e50
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.004036c0
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421e86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x478b4a
lea ecx, [ebp - 0x54]
call fcn.0041bd60
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
jae 0x421ea3
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x60]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422004
mov ecx, dword [ebp - 0x60]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x58]
push edx
push edi
lea eax, [ebp - 0x50]
push eax
push edi
push str.UninstallString
push ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x58], edi
call esi
mov edx, dword [ebp - 0x58]
add edx, 2
push 1
push edx
call fcn.0044cfd9
mov edx, dword [ebp - 0x60]
add esp, 8
mov edi, eax
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x50]
push ecx
push 0
push str.InstallLocation
push edx
call esi
test eax, eax
jne 0x421fef
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
mov eax, edi
mov dword [ebp - 0x34], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421f21
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.004036c0
mov ebx, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], ebx
jb 0x421f4d
mov eax, dword [ebp - 0x48]
mov esi, eax
test eax, eax
jne 0x421f50
jmp 0x421f5e
lea esi, [ebp - 0x48]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421f55
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.0041b440
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x70], esp
lea ecx, [ebp - 0x54]
push ecx
push 0x4715b4
push eax
call fcn.0041ba90
add esp, 0xc
lea edx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.0041d270
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.LogsOnlineInstall.txt
push eax
push ecx
mov byte [ebp - 4], 7
call fcn.0041b9b0
add esp, 0xc
mov byte [ebp - 4], 8
call fcn.0041d300
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421fda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x421fef
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042bced
add esp, 4
push edi
call fcn.0044cf4b
mov edx, dword [ebp - 0x60]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov eax, dword [ebp - 0x54]
cmp dword [eax - 0xc], edi
je 0x422186
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x58]
push 0x4715b0
push ecx
call fcn.0041ba90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 9
call fcn.00424480
add eax, 0x10
push eax
lea edx, [ebp - 0x5c]
push esi
push edx
call fcn.0041b8f0
add esp, 0xc
push 0x4715b0
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xa
call fcn.0041b9b0
add esp, 0xc
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42207a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x58]
mov bl, 0xd
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42209e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x64]
call fcn.00421b30
call fcn.00424480
mov eax, dword [eax + 0x4c]
mov ecx, dword [ebp - 0x50]
push 5
push 0
push eax
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x4715a4
call fcn.0041bd60
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 0xe
call fcn.0041d270
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.LogsOnlineInstall.txt
push eax
push ecx
mov byte [ebp - 4], 0xf
call fcn.0041b9b0
add esp, 0xc
mov byte [ebp - 4], 0x10
call fcn.0041d300
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42212a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42214d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422170
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x422182
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042bced
add esp, 4
mov al, 1
jmp 0x4221ba
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4221a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 0x10
jb 0x4221b8
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042bced
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044b1f7
mov esp, ebp
pop ebp
ret