Function at 0x4635c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5c58
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040b8a0
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c], bl
xor ecx, ecx
mov edx, str.__64__
lea esi, [ebp - 0x28]
call fcn.00437bc0
cmp eax, 0xffffffff
je 0x46362d
mov byte [ebp - 0x2c], 1
push 0x692fd0
push str.__64__
mov ecx, esi
push ecx
call fcn.0040ba70
lea edx, [ebp - 0x24]
push edx
call fcn.0040b7e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
call fcn.0040b7e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040b7e0
mov byte [ebp - 4], 4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 5
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
mov ecx, 0x692fe4
call fcn.0040b8a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 5
call fcn.00430e90
add esp, 0xc
mov esi, 2
cmp dword [ebp - 0x64], esi
jne 0x4639d1
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x14]
call fcn.0040daa0
cmp dword [ebp - 0x64], 1
ja 0x4636b6
push 0x80070057
call fcn.00403d10
mov eax, dword [ebp - 0x68]
add eax, 4
lea edi, [ebp - 0x20]
call fcn.0040daa0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 7
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
mov ecx, 0x6994ac
call fcn.0040b8a0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 7
call fcn.00430e90
add esp, 0xc
cmp dword [ebp - 0x54], esi
jne 0x4639c5
mov eax, dword [ebp - 0x58]
lea edi, [ebp - 0x14]
call fcn.0040daa0
cmp dword [ebp - 0x54], 1
ja 0x463721
push 0x80070057
call fcn.00403d10
mov eax, dword [ebp - 0x58]
add eax, 4
lea edi, [ebp - 0x24]
call fcn.0040daa0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 9
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
mov ecx, 0x692fe8
call fcn.0040b8a0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 9
call fcn.00430e90
add esp, 0xc
mov eax, dword [ebp - 0x44]
cmp eax, 1
jbe 0x463842
cmp eax, ebx
ja 0x463785
push 0x80070057
call fcn.00403d10
mov edi, dword [ebp - 0x48]
call fcn.0040bc80
cmp dword [ebp - 0x44], ebx
ja 0x46379c
push 0x80070057
call fcn.00403d10
mov edx, dword [ebp - 0x48]
push edx
mov ecx, str.hkey_users
call fcn.00437f30
add esp, 4
test al, al
je 0x4637bd
mov dword [ebp - 0x18], reloc.WS2_32.dll_closesocket
jmp 0x463842
cmp dword [ebp - 0x44], ebx
ja 0x4637cc
push 0x80070057
call fcn.00403d10
mov eax, dword [ebp - 0x48]
push eax
mov ecx, str.hkey_current_user
call fcn.00437f30
add esp, 4
test al, al
je 0x4637ea
mov dword [ebp - 0x18], closesocket
jmp 0x463842
cmp dword [ebp - 0x44], ebx
ja 0x4637f9
push 0x80070057
call fcn.00403d10
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, str.hkey_classes_root
call fcn.00437f30
add esp, 4
test al, al
je 0x463817
mov dword [ebp - 0x18], closesocket
jmp 0x463842
cmp dword [ebp - 0x44], ebx
ja 0x463826
push 0x80070057
call fcn.00403d10
mov edx, dword [ebp - 0x48]
push edx
mov ecx, str.hkey_local_machine
call fcn.00437f30
add esp, 4
test al, al
je 0x463842
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x18], 0x80000001
jne 0x463869
mov eax, dword [0x6eac4c]
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x18]
push ecx
push 6
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
xor ecx, ecx
mov edx, 0x692fe8
lea esi, [ebp - 0x14]
call fcn.00437bc0
inc eax
mov ebx, esi
call fcn.00437940
lea edx, [ebp - 0x1c]
push edx
call fcn.0040b7e0
mov bl, 0xb
mov byte [ebp - 4], bl
cmp dword [ebp + 0x24], 1
jne 0x4638c1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
lea ecx, [eax - 3]
lea edx, [ebp - 0x38]
push edx
mov edx, esi
call fcn.00437e90
mov byte [ebp - 4], 0xc
lea edi, [ebp - 0x1c]
call fcn.0040daa0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.0040b950
jmp 0x4638f0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ebx, 0x69c474
call fcn.004176f0
add esp, 8
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x1c]
call fcn.0040daa0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.0040b950
mov bl, 0xb
mov dword [ebp - 0x30], 0
call fcn.004483c0
test eax, eax
je 0x46390b
cmp byte [ebp - 0x2c], 0
mov eax, 0x106
jne 0x463910
mov eax, 6
push 0
lea edx, [ebp - 0x30]
push edx
push 0
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46399f
mov edx, dword [ebp - 0x20]
mov eax, dword [edx - 0xc]
mov edi, dword [ebp - 0x24]
add eax, eax
push eax
lea esi, [ebp - 0x20]
call fcn.0040bd40
push eax
push 1
push edi
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x463995
mov edx, dword [ebp - 0x2c]
push edx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b840
mov byte [ebp - 4], 0xe
push ecx
mov edx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x14]
push eax
push edx
call fcn.0040b840
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x18]
push ecx
mov byte [ebp - 4], bl
call fcn.004300b0
add esp, 0x14
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 0
je 0x4639ab
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040b950
mov byte [ebp - 4], 7
lea esi, [ebp - 0x48]
call fcn.0043f120
xor ebx, ebx
mov byte [ebp - 4], 5
lea esi, [ebp - 0x58]
call fcn.0043f120
mov byte [ebp - 4], 4
lea esi, [ebp - 0x68]
call fcn.0043f120
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040b950
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040b950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040b950
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.0040b950
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24