Function at 0x426810
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 0x43ca32
push str.Update
stosb byte es:[edi], al
push 0x43c316
lea eax, [esp + 0x28]
push str.__s_s_s_
push eax
call fcn.00429590
mov esi, dword [esi + 0xc]
add esp, 0x14
lea eax, [esi - 3]
cmp eax, 3
ja case.default.0x42685e
jmp dword [eax*4 + 0x426d20]
lea edx, [esp + 0x1c]
mov edi, str.__FIRST
jmp 0x42688f
lea edx, [esp + 0x1c]
mov edi, str.__REPAIR
jmp 0x42688f
lea edx, [esp + 0x1c]
mov edi, str.__UPDATE
jmp 0x42688f
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 [0x43d84c], 4
je 0x4268ff
lea eax, [esp + 0x1c]
push 0x437988
push eax
call fcn.0042a63f
add esp, 8
test eax, eax
jne 0x4268ff
mov edi, 0x438874
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 0x426b7b
xor eax, eax
cmp eax, 0x43c09c
jne 0x426a5c
mov ecx, 0x3f
lea edi, [esp + 0x121]
mov byte [esp + 0x120], bl
push pe_nt_image_headers32
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.0042aa90
add esp, 8
test eax, eax
je 0x426a85
lea eax, [esp + 0x120]
push 0x5c
push eax
call fcn.0042aa90
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 pe_nt_image_headers32
push edx
push str.Rav.ini
push 0x437958
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x320]
push 0x2e
push eax
call fcn.0042aa90
add esp, 8
test eax, eax
je 0x426a85
lea ecx, [esp + 0x320]
push 0x2e
push ecx
call fcn.0042aa90
add esp, 8
mov byte [eax], bl
jmp 0x426a85
mov edi, 0x43c09c
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 0x426ae8
lea edx, [esp + 0x10]
push edx
push 4
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x426ae8
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 0x426add
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 0x426b7b
lea ecx, [esp + 0x1c]
test ecx, ecx
je 0x426b5d
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 0x426b70
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, 0x43c09c
stosb byte es:[edi], al
jne 0x426bcf
lea eax, [esp + 0x220]
push eax
call fcn.00425440
add esp, 4
jmp 0x426bf8
mov edi, 0x43c09c
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 0x426c51
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], pe_nt_image_headers32
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 0x426d13
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 0x426cb6
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 0x43c09c
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 0x426d13
mov edx, dword [0x437348]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push 0x438820
push ecx
mov dword [esp + 0x1c], edx
call fcn.004025c0
mov edx, dword [esp + 0x1c]
push ebx
push 0x30
push edx
call fcn.00424c50
mov eax, dword [esp + 0x28]
mov edx, dword [0x43734c]
add esp, 0x18
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x426d13
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426d13
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret