Function at 0x6011c420
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x60149868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6015b6f8]
push ebx
push esi
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x2c], 1
call fcn.6011be20
mov ebx, eax
cmp ebx, esi
jge 0x6011c4b2
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c49d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push 0x2001f
push esi
push esi
push esi
push edi
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x6011c690
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
cmp eax, esi
push ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
jbe 0x6011c535
xor edi, edi
cmp esi, eax
jae 0x6011c700
mov eax, dword [ebx + 4]
mov ebp, dword [eax + edi + 0xc]
mov ecx, dword [eax + edi + 8]
mov edx, dword [eax + edi]
add eax, edi
mov eax, dword [eax + 4]
push ebp
mov ebp, dword [esp + 0x18]
push ecx
push eax
push 0
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebx + 8]
inc esi
add edi, 0x10
cmp esi, eax
jb 0x6011c500
mov edi, dword [esp + 0x10]
xor esi, esi
cmp ebp, esi
je 0x6011c544
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0x18]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x1c], ebp
jbe 0x6011c648
cmp ebp, eax
mov dword [esp + 0x14], esi
jae 0x6011c700
mov ecx, dword [esp + 0x30]
mov esi, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
add esi, eax
call fcn.601045b0
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx - 0xc]
lea eax, [edi - 1]
test eax, eax
mov byte [esp + 0x28], 2
jl 0x6011c700
cmp eax, edi
jg 0x6011c700
cmp byte [eax + ecx], 0x5c
je 0x6011c5e9
mov eax, dword [ecx - 4]
mov edx, 1
sub edx, eax
mov eax, dword [ecx - 8]
lea ebp, [edi + 1]
sub eax, ebp
or eax, edx
jge 0x6011c5c1
push ebp
lea ecx, [esp + 0x38]
call fcn.601042f0
mov ecx, dword [esp + 0x34]
test ebp, ebp
mov byte [edi + ecx], 0x5c
jl 0x6011c700
mov eax, dword [esp + 0x34]
cmp ebp, dword [eax - 8]
jg 0x6011c700
mov dword [eax - 0xc], ebp
mov edx, dword [esp + 0x34]
mov byte [edx + ebp], 0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.601044e0
mov eax, dword [esp + 0x34]
push esi
push eax
call fcn.6011c420
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c627
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x18]
inc ebp
add ecx, 0x24
cmp ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ecx
jb 0x6011c561
mov edi, dword [esp + 0x10]
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x6011c657
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c679
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push eax
call fcn.6011aed0
mov esi, eax
lea eax, [edi - 0x10]
add esp, 4
or edx, 0xffffffff
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp esi, 0x80070005
jne 0x6011c6de
test edx, edx
jg 0x6011c6c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
test edx, edx
jg 0x6011c6ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push 0x80070057
call fcn.601040a0
int3