Function at 0x10053320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3d36
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x1010f404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
cmp dword [eax + 0x44], 8
lea edi, [eax + 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x364], edi
jb 0x100533b2
mov eax, dword [edi]
mov dword [ebp - 0x364], eax
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10053432
push 0x100
lea eax, [ebp - 0x360]
push 0
push eax
call fcn.100a3d80
mov edx, 0x100
add esp, 0xc
mov ecx, 0x100ddf00
mov dword [ebp - 0x368], edx
nop
movzx eax, word [ecx]
cmp ax, dx
jae 0x100534cd
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x360], 1
cmp ecx, 0x100ddf02
jne 0x100533e0
mov edx, dword [ebp - 0x364]
lea ecx, [edx + esi*2]
mov esi, edx
cmp edx, ecx
jae 0x10053432
movzx eax, word [esi]
cmp ax, word [ebp - 0x368]
jae 0x1005342b
cmp byte [ebp + eax - 0x360], 0
jne 0x100534c4
add esi, 2
cmp esi, ecx
jb 0x10053411
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x100535ad
xor eax, eax
mov dword [ebp - 0x250], 0
cmp dword [edi + 0x10], esi
mov ecx, esi
mov word [ebp - 0x260], ax
mov eax, edi
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x24c], 7
jb 0x1005346e
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.10011730
movups xmm0, xmmword [ebp - 0x260]
xor eax, eax
inc esi
mov word [ebp - 0x260], ax
mov eax, dword [edi + 0x10]
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
cmp eax, esi
jb 0x100537d4
jmp 0x1005352a
sub esi, edx
sar esi, 1
jmp 0x10053435
mov eax, dword [ebp - 0x364]
lea ecx, [eax + esi*2]
mov esi, eax
mov dword [ebp - 0x368], ecx
cmp eax, ecx
jae 0x10053432
nop word [eax + eax]
movzx edx, word [esi]
mov ecx, 1
mov eax, 0x100ddf00
nop dword [eax]
cmp word [eax], dx
je 0x1005351d
add eax, 2
sub ecx, 1
jne 0x10053500
add esi, 2
cmp esi, dword [ebp - 0x368]
jb 0x100534f0
jmp 0x10053432
sub esi, dword [ebp - 0x364]
sar esi, 1
jmp 0x10053435
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x1005353d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x260]
call fcn.10011730
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1005358d
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10053583
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100537d9
push edx
push ecx
call fcn.1007d115
add esp, 8
movups xmm0, xmmword [ebp - 0x260]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x220], xmm0
jmp 0x100535bf
push 0x12
push str.HKEY_LOCAL_MACHINE
lea ecx, [ebp - 0x248]
call fcn.10011730
push str.HKEY_CLASSES_ROOT
lea ecx, [ebp - 0x248]
mov esi, 0x80000002
call fcn.10054230
test al, al
je 0x100535df
mov esi, 0x80000000
jmp 0x1005362f
push str.HKEY_CURRENT_USER
lea ecx, [ebp - 0x248]
call fcn.10054230
test al, al
je 0x100535fa
mov esi, 0x80000001
jmp 0x1005362f
push str.HKEY_USERS
lea ecx, [ebp - 0x248]
call fcn.10054230
test al, al
je 0x10053615
mov esi, 0x80000003
jmp 0x1005362f
push str.HKEY_CURRENT_CONFIG
lea ecx, [ebp - 0x248]
call fcn.10054230
test al, al
mov ecx, 0x80000005
cmovne esi, ecx
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x364]
push ecx
push 0x20219
lea eax, [ebp - 0x230]
mov dword [ebp - 0x364], 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100536e1
mov eax, dword [ebp - 0x36c]
mov esi, dword [ebp - 0x364]
add eax, 0x48
cmp dword [eax + 0x14], 8
jb 0x1005367e
mov eax, dword [eax]
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x368], 0x208
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x36c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100536d6
mov eax, dword [ebp - 0x36c]
cmp eax, 1
je 0x100536bb
cmp eax, 2
jne 0x100536d6
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x10053718
test al, 1
jne 0x100536d6
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x10053721
test esi, esi
je 0x100536e1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x230]
call fcn.10008cf0
lea ecx, [ebp - 0x248]
call fcn.10008cf0
mov eax, dword [ebp - 0x370]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007d494
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x218], ax
mov dword [ebp - 0x370], 1
test esi, esi
je 0x10053736
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10053772
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10053768
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100537de
push edx
push ecx
call fcn.1007d115
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x100536f7
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100537c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100537e3
push edx
push ecx
call fcn.1007d115
add esp, 8
jmp 0x100536f7
call fcn.10011380
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
int3