Function at 0x424300
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43a5d2
push str.Update
stosb byte es:[edi], al
push 0x439eb6
lea eax, [esp + 0x28]
push str.__s_s_s_
push eax
call fcn.00426b7c
mov esi, dword [esi + 0xc]
add esp, 0x14
lea eax, [esi - 3]
cmp eax, 3
ja case.default.0x42434e
jmp dword [eax*4 + 0x424810]
lea edx, [esp + 0x1c]
mov edi, str.__FIRST
jmp 0x42437f
lea edx, [esp + 0x1c]
mov edi, str.__REPAIR
jmp 0x42437f
lea edx, [esp + 0x1c]
mov edi, str.__UPDATE
jmp 0x42437f
lea edx, [esp + 0x1c]
mov edi, str.__UNINSTALL__S
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test byte [0x43b3bc], 4
je 0x4243ef
lea eax, [esp + 0x1c]
push 0x4362bc
push eax
call fcn.00427aec
add esp, 8
test eax, eax
jne 0x4243ef
mov edi, 0x436498
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.__ONCE
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x320], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov byte [esp + 0x220], bl
and ecx, 3
push str.Program_Manager
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x325]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x225]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x18], ebx
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42466b
xor eax, eax
cmp eax, 0x439c3c
jne 0x42454c
mov ecx, 0x3f
lea edi, [esp + 0x121]
mov byte [esp + 0x120], bl
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x124]
push ecx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x120]
push 0x5c
push edx
call fcn.00427f40
add esp, 8
test eax, eax
je 0x424575
lea eax, [esp + 0x120]
push 0x5c
push eax
call fcn.00427f40
mov edx, eax
mov edi, str.NetConfig.ini
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x320]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x120]
push ecx
push 0x100
push edx
push str.Rav.ini
push 0x435604
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x320]
push 0x2e
push eax
call fcn.00427f40
add esp, 8
test eax, eax
je 0x424575
lea ecx, [esp + 0x320]
push 0x2e
push ecx
call fcn.00427f40
add esp, 8
mov byte [eax], bl
jmp 0x424575
mov edi, 0x439c3c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 2
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
je 0x4245d8
lea edx, [esp + 0x10]
push edx
push 4
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x4245d8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push str.RunOnce
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4245cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 2
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x42466b
lea ecx, [esp + 0x1c]
test ecx, ecx
je 0x42464d
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x220]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x220]
push eax
push edx
push 1
lea eax, [esp + 0x32c]
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x424660
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x320]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x221]
mov byte [esp + 0x220], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edx, edx
mov dword [esp + 0x10], ebx
cmp edx, 0x439c3c
stosb byte es:[edi], al
jne 0x4246bf
lea eax, [esp + 0x220]
push eax
call fcn.00424820
add esp, 4
jmp 0x4246e8
mov edi, 0x439c3c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x424741
lea edx, [esp + 0x14]
lea eax, [esp + 0x120]
push edx
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x22c]
push ebx
push edx
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x120]
push edx
call esi
test eax, eax
jne 0x424803
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push 2
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x4247a6
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push edx
push 1
push ebx
push 0x439c3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x424803
mov edx, dword [0x4350b8]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push 0x436444
push ecx
mov dword [esp + 0x1c], edx
call fcn.00401ff0
mov edx, dword [esp + 0x1c]
push ebx
push 0x30
push edx
call fcn.00422db0
mov eax, dword [esp + 0x28]
mov edx, dword [0x4350bc]
add esp, 0x18
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x424803
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x424803
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret