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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x447de7
push eax
mov dword fs:[0], esp
sub esp, 0x678
call fcn.00404100
call fcn.004042d0
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallVDC
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407737
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.UninstallString
push ecx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4074e1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
add esp, 0x684
ret
mov eax, dword [esp + 0xc]
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x688], 0
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x68c], 1
call fcn.00402470
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
mov bl, 2
mov byte [esp + 0x688], bl
jge 0x407551
or esi, 0xffffffff
jmp 0x40756e
push 0x44be84
push ecx
call fcn.0042f637
add esp, 8
test eax, eax
jne 0x407568
or esi, 0xffffffff
jmp 0x40756e
sub eax, dword [esp + 8]
mov esi, eax
push esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00403670
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x68c], 3
call fcn.00401e30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x688], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4075b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x78]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4075c0
mov eax, dword [esp + 8]
mov eax, dword [eax - 0xc]
sub eax, esi
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00405c40
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68c], 4
call fcn.00401e30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x688], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x280]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407628
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x3c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x54], eax
mov word [esp + 0x88], ax
lea eax, [esp + 0x2a4]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x8c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4076c3
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x28]
push eax
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4076c0
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x68c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4076e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x68c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40770b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x68c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407734
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
add esp, 0x684
ret