Function at 0x111a5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1145d6c
mov eax, dword fs:[0]
push eax
mov eax, 0x8078
call fcn.010840f0
mov eax, dword [0x115f604]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x8074], eax
mov dword [ebp - 0x8080], ecx
mov dword [ebp - 0x807c], edx
mov dword [ebp - 0x8064], ebx
lea eax, [ebp - 0x806c]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x8084], ebx
mov dword [ebp - 0x8070], ebx
call fcn.0112deb0
mov edx, dword [0x11608ec]
mov eax, dword [eax]
lea ecx, [ebp - 0x8060]
push ecx
push 0x20019
push ebx
push edx
push eax
mov dword [ebp - 0x8060], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x111a657
mov ecx, dword [ebp - 0x8060]
xor eax, eax
mov dword [ebp - 0x8064], ecx
cmp eax, ebx
mov eax, dword [ebp - 0x806c]
setne byte [ebp - 0x8059]
cmp eax, ebx
je 0x111a66f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x8059], bl
jne 0x111aa9c
mov ecx, dword [ebp - 0x8064]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x8070]
push edx
push ebx
push ebx
lea eax, [ebp - 0x8084]
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x111aa9c
cmp dword [ebp - 0x8070], ebx
mov dword [ebp - 0x8060], ebx
jbe 0x111aa9c
lea esp, [esp]
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov esi, 0x1161d94
mov ecx, esi
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x8078], edi
lea ecx, [ebp - 0x8048]
lea edx, [ebp - 0x8058]
mov dword [ebp - 0x8050], ecx
mov ecx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x8058], 0x1023690
mov dword [ebp - 0x8054], esi
mov dword [ebp - 0x803c], 0xffffffff
mov dword [ebp - 0x8044], ebx
mov dword [ebp - 0x8040], 0x2001
mov dword [ebp - 0x8048], edx
mov word [ebp - 0x8038], bx
call dword [0x102369c]
add eax, 0x10
mov dword [ebp - 0x804c], eax
mov dword [ebp - 0x8058], 0x10636a0
lea eax, [ebp - 0x4024]
lea ecx, [ebp - 0x4034]
mov byte [ebp - 4], 2
mov dword [ebp - 0x806c], 0x2000
mov dword [ebp - 0x4034], 0x1023690
mov dword [ebp - 0x4030], esi
mov dword [ebp - 0x402c], eax
mov dword [ebp - 0x4018], 0xffffffff
mov dword [ebp - 0x4020], ebx
mov dword [ebp - 0x401c], 0x2001
mov dword [ebp - 0x4024], ecx
mov word [ebp - 0x4014], bx
call dword [0x102369c]
add eax, 0x10
mov esi, 0x10636a0
mov dword [ebp - 0x4028], eax
mov dword [ebp - 0x4034], esi
mov eax, dword [ebp - 0x804c]
cmp dword [eax - 4], 1
mov byte [ebp - 4], 3
mov dword [ebp - 0x8068], 0x2000
jle 0x111a7e3
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x804c]
call fcn.01073680
mov eax, dword [ebp - 0x804c]
mov edx, dword [ebp - 0x8060]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x806c]
push ecx
push eax
mov eax, dword [ebp - 0x8064]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x111a9fb
cmp eax, ebx
jne 0x111a9fb
mov ecx, dword [ebp - 0x804c]
push 0x10636d8
push ecx
call fcn.01128fcd
add esp, 8
test eax, eax
jne 0x111a85c
lea ecx, [ebp - 0x4034]
call fcn.0111a480
lea ecx, [ebp - 0x8058]
call fcn.0111a480
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x111a9cf
mov eax, dword [ebp - 0x4028]
cmp dword [eax - 4], 1
jle 0x111a87d
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x4028]
call fcn.01073680
mov eax, dword [ebp - 0x4028]
lea edx, [ebp - 0x8068]
push edx
push eax
mov eax, dword [ebp - 0x804c]
push eax
lea ecx, [ebp - 0x8064]
call fcn.01071dd0
mov esi, dword [ebp - 0x4028]
cmp esi, ebx
mov dword [ebp - 0x8068], eax
jne 0x111a8ab
xor ecx, ecx
jmp 0x111a8c5
mov ecx, esi
lea eax, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x111a8b0
sub ecx, eax
sar ecx, 1
js 0x111aacb
cmp ecx, dword [esi - 8]
jg 0x111aacb
cmp dword [ebp - 0x8068], ebx
mov dword [esi - 0xc], ecx
mov edx, dword [ebp - 0x4028]
mov word [edx + ecx*2], bx
jne 0x111a9a6
mov eax, dword [ebp - 0x4028]
cmp dword [eax - 0xc], ebx
je 0x111a9a6
lea ecx, [ebp - 0x4028]
call fcn.0109d5e0
push 0x100356c
push 0x10636b8
lea ecx, [ebp - 0x4028]
call fcn.0109d3b0
mov ecx, dword [ebp - 0x804c]
push 0x100fa60
push ecx
call fcn.01128fcd
add esp, 8
test eax, eax
jne 0x111a942
mov ecx, dword [ebp - 0x8080]
lea edx, [ebp - 0x4028]
push edx
call fcn.0109dbc0
jmp 0x111a980
mov eax, dword [ebp - 0x804c]
push 0x100fa70
push eax
call fcn.01128fcd
add esp, 8
test eax, eax
jne 0x111a96e
lea ecx, [ebp - 0x4028]
push ecx
mov ecx, dword [ebp - 0x807c]
call fcn.0109dbc0
jmp 0x111a980
mov edx, dword [ebp - 0x4028]
mov ecx, dword [ebp - 0x8074]
push edx
call fcn.010a3bb0
lea ecx, [ebp - 0x4034]
call fcn.0111a480
lea ecx, [ebp - 0x8058]
call fcn.0111a480
lea ecx, [ebp - 0x8078]
mov byte [ebp - 4], bl
call fcn.0111cdb0
jmp 0x111a9db
lea ecx, [ebp - 0x4034]
call fcn.0111a480
lea ecx, [ebp - 0x8058]
call fcn.0111a480
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111a9db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x8060]
add eax, 1
cmp eax, dword [ebp - 0x8070]
mov dword [ebp - 0x8060], eax
jb 0x111a6c0
jmp 0x111aa9c
lea ecx, [ebp - 0x4028]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4034], esi
call fcn.01074570
mov eax, dword [ebp - 0x4028]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111aa32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x804c]
mov dword [ebp - 0x4034], 0x1023690
mov byte [ebp - 4], 1
mov dword [ebp - 0x8058], esi
call fcn.01074570
mov eax, dword [ebp - 0x804c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111aa73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 0x8058], 0x1023690
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111aa9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x8064]
cmp eax, ebx
je 0x111aaad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.010840d6
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.01071710
int3