Function at 0x10033360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101243fc
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10167c60]
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 ebx, ecx
lea ecx, [ebp - 0x21d]
call fcn.10032c40
push eax
call fcn.10061520
mov byte [ebp - 0x21d], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 0
push eax
call fcn.10085d82
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x21d]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push 0x1002e3b0
push 0x1016dc14
call fcn.1008615f
add esp, 0x14
test eax, eax
je 0x100336a4
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 2
push eax
call fcn.10085dbc
mov ecx, dword [0x1016dc10]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.10073090
mov dword [ebp - 0x238], eax
test eax, eax
je 0x10033446
push 0
push 0
push 1
push 0
push str.sensitive_user
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
mov byte [ebp - 0x21d], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 5
push eax
call fcn.10085d82
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x21d]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x24c]
push eax
push 0x1002e2e0
push 0x1016dc08
call fcn.1008615f
add esp, 0x10
test eax, eax
je 0x10033687
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 7
push eax
call fcn.10085dbc
mov ecx, dword [0x1016dc04]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.1003ded0
mov esi, eax
test esi, esi
je 0x1003366b
push 0
push 0
push 1
push 0
push str.query_reset
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
push dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push esi
mov dword [ebp - 0x230], 0
call fcn.1002e480
mov eax, dword [ebp - 0x234]
or edi, 0xffffffff
mov dword [ebx + 8], eax
mov esi, dword [ebx + 0xc]
mov eax, dword [ebp - 0x230]
mov dword [ebx + 0xc], eax
test esi, esi
je 0x1003354c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1003354c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1003354c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 8]
push ebx
mov eax, dword [ecx]
call dword [eax]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
mov dword [ebp - 0x240], 0x104
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], 1
lea ecx, [ebp - 0x21d]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x244]
push eax
push 0x1013205c
call fcn.10032980
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100336bd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0xa
push eax
call fcn.1002fe60
mov ecx, eax
call fcn.10021a20
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.1002fe60
mov ecx, eax
call fcn.10021c20
push eax
push dword [esi]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x238]
push eax
call fcn.10032d20
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100086f0
mov edx, dword [ebp - 0x224]
add esp, 0x18
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003363e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 0x230]
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1003366b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.100c495f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 8
push eax
call fcn.10085ddd
add esp, 4
mov byte [ebp - 4], 6
test al, al
je 0x100336dd
jmp 0x100336c7
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 3
push eax
call fcn.10085ddd
add esp, 4
mov byte [ebp - 4], 1
jmp 0x1003369e
push 0x80004005
call fcn.10008520
sub esp, 8
lea eax, [ebp - 0x22c]
mov ecx, esp
push eax
call fcn.1000c170
call fcn.1000cb30
call fcn.10086177
int3