Function at 0x6011c190
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x60149838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6015b6f8]
push ebx
push esi
push edi
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov edx, dword [0x6015b6f8]
xor ebx, ebx
mov ecx, 0x6015b6f8
mov dword [esp + 0x24], ebx
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
mov byte [esp + 0x30], 1
call fcn.6011be20
cmp eax, ebx
jge 0x6011c251
lea eax, [esi - 0x10]
mov byte [esp + 0x24], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x6011c215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c23b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
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 ebp
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push ebp
push ecx
mov byte [esp + 0x3c], 2
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x6011c2ed
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov edx, dword [esp + 0x34]
mov dword [edx], ebx
je 0x6011c293
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c2b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c2d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
call fcn.6011bf80
cmp eax, ebx
jge 0x6011c334
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c328
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x6011c3db
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push 0x20019
push ebp
push eax
lea ecx, [esp + 0x24]
call fcn.60108dc0
test eax, eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jne 0x6011c3af
push ebx
push ebx
lea ecx, [esp + 0x38]
push ecx
push ebx
push edi
push esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6011c3af
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
mov dword [edx], 1
call fcn.60109020
lea ecx, [esp + 0x14]
call fcn.601042d0
lea ecx, [esp + 0x10]
call fcn.601042d0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
cmp esi, ebx
je 0x6011c3ba
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c3d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011c3fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8