Function at 0x111730e0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e98fb
mov eax, dword fs:[0]
push eax
sub esp, 0x290
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
mov esi, dword [ebp + 0xc]
push 0xa
push 1
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x298], esi
call dword [sym.imp.MSVCR100.dll_calloc]
push esi
push eax
mov dword [ebp - 0x29c], eax
mov eax, dword [ebx + 6]
push eax
push edi
call fcn.11172e30
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1117315e
mov ecx, dword [ebp - 0x298]
push ecx
push eax
lea eax, [esi + 6]
mov esi, dword [ebp - 0x29c]
call fcn.11172e00
add esp, 8
jmp 0x1117330c
mov ecx, dword [edi]
call fcn.110c7040
push eax
add ebx, 0xe
push ebx
lea ecx, [ebp - 0x294]
call fcn.111bd170
xor edi, edi
mov dword [ebp - 4], 0
cmp dword [ebp + 8], edi
je 0x111732d1
cmp dword [esi], 0x80000001
jne 0x11173286
cmp dword [0x1127b220], edi
je 0x11173286
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test eax, eax
je 0x11173286
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push edi
push edi
call eax
cmp byte [0x1127ad15], 0
mov eax, 0xf003f
je 0x111731dc
mov eax, 0xf013f
mov ecx, dword [0x1127b220]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x44]
call eax
mov dword [esi], eax
mov ecx, dword [0x1127b220]
mov edx, dword [ecx]
mov eax, dword [edx + 0x120]
call eax
test eax, eax
je 0x111732e3
push 0x100
lea ecx, [ebp - 0x290]
push ecx
push eax
call fcn.11153500
lea edi, [ebp - 0x290]
add esp, 0xc
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x11173224
mov edx, dword [0x11203288]
mov eax, dword [ebp - 0x294]
mov dword [edi], edx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11173240
lea edi, [ebp - 0x290]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x11173256
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x290]
push eax
and ecx, 3
push reloc.WSOCK32.dll_closesocket
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x111732e1
push 0x11227c08
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x1127ad15], 0
je 0x111732bf
test eax, eax
je 0x111732bf
mov ecx, dword [ebp - 0x294]
mov edx, dword [esi]
push 0
push 0x100
push ecx
push edx
call eax
jmp 0x111732e1
mov eax, dword [ebp - 0x294]
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x111732e1
mov edx, dword [ebp - 0x294]
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
mov ecx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x29c]
push ecx
push 0
mov eax, edi
call fcn.11172e00
mov edx, dword [ebp - 0x294]
push edx
mov esi, eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0xc
mov eax, esi
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