Function at 0x5da0b0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x918
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x914], eax
push ebx
push ebp
mov ebp, dword [esp + 0x928]
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x529]
push ebx
push eax
mov byte [esp + 0x530], bl
call fcn.005dfd60
push 0x3ff
lea ecx, [esp + 0x135]
push ebx
push ecx
mov byte [esp + 0x13c], bl
call fcn.005dfd60
mov ecx, 0xb
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push 0xd6
lea edx, [esp + 0x6a]
push ebx
push edx
movsw word es:[edi], word [esi]
call fcn.005dfd60
add esp, 0x24
xor edi, edi
push 1
cmp dword [esp + 0x930], ebx
jne 0x5da14d
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004dc050
jmp 0x5da161
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004faef0
add esp, 0x10
cmp eax, ebx
jne 0x5da313
mov eax, 0x400
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x538]
push edx
push ebx
push eax
xor esi, esi
mov byte [esp + 0x144], bl
mov byte [esp + 0x544], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x5da308
lea ecx, [ecx]
cmp byte [esp + 0x124], bl
je 0x5da2b8
push ebx
lea ecx, [esp + 0x128]
push str.mykings
push ecx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5da23d
push ebx
lea edx, [esp + 0x128]
push str.msiexec
push edx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5da222
push ebx
lea eax, [esp + 0x128]
push str.regsvr32
push eax
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x5da2b8
push ebx
lea ecx, [esp + 0x528]
push 0x620c24
push ecx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x5da2b8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x524]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x5da281
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x52c]
push edx
lea eax, [esp + 0x2c]
push eax
push str._MYSA__Failed_to_Delete_in__s:___s___s_._Error:_u
push ebp
call fcn.004f0f30
add esp, 0x18
jmp 0x5da2b9
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x528]
push edx
lea eax, [esp + 0x28]
push eax
push str._MYSA__Deleted_in__s:___s___s_
push ebp
call fcn.004f0f30
inc edi
add esp, 0x14
cmp edi, 0x14
jb 0x5da2b9
push str._MYSA__Probably_Gone_in_a_Loop__Aborting...
push ebp
call fcn.004f0f30
add esp, 8
inc esi
mov eax, 0x400
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x538]
push edx
push esi
push eax
mov byte [esp + 0x144], bl
mov byte [esp + 0x544], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x5da1c0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x924]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x918
ret