Function at 0x110bdf00
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e1a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x644
mov eax, dword [0x11279148]
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
test byte [ebp + 0x18], 2
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, ecx
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x640], edi
mov dword [ebp - 0x61c], esi
mov dword [ebp - 0x620], ecx
mov dword [ebp - 0x62c], edx
mov dword [ebp - 0x618], ebx
jne 0x110bdf79
cmp dword [eax + 4], 0
mov dword [ebp - 0x614], 1
jne 0x110bdf83
mov dword [ebp - 0x614], 0
add eax, 0xc
push eax
mov dword [ebp - 0x624], 1
mov dword [ebp - 0x650], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x114], 0
mov dword [ebp - 4], 0
jne 0x110bdfb2
test byte [ebx], 1
je 0x110bdfb6
or dword [ebp + 0x18], 1
movzx eax, word [esi]
test ax, ax
je 0x110bdfd8
mov edi, edi
cmp ax, 0x30
jae 0x110bdfd2
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x110bdfc0
mov dword [ebp - 0x61c], esi
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110bdfe0
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110bdff6
sub eax, esi
sar eax, 1
lea eax, [eax + edx + 2]
cmp eax, 0x100
jbe 0x110be027
push 0x2f4
push str...ctl32Config.cpp
push str._tcslen_section___1___tcslen_key___1___countof_keybuf_
call fcn.11067750
add esp, 0xc
lea edx, [ebp - 0x210]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x110be031
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x110be050
mov ecx, dword [0x11203288]
mov eax, dword [ebp - 0x61c]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110be070
lea edi, [ebp - 0x210]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x110be086
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [ebp - 0x210]
rep movsb byte es:[edi], byte [esi]
push edx
lea ecx, [ebp - 0x628]
call fcn.110bbb90
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x634]
lea esi, [ebx + 0x118]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.110bd190
mov ecx, dword [ebp - 0x634]
cmp ecx, dword [ebx + 0x11c]
je 0x110be0f0
push ecx
lea edx, [ebp - 0x634]
push edx
mov ecx, esi
call fcn.110bd900
test byte [ebp + 0x18], 1
je 0x110be27b
cmp dword [ebp - 0x620], 0
je 0x110be1cf
mov eax, dword [ebp - 0x62c]
mov ebx, dword [sym.imp.MSVCR100.dll_malloc]
push eax
mov dword [ebp - 0x634], eax
call ebx
mov ecx, dword [ebp - 0x620]
mov edi, eax
mov eax, dword [ebp - 0x62c]
push eax
push ecx
push edi
mov dword [ebp - 0x638], edi
call sub.MSVCR100.dll_memcpy
add esp, 0x10
mov edx, dword [ebp - 0x628]
push edx
lea ecx, [ebp - 0x64c]
mov byte [ebp - 4], 2
call fcn.110bbb90
mov eax, dword [ebp - 0x62c]
push eax
mov dword [ebp - 0x644], eax
call ebx
mov ecx, dword [ebp - 0x62c]
push ecx
push edi
push eax
mov dword [ebp - 0x648], eax
call sub.MSVCR100.dll_memcpy
add esp, 0x10
push 0
lea edx, [ebp - 0x64c]
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.110bdbc0
push eax
lea eax, [ebp - 0x630]
push eax
mov ecx, esi
call fcn.110bdc80
mov eax, dword [ebp - 0x648]
mov esi, dword [sym.imp.MSVCR100.dll_free]
test eax, eax
je 0x110be1b0
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 0x64c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
test edi, edi
je 0x110be1c9
push edi
call esi
add esp, 4
mov ebx, dword [ebp - 0x618]
mov ecx, dword [ebp - 0x628]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov esi, dword [ebp - 0x63c]
add esp, 4
lea eax, [esi + 0xc]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx + 0x140], 0
je 0x110be22a
mov eax, dword [ebp - 0x620]
test eax, eax
jne 0x110be20d
mov eax, str._NULL_
mov edx, dword [ebp - 0x61c]
push eax
mov eax, dword [ebp - 0x640]
push edx
push eax
push esi
push str.cfg__x:_Set___s__s_s_n
call fcn.111bd7b0
add esp, 0x14
cmp dword [ebp - 0x614], 0
je 0x110be3d8
cmp dword [ebp - 0x624], 0
je 0x110be3b8
cmp dword [ebx + 0x140], 1
jle 0x110be264
push 0x34a
push str...ctl32Config.cpp
push str.Send_EV_CONFIGSET_from__hs__d_n
call fcn.111bd7b0
add esp, 0xc
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push 0
push esi
push 0x30000014
call eax
jmp 0x110be3d8
xor esi, esi
cmp dword [ebx + 0x10], esi
jne 0x110be299
push 0x30e
push str...ctl32Config.cpp
push str.idata__hCurrConfig
call fcn.11067750
add esp, 0xc
mov dword [ebp - 0x634], 0x400
cmp dword [ebp - 0x614], esi
jne 0x110be2b3
cmp dword [ebx + 0x140], esi
je 0x110be2de
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x634]
push edx
lea ecx, [ebp - 0x610]
push ecx
lea edx, [ebp - 0x618]
push edx
push esi
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.111b8970
add esp, 0x18
jmp 0x110be2e4
mov eax, dword [ebp - 0x650]
mov edi, dword [ebp - 0x620]
cmp edi, esi
jne 0x110be31e
cmp dword [ebp - 0x614], esi
jne 0x110be2fe
cmp dword [ebx + 0x140], esi
je 0x110be308
cmp eax, esi
je 0x110be308
mov dword [ebp - 0x624], esi
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x210]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x110be1cf
cmp dword [ebp - 0x614], esi
jne 0x110be32e
cmp dword [ebx + 0x140], esi
je 0x110be378
cmp eax, esi
jne 0x110be378
cmp dword [ebp - 0x618], 1
jne 0x110be378
mov ecx, edi
lea eax, [ebp - 0x610]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x110be369
cmp dx, si
je 0x110be365
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x110be369
add eax, 4
add ecx, 4
cmp dx, si
jne 0x110be343
xor eax, eax
jmp 0x110be36e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x110be378
mov dword [ebp - 0x624], esi
mov ecx, dword [ebp - 0x62c]
mov eax, dword [ebx + 0x10]
push ecx
push edi
push 1
push esi
lea edx, [ebp - 0x210]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
je 0x110be1cf
push 0x33c
push str...ctl32Config.cpp
push str.err__0
call fcn.11067750
add esp, 0xc
jmp 0x110be1cf
cmp dword [ebx + 0x140], 1
jle 0x110be3d8
push 0x351
push str...ctl32Config.cpp
push str.WARNING:_NOT_Sending_EV_CONFIGSET_from__hs__d_n
call fcn.111bd7b0
add esp, 0xc
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.111d9022
mov esp, ebp
pop ebp
ret 0x14