Function at 0x5b67b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665918
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov eax, dword [esi + 0xc]
mov ebx, 2
cmp dword [eax + 0xb4], ebx
jne 0x5b68a8
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x20]
call fcn.005d6ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004024f0
mov byte [ebp - 4], bl
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0xa4]
push 0
push edx
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [eax + 0x30]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.005d70d0
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 3
je 0x5b6862
cmp edi, 1
je 0x5b6862
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push edi
mov ecx, esi
call fcn.005b6490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.005d6af0
mov dword [ebp - 4], 0xffffffff
jmp 0x5b68a8
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb8], ebx
jne 0x5b6b0c
cmp dword [esi + 0x150], 0
je 0x5b6b0c
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xa4]
push 0x68162c
push eax
call fcn.006226ae
add esp, 8
test eax, eax
jne 0x5b6a76
mov edx, dword [esi + 0x18]
cmp dword [edx], eax
je 0x5b69ea
mov eax, dword [esi + 0x108]
test eax, eax
je 0x5b6912
cmp dword [eax + 0x14], 0
je 0x5b6b0c
mov eax, dword [eax + 0x58]
test eax, eax
je 0x5b6920
jmp 0x5b68ff
mov al, byte [esi + 0x10c]
test al, al
jne 0x5b6b0c
lea ecx, [ebp - 0x50]
call fcn.005d74f0
mov ebx, 5
mov byte [ebp - 4], bl
mov eax, 6
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], al
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
mov edx, dword [esi + 0x108]
push edx
mov edx, dword [esi + 0x150]
push edx
push ecx
push eax
mov eax, dword [esi + 0xc]
add eax, 0x490
push eax
lea ecx, [ebp - 0x50]
call fcn.005d81d0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
jmp 0x5b69bd
test eax, eax
jne 0x5b6a35
mov ecx, dword [esi + 0xb8]
push ecx
push 0x13cb
push 0x111
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.005d7560
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0xb8], 3
mov eax, dword [esi + 0x244]
test eax, eax
je 0x5b6b0c
push 4
mov edx, dword [esi + 0xc]
add edx, 0xb8
push edx
push 4
push 0
push str.fGDFE
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 7
jne 0x5b69de
push 1
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x490]
mov eax, dword [edx + 0xc]
push 0
push eax
lea ecx, [esi + 0x28]
call fcn.00555110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.005d7560
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.005d6ae0
mov bl, 0xa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.004024f0
mov byte [ebp - 4], 0xb
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xa4]
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [esi + 0x150]
push edx
push eax
lea ecx, [ebp - 0x20]
call fcn.005d7260
test eax, eax
jne 0x5b6abf
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
push edi
mov ecx, esi
call fcn.005b6490
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.005d6af0
mov dword [ebp - 4], 0xffffffff
jmp 0x5b6aff
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0xb8], 3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret