Function at 0x5a9b00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62dfd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
je 0x5a9b43
mov eax, dword [ebx + 0xc]
mov dword [eax + 0xb4], 3
jmp 0x5a9b50
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0xb8], 3
mov esi, dword [ebp + 0x10]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5a9dc9
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 0x40]
test eax, eax
jne 0x5a9b74
mov eax, 0x6d1c98
push eax
lea ecx, [ebp - 0x14]
call fcn.00603aaa
mov eax, dword [ebp - 0x14]
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [eax - 8], edi
jle 0x5a9c54
mov ecx, dword [ebx + 0xc]
mov dl, byte [ecx + 0x30a]
test dl, dl
jne 0x5a9c3c
push edi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
call fcn.00402e00
mov eax, dword [ebp - 0x28]
cmp eax, edi
jne 0x5a9bbe
lea eax, [ebp - 0x24]
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xfde9
call edi
mov esi, eax
test esi, esi
jle 0x5a9c2d
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00603e09
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x5a9bf9
lea ecx, [ebp - 0x24]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call edi
mov eax, dword [ebx + 0xc]
mov byte [eax + 0x30a], 1
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00603bc5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00603a3c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp + 0x10]
mov edx, 0x6c3b2c
mov ax, word [edx]
cmp ax, word [esi]
je 0x5a9c52
push edx
lea ecx, [ebp - 0x14]
call fcn.00603d3e
xor edi, edi
mov al, byte [ebp + 0xc]
test al, al
je 0x5a9c73
mov ecx, dword [ebx + 0xc]
push esi
mov byte [ecx + 0x30a], 1
lea ecx, [ebp - 0x14]
call fcn.00603d3e
jmp 0x5a9d5c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
call fcn.00401070
cmp esi, edi
je 0x5a9cd2
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5a9cd2
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push eax
call edi
test eax, eax
mov dword [ebp - 0x20], eax
je 0x5a9cd2
lea edx, [eax + eax + 2]
push edx
call fcn.005ffe3f
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x5a9cd5
mov ecx, dword [ebp - 0x20]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x5a9cdc
lea eax, [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov esi, eax
test esi, esi
jle 0x5a9d50
mov edx, dword [0x6cd768]
mov dword [ebp + 0xc], edx
push esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00603e09
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x5a9d1c
lea ecx, [ebp - 0x24]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call edi
mov eax, dword [ebx + 0xc]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
mov byte [eax + 0x30a], 1
call fcn.00603d7a
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00603a3c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401070
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xc]
push edx
call fcn.005c4230
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x5a9d89
mov ecx, dword [ebx + 0xb8]
push ecx
push 0x139e
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x5a9daa
mov ecx, dword [ebx + 0xb8]
push ecx
push 0x139e
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], 5
jne 0x5a9dbd
mov edx, dword [ebx + 0xc]
mov dword [edx + 0xb8], 3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00603a3c
mov eax, dword [ebx + 0x23c]
test eax, eax
je 0x5a9e1e
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x5a9dfc
mov ecx, dword [ebx + 0xc]
push 4
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 0x5a9e1e
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x23c]
add edx, 0xb8
push 4
push edx
push 4
push 0
push str.fGDFE
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10