Function at 0x599fe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c048
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a308]
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 0x59a035
mov eax, dword [esi + 0xc]
mov dword [eax + 0xb4], 3
jmp 0x59a042
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 0x59a047
sub eax, edx
je 0x59a26c
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x40]
test eax, eax
jne 0x59a065
mov eax, 0x64f8bc
push eax
lea ecx, [ebp - 0x28]
call fcn.004030e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jle 0x59a14a
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x31e], 0
jne 0x59a12a
push eax
lea ecx, [ebp - 0x20]
call fcn.00406ea0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x59a0a6
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 0x59a119
lea ecx, [ebp - 0x24]
call fcn.004024e0
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x24]
call fcn.00402830
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x59a0e5
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 + 0x31e], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov edi, dword [ebp - 0x2c]
jmp 0x59a130
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [edi], 0x2c
jne 0x59a13b
cmp byte [edi + 1], 0x20
je 0x59a150
push 0x687ab4
lea ecx, [ebp - 0x28]
call fcn.004030a0
jmp 0x59a150
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
cmp byte [ebp + 0xc], 0
je 0x59a16e
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x31e], 1
lea ecx, [ebp - 0x28]
call fcn.004030a0
jmp 0x59a1fd
lea ecx, [ebp - 0x20]
call fcn.00406ea0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x59a184
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 0x59a1f1
lea ecx, [ebp - 0x24]
call fcn.004024e0
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0x24]
call fcn.00402830
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x59a1bd
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 + 0x31e], 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e4a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.005aea90
mov eax, dword [esi + 0x14]
cmp dword [eax], 0
je 0x59a22b
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 0x59a24d
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 0x59a260
mov eax, dword [esi + 0xc]
mov dword [eax + 0xb8], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402550
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x59a2c0
cmp dword [ebp + 0x14], 0
je 0x59a29e
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 0x59a2c0
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.005f85e7
mov esp, ebp
pop ebp
ret 0x10