Function at 0x4dcf50
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55a55d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x6c]
mov eax, dword [0x676f64]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
call fcn.00497730
mov dword [esp + 0x64], 0
mov edi, dword [esp + 0x70]
lea edx, [esp + 0x28]
push edx
call fcn.00497a80
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004978f0
push 2
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
jne 0x4dcfcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00536ea0
add esp, 4
mov dword [esp + 0x64], 1
push 0
or edi, 0xffffffff
mov eax, 0x60db88
lea esi, [esp + 0x74]
call fcn.00494ae0
mov byte [esp + 0x64], 2
lea eax, [esp + 0x70]
lea esi, [ebx + 8]
push eax
xor edi, edi
mov eax, esi
call fcn.004952d0
cmp eax, 0xffffffff
setne byte [esp + 0x6c]
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x70]
call fcn.00494b70
cmp byte [esp + 0x6c], 0
je 0x4dd02a
push 0x60a6c4
lea eax, [ebx + 4]
call fcn.00494c30
lea ecx, [esp + 0x14]
call fcn.004949f0
mov byte [esp + 0x64], 3
lea eax, [ebx + 0x10]
call fcn.00407eb0
push eax
mov eax, esi
call fcn.00407eb0
push eax
lea eax, [ebx + 4]
call fcn.00407eb0
push eax
lea ecx, [esp + 0x20]
push str.Software_1_2_3
push ecx
call fcn.00495410
mov eax, dword [ebx + 0x34]
lea ebp, [ebx + 0x34]
add esp, 0x14
test eax, eax
je 0x4dd07c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp], 0
lea eax, [esp + 0x14]
call fcn.00407eb0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [esp + 0x6c]
push edx
push ebp
push 0
push 2
push 0
push 0x5f7740
push 0
mov esi, eax
push esi
push reloc.WS2_32.dll_bind
call edi
test eax, eax
je 0x4dd124
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00536ea0
add esp, 4
lea eax, [esp + 0x6c]
push eax
push ebp
push 0
push 2
push 0
push 0x5f7740
push 0
push esi
push getpeername
call edi
test eax, eax
je 0x4dd124
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
call fcn.00536ea0
add esp, 4
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x14]
call fcn.00494b70
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x4dd289
call esi
jmp 0x4dd280
push 0
or edi, 0xffffffff
mov eax, str.Version
lea esi, [esp + 0x70]
call fcn.00494ae0
mov byte [esp + 0x64], 4
mov edx, dword [ebx]
lea eax, [ebx + 0xc]
call fcn.00407eb0
mov edx, dword [edx + 0x20]
push eax
mov eax, esi
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x64], 3
mov ecx, esi
call fcn.00494b70
mov eax, dword [ebp]
push 0x61cc14
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebx + 0x18]
lea eax, [esp + 0x1c]
call fcn.004a3040
lea ecx, [esp + 0x6c]
call fcn.004949f0
mov byte [esp + 0x64], 5
lea ecx, [esp + 0x70]
call fcn.004961b0
mov byte [esp + 0x64], 6
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x70]
push edx
lea esi, [esp + 0x24]
call fcn.004dd7d0
test al, al
je 0x4dd23e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x74]
call fcn.00494a20
mov byte [esp + 0x64], 7
lea eax, [esp + 0x18]
call fcn.00495300
lea eax, [eax + eax + 2]
push eax
lea eax, [esp + 0x1c]
call fcn.00407eb0
push eax
push 1
push 0
lea eax, [esp + 0x7c]
call fcn.00407eb0
mov ecx, dword [ebp]
push eax
push ecx
call ebx
test eax, eax
jne 0x4dd21d
mov byte [esp + 0x64], 6
lea ecx, [esp + 0x18]
call fcn.00494b70
mov edx, edi
push edx
lea eax, [esp + 0x70]
push eax
lea esi, [esp + 0x24]
call fcn.004dd7d0
test al, al
jne 0x4dd1b5
jmp 0x4dd23e
push eax
lea eax, [esp + 0x70]
call fcn.00407eb0
push eax
call fcn.00536ea0
add esp, 8
mov byte [esp + 0x64], 6
lea ecx, [esp + 0x18]
call fcn.00494b70
mov byte [esp + 0x64], 5
lea ecx, [esp + 0x70]
call fcn.00494b70
mov byte [esp + 0x64], 3
lea ecx, [esp + 0x6c]
call fcn.00494b70
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x14]
call fcn.00494b70
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x4dd289
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00536ea0
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8