Function at 0x436540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5837e2
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5ed80c]
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 0x5eed1c
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], esi
call fcn.00407ea0
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.00401c40
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.004062e0
cmp dword [ebp - 0x34], 8
jb 0x43660d
mov eax, dword [ebp - 0x48]
push eax
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x6c], 8
mov byte [ebp - 4], 6
jb 0x436623
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0055ae44
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 0x436751
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.00401c40
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.00401e40
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.00407ea0
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.004062e0
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xd
call fcn.004060b0
cmp dword [ebp - 0xa4], 8
jb 0x4366f1
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.0055ae44
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 0x436717
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x50], 8
jb 0x436729
mov eax, dword [ebp - 0x64]
push eax
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x43673b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 6
jb 0x436751
mov edx, dword [ebp - 0x48]
push edx
call fcn.0055ae44
add esp, 4
push 4
xor eax, eax
push str.GUID
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00401c40
mov ecx, dword [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00436410
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004060b0
mov edi, dword [ebp - 0xc8]
cmp edi, esi
je 0x436804
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x4367ad
mov edi, dword [eax]
jmp 0x4367af
mov edi, eax
cmp dword [ebp - 0x18], ecx
jb 0x4367bf
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xbc], ecx
jmp 0x4367c8
lea edx, [ebp - 0x2c]
mov dword [ebp - 0xbc], edx
cmp edi, esi
jne 0x4367d3
mov eax, 0xd
jmp 0x4367f7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc8]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0xc8]
cmp dword [ebp - 0x50], 8
jb 0x436816
mov eax, dword [ebp - 0x64]
push eax
call fcn.0055ae44
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 0x436834
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x88], 8
jb 0x43684c
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0055ae44
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 0x43686c
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.0055bc32
mov esp, ebp
pop ebp
ret 4