Function at 0x42a4a0
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [ebp + 0x10]
mov word [eax], 0xffff
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
cdq
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x4a9e54
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
call fcn.00434f50
add esp, 0x20
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42a689
add esp, 0xffffffec
mov dword [esp], 0x80000002
mov dword [esp + 4], 0x4a9e58
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0xf0001
lea eax, [ebp - 0x74]
mov dword [esp + 0x10], eax
call sub.ADVAPI32.dll_RegOpenKeyExA
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x42a689
mov dword [ebp - 0x64], 0x50
add esp, 0xffffffe8
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0x4a9e80
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x4c5240
lea eax, [ebp - 0x64]
mov dword [esp + 0x14], eax
call sub.ADVAPI32.dll_RegQueryValueExA
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
add esp, 0xffffffec
mov dword [esp], 0x4c5240
mov dword [esp + 4], 0x50
lea eax, [ebp - 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
call fcn.00447870
add esp, 0x14
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
test eax, eax
jg 0x42a5d9
mov dword [ebp - 0x48], 0
jmp 0x42a5df
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
add esp, 0xffffffe4
mov dword [esp], 0x4c52a0
mov dword [esp + 4], 0x50
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x4c5240
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
cdq
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
call fcn.00434ea0
add esp, 0x1c
push eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
add esp, 0xffffffe4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
cdq
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x4c52a0
mov dword [esp + 0x10], 0x50
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00434ea0
add esp, 0x1c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
add esp, 0xffffffe0
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
cdq
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x4a9e84
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
call fcn.00434f50
add esp, 0x20
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x42a864
add esp, 0xffffffec
mov dword [esp], 0x80000002
mov dword [esp + 4], str.SoftwareItronMV90MVWinExePath
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0xf0001
lea eax, [ebp - 0x74]
mov dword [esp + 0x10], eax
call sub.ADVAPI32.dll_RegOpenKeyExA
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x42a864
mov dword [ebp - 0x64], 0x50
add esp, 0xffffffe8
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0x4a9eb0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x4c5240
lea eax, [ebp - 0x64]
mov dword [esp + 0x14], eax
call sub.ADVAPI32.dll_RegQueryValueExA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x44], 0
add esp, 0xffffffec
mov dword [esp], 0x4c5240
mov dword [esp + 4], 0x50
lea eax, [ebp - 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
call fcn.00447870
add esp, 0x14
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
test eax, eax
jg 0x42a7b4
mov dword [ebp - 0x3c], 0
jmp 0x42a7ba
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
add esp, 0xffffffe4
mov dword [esp], 0x4c52a0
mov dword [esp + 4], 0x50
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x4c5240
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cdq
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
call fcn.00434ea0
add esp, 0x1c
push eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
add esp, 0xffffffe4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
cdq
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x4c52a0
mov dword [esp + 0x10], 0x50
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00434ea0
add esp, 0x1c
mov eax, dword [ebp + 0x10]
movsx eax, word [eax]
movsx eax, ax
test eax, eax
jne 0x42a899
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.KERNEL32.dll_SetCurrentDirectoryA
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
test al, 1
je 0x42a891
mov eax, dword [ebp + 0x10]
mov word [eax], 0
jmp 0x42a899
mov eax, dword [ebp + 0x10]
mov word [eax], 0xffff
leave
ret