Function at 0x6011d360
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x601499b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x6015b6f8]
push ebp
push esi
push edi
mov ecx, 0x6015b6f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor ebp, ebp
mov dword [esp + 0x234], ebp
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x23c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
mov byte [esp + 0x240], 1
call fcn.6011be20
mov esi, eax
cmp esi, ebp
jge 0x6011d3d0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
jmp 0x6011d53a
mov esi, dword [esp + 0x240]
mov eax, dword [esi]
cmp dword [eax - 0xc], ebp
jne 0x6011d3e6
push edi
mov ecx, esi
call fcn.60104570
lea ecx, [esi + 4]
call fcn.6011b800
lea ecx, [esi + 0x14]
call fcn.6011d200
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebp
push edi
push edx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x6011d52c
mov edi, dword [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [esp + 0x20]
push eax
push ebp
lea ecx, [esp + 0x2c]
push ecx
push ebp
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push ebp
push edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0x104
call ebx
test eax, eax
je 0x6011d570
cmp eax, 0x103
jne 0x6011d63d
push 0x104
lea eax, [esp + 0x130]
push eax
xor ebp, ebp
push ebp
push edi
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x6011d500
jmp 0x6011d490
mov ebx, dword [esp + 0x244]
mov esi, dword [ebx + 0x18]
add ebx, 0x14
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, ebx
call fcn.6011d120
cmp esi, dword [ebx + 4]
jae 0x6011d7b6
mov eax, dword [ebx]
lea edx, [esi + esi*8]
lea ecx, [eax + edx*4]
lea eax, [esp + 0x12c]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6011d4c5
sub eax, esi
push eax
lea edx, [esp + 0x130]
push edx
call fcn.60104370
push 0x104
lea eax, [esp + 0x130]
push eax
inc ebp
push ebp
push edi
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
je 0x6011d490
cmp esi, 0x103
lea ecx, [esp + 0x18]
je 0x6011d683
call fcn.60109020
lea ecx, [esp + 0x10]
call fcn.601042d0
push esi
call fcn.6011aed0
add esp, 4
jmp 0x6011d79b
push eax
call fcn.6011aed0
mov esi, eax
add esp, 4
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011d55c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
jmp 0x6011d79c
mov esi, dword [esp + 0x244]
lea ebx, [ebx]
lea eax, [esi + 4]
mov esi, dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, dword [esp + 0x24c]
add ecx, 4
call fcn.6011b5e0
mov eax, dword [esp + 0x244]
mov ecx, dword [eax + 8]
add eax, 4
cmp esi, ecx
jae 0x6011d7b6
mov ecx, dword [eax]
shl esi, 4
lea eax, [esp + 0x28]
add esi, ecx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6011d5b0
sub eax, edx
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.60104370
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x6011d5e5
push eax
lea ecx, [esi + 8]
call fcn.6011aef0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x18], 0x104
mov esi, dword [esi + 8]
push esi
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebp
push edi
call ebx
test eax, eax
jne 0x6011d63d
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
inc ebp
push ebp
push edi
mov dword [esp + 0x34], 0x104
call ebx
test eax, eax
je 0x6011d563
jmp 0x6011d456
push eax
call fcn.6011aed0
add esp, 4
test edi, edi
mov esi, eax
je 0x6011d653
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011d67c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
jmp 0x6011d79b
call fcn.60108da0
mov ebx, dword [esp + 0x248]
test bl, bl
je 0x6011d761
mov ebp, dword [esp + 0x244]
mov eax, dword [ebp + 0x18]
xor edi, edi
test eax, eax
jbe 0x6011d761
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x240]
push ecx
lea ecx, [esp + 0x20]
call fcn.601045b0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
mov byte [esp + 0x238], 2
jl 0x6011d7b6
cmp eax, ecx
jg 0x6011d7b6
cmp byte [eax + edx], 0x5c
je 0x6011d6f4
push 0x5c
lea ecx, [esp + 0x20]
call fcn.6010a1e0
cmp edi, dword [ebp + 0x18]
jae 0x6011d7b6
mov eax, dword [ebp + 0x14]
add eax, esi
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.601044e0
cmp edi, dword [ebp + 0x18]
jae 0x6011d7b6
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
push ebx
add eax, esi
push eax
push edx
call fcn.6011d360
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x238], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011d752
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x18]
inc edi
add esi, 0x24
cmp edi, eax
jb 0x6011d6b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6011d770
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6011d799
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x22c
ret 0xc
push 0x80070057
call fcn.601040a0
int3