Function at 0x5eefb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6420e6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2128
call fcn.0061d060
mov eax, dword [0x6ccc30]
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 dword [ebp - 0x2128], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2138], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2124], ecx
mov dword [ebp - 0x2130], edi
mov dword [ebp - 0x212c], ebx
call fcn.005f18d0
test eax, eax
jns 0x5ef025
lfence
jmp 0x5ef4c4
push 0x64ecb0
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5ef040
lea esi, [eax + 8]
jmp 0x5ef095
push 0x64ecb4
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5ef05d
mov esi, 0x4008
jmp 0x5ef095
push 0x64ecb8
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5ef078
lea esi, [eax + 0x13]
jmp 0x5ef095
push 0x64ecbc
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5ef4bf
lea esi, [eax + 0x11]
mov ecx, dword [ebp - 0x2128]
lfence
call fcn.005f3380
mov ecx, dword [ebp - 0x2128]
lea eax, [ebp - 0x2014]
push eax
call fcn.005f18d0
test eax, eax
js 0x5ef01d
cmp esi, 0x13
ja 0x5ef309
je 0x5ef2a4
cmp esi, 8
je 0x5ef28c
cmp esi, 0x11
jne 0x5ef49f
lea ebx, [ebp - 0x2014]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x5ef0e7
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x2134], ebx
mov dword [ebp - 0x201c], ebx
test bl, 1
jne 0x5ef1b2
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x2120]
push 0x104
push 0
sar esi, 1
push eax
mov dword [ebp - 0x2018], esi
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x2120], 0
mov dword [ebp - 4], 9
mov byte [ebp - 4], 0xa
cmp esi, 0x100
jbe 0x5ef190
push esi
lea ecx, [ebp - 0x2120]
lfence
call fcn.005ef590
mov eax, dword [ebp - 0x2120]
jmp 0x5ef19c
lea eax, [ebp - 0x211c]
mov dword [ebp - 0x2120], eax
mov dword [ebp - 4], 9
test eax, eax
jne 0x5ef1bc
lea ecx, [ebp - 0x2120]
call fcn.005f0ac0
mov eax, 0x80004005
jmp 0x5ef4c4
push esi
push 0
push eax
call fcn.0061e8c0
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x2124], ecx
test ebx, ebx
jle 0x5ef242
mov edi, dword [ebp - 0x2134]
nop word [eax + eax]
movzx edx, word [ebp + ecx*2 - 0x2014]
lea ebx, [edx - 0x30]
cmp ebx, 0x36
ja case.0x5ef1f7.58
movzx eax, byte [ebx + 0x5ef500]
jmp dword [eax*4 + 0x5ef4f0]
lea ebx, [edx - 0x37]
jmp case.0x5ef1f7.48
lea ebx, [edx - 0x57]
jmp case.0x5ef1f7.48
xor ebx, ebx
mov eax, dword [ebp - 0x2124]
mov esi, dword [ebp - 0x2120]
and eax, 1
shr ecx, 1
add esi, ecx
shl eax, 2
mov ecx, 4
sub ecx, eax
shl bl, cl
mov ecx, dword [ebp - 0x2124]
or byte [esi], bl
inc ecx
mov dword [ebp - 0x2124], ecx
cmp ecx, edi
jl 0x5ef1e0
mov esi, dword [ebp - 0x2018]
mov eax, dword [ebp - 0x2130]
push esi
push dword [ebp - 0x2120]
push 3
push 0
push dword [ebp - 0x212c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x211c]
cmp dword [ebp - 0x2120], eax
je 0x5ef490
lea ecx, [ebp - 0x2120]
call fcn.005f0ac0
jmp 0x5ef490
push 1
lea eax, [ebp - 0x2014]
mov ecx, edi
push eax
push ebx
call fcn.005f3050
mov edi, eax
jmp 0x5ef490
mov dword [ebp - 0x2134], 0
lea eax, [ebp - 0x201c]
mov dword [ebp - 4], 4
push eax
push 0
push 0
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x5ef01d
mov eax, dword [ebp - 0x201c]
mov dword [ebp - 0x2018], eax
push 4
lea eax, [ebp - 0x2018]
mov byte [ebp - 4], 6
push eax
push 4
push 0
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x5ef490
cmp esi, 0x4008
jne 0x5ef49f
lea ecx, [ebp - 0x2014]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ef320
sub ecx, edx
lea eax, [ebp - 0x2120]
sar ecx, 1
push 0x104
push 0
push eax
lea esi, [ecx + 2]
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x2120], 0
mov eax, esi
mov dword [ebp - 4], 0
mov ecx, 2
mov byte [ebp - 4], 1
mul ecx
test edx, edx
jne 0x5ef4e2
cmp eax, 0xffffffff
ja 0x5ef4e2
cmp eax, 0x100
jbe 0x5ef38f
push eax
lea ecx, [ebp - 0x2120]
lfence
call fcn.005ef590
jmp 0x5ef3af
lea esi, [ebp - 0x211c]
mov dword [ebp - 0x2120], esi
jmp 0x5ef3b5
mov esi, dword [ebp - 0x2120]
mov dword [ebp - 4], 0
test esi, esi
je 0x5ef46f
cmp word [ebp - 0x2014], 0
lea edi, [ebp - 0x2014]
je 0x5ef408
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x5ef3f9
cmp word [eax], 0x30
jne 0x5ef3f9
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x5ef3ff
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], 0
jne 0x5ef3d4
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x2120]
mov byte [ebp - 4], 3
test esi, esi
jne 0x5ef41f
lea edi, [eax + 0xd]
jmp 0x5ef474
xor edi, edi
mov edx, esi
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ef430
sub ecx, ebx
sar ecx, 1
inc ecx
lea edx, [edx + ecx*2]
lea edi, [edi + ecx*2]
cmp ecx, 1
jne 0x5ef423
mov eax, dword [ebp - 0x2130]
push edi
push esi
push 7
push 0
push dword [ebp - 0x212c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x2120]
mov edi, eax
jmp 0x5ef474
mov edi, 0xe
lea eax, [ebp - 0x211c]
mov dword [ebp - 4], 0xffffffff
cmp esi, eax
je 0x5ef490
lea ecx, [ebp - 0x2120]
call fcn.005f0ac0
test edi, edi
je 0x5ef49f
push edi
call fcn.005ef7c0
add esp, 4
jmp 0x5ef4c4
push dword [ebp - 0x2138]
mov ecx, dword [ebp - 0x2128]
lfence
call fcn.005f18d0
test eax, eax
js 0x5ef01d
xor eax, eax
jmp 0x5ef4c4
mov eax, 0x80020009
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.005ce525
mov esp, ebp
pop ebp
ret 0xc
push 0x80070216
lfence
call fcn.005ef7e0
nop
or dh, dl
pop esi
add dh, bh
int1
pop esi
add byte [ebx], al
pop esi
add byte [eax], cl
pop esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
int3