Function at 0x1105ef70
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11182378
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x111ec774]
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, ecx
mov esi, dword [edi + 8]
lea eax, [edi + 0xc]
xor ebx, ebx
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
test byte [esi], 1
mov dword [ebp - 4], ebx
je 0x1105efd4
push 0x185
push 0x111a10c8
push 0x111a10a4
call fcn.11029a70
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x1105efec
lea edx, [ebp - 0x50]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1105efe0
jmp 0x1105f03f
mov dword [ebp - 0x64], pe_nt_image_headers32
call fcn.11143a20
mov ecx, 0x111e5d24
cmp eax, 0x14
jge 0x1105f007
mov ecx, 0x111e5d18
mov eax, dword [esi + 8]
lea edx, [ebp - 0x64]
push edx
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x6c]
push edx
push ebx
push ecx
push eax
call fcn.11143bd0
add esp, 0x18
test eax, eax
je 0x1105f03f
mov eax, dword [0x111a10fc]
mov ecx, dword [0x111a1100]
mov dl, byte [0x111a1104]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x48], dl
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov ebx, dword [ebp + 0x10]
je 0x1105f0db
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [esi + 0x94]
or ecx, ebx
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x58]
push edx
push 0
and ecx, 0xfffffffa
add ecx, 0x2001f
push ecx
push 0
push 0x11195264
push 0
lea edx, [ebp - 0x50]
push edx
push eax
call dword [sym.imp.aDvapi32.DLL_RegCreateKeyExA]
mov ecx, dword [esi + 0x94]
or ecx, ebx
jne 0x1105f0a6
test eax, eax
je 0x1105f0a6
push 0x19d
push 0x111a10c8
push 0x1119672c
call fcn.11029a70
add esp, 0xc
cmp dword [ebp - 0x60], 1
jne 0x1105f0db
cmp dword [ebp + 0xc], 0
jne 0x1105f0db
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.aDvapi32.DLL_RegDeleteKeyA]
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
xor eax, eax
jmp 0x1105f1c1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1105f0e9
push eax
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
lea eax, [ebp - 0x50]
lea edx, [esi + 0x54]
mov ecx, eax
mov dword [ebp - 0x54], edx
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1105f0f6
mov edx, dword [ebp - 0x58]
xor ecx, ecx
mov dword [esi + 0x10], edx
cmp dword [ebp - 0x60], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
sete cl
push ecx
mov ecx, edi
call edx
or dword [esi + 0x94], ebx
push 0
push 0
push 0x111a10f0
push 0x111a0f50
mov ecx, edi
call fcn.1105e820
cmp dword [ebp + 0x14], 0
mov dword [esi + 0xc0], eax
je 0x1105f17a
mov eax, dword [ebp - 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1105f146
sub eax, edx
mov ebx, eax
call fcn.11143a20
cmp eax, 0x14
mov eax, 0x111e5d24
jge 0x1105f165
mov eax, 0x111e5d18
mov ecx, dword [ebp - 0x54]
mov edx, dword [esi + 8]
inc ebx
push ebx
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.aDvapi32.DLL_RegSetValueExA]
cmp dword [edi + 4], 0
je 0x1105f192
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 0
push edi
push 0x30000015
call edx
push 0
push 0xffffffffffffffff
push 0x1119bac0
push 0x111a0f50
mov ecx, edi
call fcn.1105e820
test eax, eax
js 0x1105f1b4
push eax
call fcn.11144d70
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
mov eax, dword [ebp - 0x54]
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.11162bb7
mov esp, ebp
pop ebp
ret 0x10