Function at 0x4658c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5681d2
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5bf094]
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
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
push 0x2001f
push reloc.WS2_32.dll_accept
push 0x5c17f4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], esi
call fcn.00404ef0
xor ecx, ecx
push 4
mov word [ebp - 0x80], cx
mov ebx, 7
push str.GUID
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
call fcn.00403510
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 3
call fcn.00404b10
cmp dword [ebp - 0x34], 8
jb 0x46598d
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
cmp dword [ebp - 0x6c], 8
mov byte [ebp - 4], 6
jb 0x4659a3
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x8c], esi
jne 0x465add
push 8
xor eax, eax
push str.UserGUID
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.00403510
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
push str.SOFTWARE_Mail.Ru
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00404090
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], dx
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], esi
push 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.00404ef0
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xc
call fcn.00404b10
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xd
call fcn.00404660
cmp dword [ebp - 0xa4], 8
jb 0x465a71
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004b8946
add esp, 4
mov eax, dword [ebp - 0xd4]
xor edx, edx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], dx
cmp eax, esi
je 0x465a97
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x50], 8
jb 0x465aa9
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b8946
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x465abb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 6
jb 0x465add
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 4
mov word [ebp - 0x2c], cx
push str.GUID
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
call fcn.00403510
mov edx, dword [ebp - 0xbc]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00464e50
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.00404660
cmp dword [eax + 0x14], 8
jb 0x465b2b
mov edi, dword [eax]
jmp 0x465b2d
mov edi, eax
cmp dword [ebp - 0x18], 8
jb 0x465b3e
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xbc], edx
jmp 0x465b47
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xbc], eax
cmp edi, esi
jne 0x465b58
mov edi, dword [ebp - 0xc8]
mov eax, 0xd
jmp 0x465b7c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0xbc]
lea ecx, [eax + eax + 2]
push ecx
push edi
mov edi, dword [ebp - 0xc8]
push 1
push esi
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x50], 8
jb 0x465b95
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
jb 0x465bb3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
cmp dword [ebp - 0x88], 8
jb 0x465bcb
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], cx
cmp edi, esi
je 0x465beb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004b92b7
mov esp, ebp
pop ebp
ret 4