Function at 0x4027d0
Capabilities:
Delete file
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x437e31
mov eax, dword fs:[0]
push eax
sub esp, 0x7e4
mov eax, dword [0x44a64c]
xor eax, esp
mov dword [esp + 0x7e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a64c]
xor eax, esp
push eax
lea eax, [esp + 0x7f8]
mov dword fs:[0], eax
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x20], ebp
push 0x44ba68
lea eax, [esp + 0x20]
push str.SOFTWAREImagenomic_
push eax
mov dword [esp + 0x80c], esi
call fcn.00401bb0
push str.Installer
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x818], 1
call fcn.004026b0
mov eax, dword [eax]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push 0x2001f
push esi
push eax
push 0x80000002
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x402876
mov ebp, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x20], ebp
cmp eax, esi
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x800], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4029fe
mov byte [esp + 0x24], 0
call fcn.004060b2
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
je 0x4029bb
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0x1c]
push str.Path_d
push ecx
mov byte [esp + 0x80c], 2
call fcn.004025d0
mov edi, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push edi
push ebp
add esi, 1
mov dword [esp + 0x2c], 0x7cf
call ebx
test eax, eax
jne 0x402955
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x402949
cmp eax, 2
jne 0x402955
cmp dword [esp + 0x14], 0
jne 0x402955
mov byte [esp + 0x24], 0
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402960
sub eax, edx
je 0x4029c5
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [edi - 0x10]
mov byte [esp + 0x800], 0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp esi, 0x64
jg 0x4029db
test edx, edx
jg 0x4029a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
call fcn.004060b2
test eax, eax
jne 0x4028e8
push 0x80004005
call fcn.00401040
lea eax, [edi - 0x10]
mov byte [esp + 0x800], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x402a04
push ebp
call esi
xor ebp, ebp
mov dword [esp + 0x20], ebp
jmp 0x402a04
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x44ba68
lea ecx, [esp + 0x20]
push str.SOFTWAREImagenomic_
push ecx
call fcn.00401bb0
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push 0x80000002
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402a5d
test ebp, ebp
je 0x402a53
push ebp
call esi
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402a80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x402a90
push 0x43aa04
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test ebp, ebp
je 0x402a97
push ebp
call esi
mov eax, 1
mov ecx, dword [esp + 0x7f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7e0]
xor ecx, esp
call fcn.00423cc5
add esp, 0x7f0
ret