Function at 0x5ae100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65cbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x74f8a0]
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 0x5ae155
mov eax, dword [esi + 0xc]
mov dword [eax + 0xb4], 3
jmp 0x5ae162
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 0x5ae167
sub eax, edx
je 0x5ae38c
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x40]
test eax, eax
jne 0x5ae185
mov eax, 0x670984
push eax
lea ecx, [ebp - 0x28]
call fcn.004030b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jle 0x5ae26a
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x32e], 0
jne 0x5ae24a
push eax
lea ecx, [ebp - 0x20]
call fcn.00406fc0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5ae1c6
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 0x5ae239
lea ecx, [ebp - 0x24]
call fcn.00402500
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x24]
call fcn.00402850
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x5ae205
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 + 0x32e], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.005494d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov edi, dword [ebp - 0x2c]
jmp 0x5ae250
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [edi], 0x2c
jne 0x5ae25b
cmp byte [edi + 1], 0x20
je 0x5ae270
push 0x6a9d84
lea ecx, [ebp - 0x28]
call fcn.00403070
jmp 0x5ae270
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
cmp byte [ebp + 0xc], 0
je 0x5ae28e
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x32e], 1
lea ecx, [ebp - 0x28]
call fcn.00403070
jmp 0x5ae31d
lea ecx, [ebp - 0x20]
call fcn.00406fc0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5ae2a4
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 0x5ae311
lea ecx, [ebp - 0x24]
call fcn.00402500
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0x24]
call fcn.00402850
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x5ae2dd
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 + 0x32e], 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e5e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00402570
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.005c3950
mov eax, dword [esi + 0x14]
cmp dword [eax], 0
je 0x5ae34b
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 0x5ae36d
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 0x5ae380
mov eax, dword [esi + 0xc]
mov dword [eax + 0xb8], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402570
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x5ae3e0
cmp dword [ebp + 0x14], 0
je 0x5ae3be
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 0x5ae3e0
push 4
mov edx, dword [esi + 0xc]
add edx, 0xb8
push edx
push 4
push 0
push str.fGDFE
mov eax, dword [esi + 0x23c]
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.0061807e
mov esp, ebp
pop ebp
ret 0x10