Function at 0x408bd0
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5417b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x594ca8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5704e4
lea ecx, [ebp - 0x14]
call fcn.004040f0
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004046e0
push 1
push 0x57058c
lea ecx, [ebp - 0x14]
call fcn.00404340
push 0xe
push str.1905Client.exe
lea ecx, [ebp - 0x14]
call fcn.00404340
mov eax, dword [ebp - 0x14]
mov ebx, eax
test eax, eax
je 0x408c82
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x408c82
lea edi, [eax + eax]
mov eax, edi
call fcn.0051b880
mov esi, esp
test esi, esi
je 0x408c82
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x408c84
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0x20006
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408cbc
mov edx, dword [ebp - 0x18]
push 0x57053a
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x408cbc
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x14]
call fcn.004046e0
push 1
push 0x57058c
lea ecx, [ebp - 0x14]
call fcn.00404340
push 6
push 0x570c84
lea ecx, [ebp - 0x14]
call fcn.00404340
mov eax, dword [ebp - 0x14]
mov ebx, eax
test eax, eax
je 0x408d2f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x408d2f
lea edi, [eax + eax]
mov eax, edi
call fcn.0051b880
mov esi, esp
test esi, esi
je 0x408d2f
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x408d31
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0x20006
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408d69
mov edx, dword [ebp - 0x18]
push 0x57053a
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x408d69
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x14]
call fcn.004046e0
mov eax, dword [ebp - 0x14]
mov ebx, eax
test eax, eax
je 0x408dbe
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x408dbe
lea edi, [eax + eax]
mov eax, edi
call fcn.0051b880
mov esi, esp
test esi, esi
je 0x408dbe
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x408dc0
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 2
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408df5
mov edx, dword [ebp - 0x18]
push str.1905Client
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x408df5
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051553d
mov esp, ebp
pop ebp
ret