Function at 0x4f0c00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640e38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
mov dword [ebp - 0x30], ebx
call dword [eax + 0x7c]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004ef560
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], esi
jb 0x4f0c66
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x34], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
dec eax
cmp eax, 5
ja case.default.0x4f0c77
jmp dword [eax*4 + 0x4f0e28]
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x44]
mov dword [ebp - 0x30], 4
mov edi, 4
jmp 0x4f0d86
mov eax, dword [edi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x40]
mov dword [ebp - 0x30], 8
mov edi, 0xb
jmp 0x4f0d86
mov eax, dword [edi]
lea ecx, [ebp - 0x29]
push ecx
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x4f0cc9
mov al, byte [eax]
jmp 0x4f0ccb
xor al, al
movzx eax, al
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov edi, 4
mov dword [ebp - 0x30], 4
jmp 0x4f0d8c
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
mov dword [ebp - 0x30], 8
mov edi, 0xb
jmp 0x4f0d86
mov ecx, edi
call fcn.004de720
mov esi, dword [eax]
test esi, esi
jne 0x4f0d13
mov esi, 0x649aa0
mov ecx, edi
call fcn.004de720
mov edi, 1
mov eax, dword [eax + 4]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30], eax
jmp 0x4f0d88
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x34]
mov esi, eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x30], eax
mov ecx, esi
mov eax, dword [esi]
mov edi, 3
call dword [eax + 0x48]
cmp eax, edi
je 0x4f0d7f
push dword [ebp - 0x30]
call fcn.004bad85
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4f0da7
mov ecx, dword [esi]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
mov edx, dword [ecx + 0x1c]
mov ecx, esi
push ebx
call edx
test eax, eax
js 0x4f0da7
mov esi, ebx
jmp 0x4f0d88
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov esi, eax
test esi, esi
je 0x4f0da7
push dword [ebp - 0x30]
push esi
push edi
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete byte [ebp - 0x29]
jmp 0x4f0dab
mov byte [ebp - 0x29], 1
test ebx, ebx
je 0x4f0db8
push ebx
call fcn.004b936c
add esp, 4
mov bl, byte [ebp - 0x29]
jmp 0x4f0dcc
push esi
push dword [ebp - 0x38]
push edi
call 0x4f0e40
add esp, 0xc
mov bl, al
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4f0e02
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4f0df8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f0e20
push edx
push ecx
call fcn.004b22a2
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2558
mov esp, ebp
pop ebp
ret
call fcn.004b959b
lea ecx, [ecx]
mov dh, 0xc
dec edi
add byte [esi + 0xc], bh
dec edi
add byte [edx - 0x1affb0f4], bl
or al, 0x4f
add byte [ecx], al
or eax, 0xd2e004f
dec edi
add byte [ebp - 0x75], dl
in al, dx
push 0xffffffffffffffff
push 0x640e38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x7c]
sub eax, 1
je 0x4f0f25
sub eax, 3
je 0x4f0eaa
xor bl, bl
jmp 0x4f0fae
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
mov edi, str.:double
call dword [eax + 0x3c]
test eax, eax
je 0x4f0ec2
fld qword [eax]
jmp 0x4f0ec4
fldz
sub esp, 8
lea eax, [ebp - 0x40]
fstp qword [esp]
push 0x6746b0
push eax
call fcn.004ef140
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00471560
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00471560
jmp 0x4f0f51
mov eax, dword [esi]
lea ecx, [ebp - 0x41]
push ecx
mov ecx, esi
mov edi, 0x6746e0
call dword [eax + 0x48]
test eax, eax
je 0x4f0f43
cmp byte [eax], 0
mov eax, 0x65b7b8
jne 0x4f0f48
mov eax, 0x65b7cc
push eax
lea ecx, [ebp - 0x28]
call fcn.004782e0
push 0
lea ecx, [ebp - 0x28]
call fcn.004b20b5
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f0f60
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00478160
push 0
lea ecx, [ebp - 0x28]
call fcn.004b20b5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x28]
jb 0x4f0f99
mov eax, dword [ebp - 0x28]
push ecx
push eax
push 7
push 0
push dword [ebp - 0x48]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4f0fe4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4f0fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f1002
push edx
push ecx
call fcn.004b22a2
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2558
mov esp, ebp
pop ebp
ret
call fcn.004b959b
int3