Function at 0x1f9343e0
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x1f969335
call fcn.1f8a600e
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x1f97b00c]
mov esi, 0x1f97b00c
cmp eax, esi
je 0x1f93443f
mov edi, 0x200000
test dword [eax + 0x1c], edi
je 0x1f934421
push dword [ebp + 0xc]
push 0x1f88a3b4
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f8970b0
mov eax, dword [0x1f97b00c]
cmp eax, esi
je 0x1f93443f
test dword [eax + 0x1c], edi
je 0x1f93443f
push dword [ebp - 0x1c]
push 0x1f88a3b4
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
mov esi, dword [ebp + 8]
xor eax, eax
cmp esi, eax
jne 0x1f934469
push eax
push 0x54f
push 0x1f88a60c
push 0x4ec
push 0x1f88a3c8
call fcn.1f8a7bdf
xor eax, eax
jmp 0x1f9346ec
cmp dword [ebp + 0xc], eax
jne 0x1f934480
push esi
push 0x54f
push 0x1f88a600
push 0x4ed
jmp 0x1f934458
cmp dword [ebp + 0x14], eax
jne 0x1f934497
push esi
push 0x54f
push 0x1f88a5f4
push 0x4ee
jmp 0x1f934458
cmp dword [ebp + 0x10], eax
jne 0x1f9344ae
push esi
push 0x54f
push 0x1f87e9ac
push 0x4ef
jmp 0x1f934458
mov edi, dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x14]
push ecx
push 0x104
push eax
push dword [ebp + 0x14]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call edi
test eax, eax
je 0x1f9344ee
mov ecx, dword [esi]
push 0x4033c44a
push eax
push esi
call dword [ecx + 0x1c]
add esp, 0xc
jmp 0x1f934582
mov eax, dword [ebp + 0x14]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1f9344f4
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sar eax, 1
lea esi, [ecx + eax*2 + 2]
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f934531
test dword [eax + 0x1c], 0x200000
je 0x1f934531
push esi
push 0x1f88a3b4
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f8970b0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x18]
push eax
xor eax, eax
push eax
push dword [ebp + 0x18]
push eax
push eax
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
je 0x1f934586
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f934579
test dword [eax + 0x1c], 0x200000
je 0x1f934579
push esi
push 0x1f88a3b4
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x14], 0
mov esi, dword [sym.imp.KERNEL32.dll_RegCloseKey]
je 0x1f934597
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], 0
je 0x1f9346de
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f9345d3
test dword [eax + 0x1c], 0x200000
je 0x1f9345d3
push dword [ebp + 0xc]
push 0x1f88a3b4
push 0x31
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f8970b0
and dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0x14]
push eax
push 0x2011b
push 0
push dword [ebp + 0xc]
push ebx
call edi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x1f934621
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f9346c4
test dword [eax + 0x1c], 0x200000
je 0x1f9346c4
push esi
push 0x1f88a3b4
push 0x32
jmp 0x1f9346b9
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1f93464d
cmp dx, bx
je 0x1f934649
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1f93464d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1f934627
xor eax, eax
jmp 0x1f934652
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1f9346d0
mov eax, dword [0x1f97b00c]
mov edi, 0x1f97b00c
mov esi, 0x1f88a468
cmp eax, edi
je 0x1f934685
test dword [eax + 0x1c], 0x200000
je 0x1f934685
push esi
push 0x1f88a3b4
push 0x33
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f8970b0
push 8
push 0x1f88a5ec
push 1
push ebx
push esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_RegSetValueExW]
mov esi, eax
cmp esi, ebx
je 0x1f9346d0
mov eax, dword [0x1f97b00c]
cmp eax, edi
je 0x1f9346c4
test dword [eax + 0x1c], 0x200000
je 0x1f9346c4
push esi
push 0x1f88a3b4
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1f8ab67d
jmp 0x1f9346e9
cmp dword [ebp - 0x18], 0
je 0x1f9346e9
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
call fcn.1f8a60fa
ret 0x18