Function at 0x1005204c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0e85
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x29c], edi
xor eax, eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x2bc], eax
xor esi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x298], esi
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10083a60
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movq qword [ebp - 0x224], xmm0
add esp, 0xc
mov dword [ebp - 0x288], 0x104
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push eax
push 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x228], 0
push eax
push 0
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, dword [ebp - 0x220]
mov esi, edi
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
inc ecx
sub esi, edx
cmp ecx, esi
jae 0x10051d71
lea eax, [ecx + edx]
mov dword [ebp - 0x220], eax
jmp 0x10051dae
jbe 0x10051dae
mov eax, dword [ebp - 0x21c]
sub eax, edx
cmp ecx, eax
jbe 0x10051d91
push ecx
push ecx
lea ecx, [ebp - 0x224]
lfence
call fcn.100209e0
jmp 0x10051da8
sub ecx, esi
push ecx
push 0
push edi
lea esi, [edi + ecx]
call fcn.10083a60
add esp, 0xc
mov dword [ebp - 0x220], esi
mov edx, dword [ebp - 0x224]
mov edi, dword [ebp - 0x298]
lea eax, [ebp - 0x228]
push eax
push edx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x288], 0x104
push eax
push 0
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x29c]
push edi
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100522ff
xorps xmm0, xmm0
mov dword [ebp - 0x284], eax
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
push dword [ebp - 0x288]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2a4], 7
call fcn.10004420
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x10051ebe
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10051eb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052389
push edx
push ecx
call fcn.1006d8b6
add esp, 8
movups xmm0, xmmword [ebp - 0x2b8]
xor eax, eax
mov word [ebp - 0x2b8], ax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x26c], eax
movups xmmword [ebp - 0x284], xmm0
movq xmm0, qword [ebp - 0x2a8]
movq qword [ebp - 0x274], xmm0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
cmp eax, 0xb
ja case.0x10051f0e.3
jmp dword [eax*4 + 0x10052390]
mov eax, dword [ebp - 0x224]
mov eax, dword [eax]
mov dword [ebp - 0x268], eax
jmp case.0x10051f0e.0
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x260], eax
jmp case.0x10051f0e.0
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
sub ecx, eax
shr ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
call fcn.10004420
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x10051fbf
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10051fb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052389
push edx
push ecx
call fcn.1006d8b6
add esp, 8
movups xmm0, xmmword [ebp - 0x2b8]
xor eax, eax
mov word [ebp - 0x2b8], ax
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [ebp - 0x2a8]
movq qword [ebp - 0x240], xmm0
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
test ecx, ecx
je case.0x10051f0e.0
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 0x250]
mov esi, dword [ebp - 0x250]
cmp edx, 8
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0
jne case.0x10051f0e.0
lea eax, [ecx - 1]
cmp edx, 8
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], eax
cmovae ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp case.0x10051f0e.0
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
sub eax, ecx
shr eax, 1
mov byte [ebp - 4], 3
lea edx, [ebp - 0x294]
mov esi, dword [ebp - 0x2a0]
xorps xmm0, xmm0
push edx
push eax
movq qword [ebp - 0x294], xmm0
or esi, 1
mov dword [ebp - 0x28c], 0
push ecx
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x2bc], esi
call fcn.100537c0
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.10003920
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x238], eax
and esi, 0xfffffffe
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x2a0], esi
mov byte [ebp - 4], 2
call fcn.10003920
jmp case.0x10051f0e.0
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], ecx
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x21c], ecx
mov edi, dword [ebp + 0x2c]
test edi, edi
je 0x10052384
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x284]
push eax
mov ecx, esi
call dword [0x100b42b0]
mov ecx, edi
call esi
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
call fcn.10003920
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x100521d4
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100521ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052389
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov ecx, dword [ebp - 0x25c]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
test ecx, ecx
je 0x10052249
mov edx, dword [ebp - 0x254]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10052221
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052389
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x10052289
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005227f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052389
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov esi, dword [ebp - 0x298]
xor eax, eax
mov edi, dword [ebp - 0x29c]
inc esi
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
mov dword [ebp - 0x298], esi
test ecx, ecx
je 0x10051cc0
mov edx, dword [ebp - 0x21c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100522f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052389
push edx
push ecx
call fcn.1006d8b6
add esp, 8
jmp 0x10051cc0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x10052339
mov edx, dword [ebp - 0x21c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1005232f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052389
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov dword [ebp - 4], 4
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x10052365
mov esi, dword [eax]
lea ecx, [ebp + 8]
cmp eax, ecx
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx edx, al
push edx
call dword [0x100b42b0]
mov ecx, dword [ebp + 0x2c]
call esi
mov eax, edi
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.1006d58e
mov esp, ebp
pop ebp
ret 0x28
call fcn.1006e89d
call fcn.100869bf
nop
bound esp, qword [ecx]
add eax, 85935120
adc byte [edi + ebx + 5], al
adc byte [edx], bl
and dword [0x51f1510], eax
adc byte [edx], bl
and dword [0x5211a10], eax
adc byte [eax + 5], cl
adc byte [edx], bl
and dword [0x5211a10], eax
adc byte [edx], bl
and dword [0x51f2810], eax
adc byte [esi - 0x75], dl
int1
lea ecx, [esi + 0x4c]
call fcn.10003920
mov ecx, dword [esi + 0x48]
cmp ecx, 8
jb 0x10052405
mov eax, dword [esi + 0x34]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100523fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100524a8
mov eax, edx
push ecx
push eax
call fcn.1006d8b6
add esp, 8
xor eax, eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1005245e
mov ecx, dword [esi + 0x30]
sub ecx, eax
cmp ecx, 0x1000
jb 0x1005243f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100524a8
mov eax, edx
push ecx
push eax
call fcn.1006d8b6
mov dword [esi + 0x28], 0
add esp, 8
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x10052493
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10052489
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100524a8
mov eax, edx
push ecx
push eax
call fcn.1006d8b6
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
pop esi
ret
call fcn.100869bf
int3