Function at 0x5b6490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6658c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x5b64e5
mov eax, dword [esi + 0xc]
mov dword [eax + 0xb4], 3
jmp 0x5b64f2
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0xb8], 3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5b64f7
sub eax, edx
je 0x5b671c
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x40]
test eax, eax
jne 0x5b6515
mov eax, 0x67997c
push eax
lea ecx, [ebp - 0x28]
call fcn.004030a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jle 0x5b65fa
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x342], 0
jne 0x5b65da
push eax
lea ecx, [ebp - 0x20]
call fcn.004070a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5b6556
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call ebx
mov edi, eax
test edi, edi
jle 0x5b65c9
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x24]
call fcn.00402840
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x5b6595
lea ecx, [ebp - 0x1c]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
mov edx, dword [esi + 0xc]
mov byte [edx + 0x342], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.0054f750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov edi, dword [ebp - 0x2c]
jmp 0x5b65e0
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [edi], 0x2c
jne 0x5b65eb
cmp byte [edi + 1], 0x20
je 0x5b6600
push 0x6b3594
lea ecx, [ebp - 0x28]
call fcn.00403060
jmp 0x5b6600
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
cmp byte [ebp + 0xc], 0
je 0x5b661e
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x342], 1
lea ecx, [ebp - 0x28]
call fcn.00403060
jmp 0x5b66ad
lea ecx, [ebp - 0x20]
call fcn.004070a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5b6634
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov edi, eax
test edi, edi
jle 0x5b66a1
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0x24]
call fcn.00402840
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x5b666d
lea ecx, [ebp - 0x1c]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
mov edx, dword [esi + 0xc]
mov byte [edx + 0x342], 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e6d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.005cbdf0
mov eax, dword [esi + 0x14]
cmp dword [eax], 0
je 0x5b66db
mov edx, dword [esi + 0xb8]
push edx
push 0x139e
push 0x111
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x18]
cmp dword [eax], 0
je 0x5b66fd
mov ecx, dword [esi + 0xb8]
push ecx
push 0x139e
push 0x111
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], 5
jne 0x5b6710
mov eax, dword [esi + 0xc]
mov dword [eax + 0xb8], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402560
mov eax, dword [esi + 0x244]
test eax, eax
je 0x5b6770
cmp dword [ebp + 0x14], 0
je 0x5b674e
push 4
mov ecx, dword [esi + 0xc]
add ecx, 0xb4
push ecx
push 4
push 0
push str.fGDFB
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp + 8], 5
jne 0x5b6770
push 4
mov edx, dword [esi + 0xc]
add edx, 0xb8
push edx
push 4
push 0
push str.fGDFE
mov eax, dword [esi + 0x244]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret 0x10