Function at 0x4f4f90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov ebx, 2
xor edi, edi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
cmp dword [eax + 0x1a8], ebx
jne 0x4f506a
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.005018b0
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
mov eax, dword [esi + 0xc]
push edi
push edx
push ecx
mov ecx, dword [eax + 0x30]
lea edx, [ebp - 0x1c]
push edx
add eax, 0x9c
push ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.005018f0
mov edi, eax
cmp edi, 3
mov dword [ebp - 0x18], edi
je 0x4f502b
cmp edi, 1
je 0x4f502b
mov edx, dword [ebp - 0x1c]
push 1
push edx
push edi
mov ecx, esi
call fcn.004f52a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.005018e0
jmp 0x4f5063
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x1ac], ebx
jne 0x4f528c
mov ecx, dword [esi + 0x1d8]
test ecx, ecx
je 0x4f528c
add eax, 0x9c
mov ebx, 4
push str..zip
push eax
mov dword [ebp - 4], ebx
call fcn.00524fd0
add esp, 8
test eax, eax
jne 0x4f520c
mov eax, dword [esi + 0x18]
cmp dword [eax], 0
je 0x4f5185
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4f50df
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4f528c
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4f50ed
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4f528c
jmp 0x4f50cb
mov al, byte [esi + 0xa4]
test al, al
jne 0x4f528c
lea ecx, [ebp - 0x50]
call fcn.00501f40
mov edx, dword [esi + 0xa0]
mov ecx, dword [esi + 0x214]
mov eax, 6
push edx
mov edx, dword [esi + 0x1d8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], al
mov eax, dword [esi + 0x210]
push edx
push ecx
push eax
mov eax, dword [esi + 0xc]
add eax, 0x3ac
lea ecx, [ebp - 0x50]
push eax
call fcn.00503460
jmp 0x4f5155
test eax, eax
mov dword [ebp - 4], 5
jne 0x4f51cd
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x18]
push ecx
push 0x13cb
mov eax, dword [edx]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00501f90
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1ac], 3
mov eax, dword [esi + 0x294]
test eax, eax
je 0x4f528c
mov edx, dword [esi + 0xc]
push ebx
add edx, 0x1ac
push edx
push ebx
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 7
jne 0x4f517a
mov ecx, dword [esi + 0xc]
push 1
push 0
mov edx, dword [ecx + 0x3ac]
lea ecx, [esi + 0x48]
mov eax, dword [edx + 0xc]
push eax
call fcn.004c2ca0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00501f90
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
call fcn.005018b0
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x1d8]
lea ecx, [ebp - 0x20]
add eax, 0x9c
push ecx
push edx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00501e20
test eax, eax
jne 0x4f524d
mov ecx, dword [ebp - 0x20]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004f52a0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00537b04
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.005018e0
jmp 0x4f527f
mov edx, dword [esi + 0xc]
mov dword [edx + 0x1ac], 3
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret