Function at 0x100d59d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbc6f
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1010eeb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], 0
push 0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x18]
movups xmmword [ecx], xmm0
push 0x100fddd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa8], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100cb750
mov edi, 0x100fddd0
mov dword [ebp - 4], 0
test esi, esi
mov dword [ebp - 0xa4], 1
mov edx, edi
mov byte [ebp - 0x89], 0
cmovne edx, esi
mov dword [ebp - 0x94], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d5aa3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100cb750
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100cf2b0
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x100d5b05
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5afb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5e78
push ecx
push edx
call fcn.100dde0b
add esp, 8
mov eax, dword [ebp - 0x9c]
xorps xmm0, xmm0
test eax, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
cmovne edi, eax
mov dword [ebp - 0x14], 0
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d5b30
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.100cb750
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100cf2b0
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x100d5b8f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5b85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5e78
push ecx
push edx
call fcn.100dde0b
add esp, 8
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x94]
push ecx
push 0x20019
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push 0
push eax
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d5daf
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100d5d9b
mov ecx, dword [ebp - 0x90]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
add ecx, 2
je 0x100d5c2b
lea eax, [ebp - 0x9d]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100aa360
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 8
cmp esi, edi
jne 0x100d5c37
xor ecx, ecx
jmp 0x100d5c43
mov eax, edi
sub eax, esi
je 0x100d5e69
mov ecx, esi
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x90]
push edx
push ecx
push 0
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100d5d53
cmp esi, edi
jne 0x100d5c77
xor ecx, ecx
jmp 0x100d5c83
mov eax, edi
sub eax, esi
je 0x100d5e69
mov ecx, esi
mov eax, dword [ebp - 0x90]
xor edx, edx
shr eax, 1
mov word [ecx + eax*2], dx
cmp esi, edi
jne 0x100d5c99
xor eax, eax
jmp 0x100d5ca3
sub edi, esi
je 0x100d5e69
mov eax, esi
test eax, eax
mov dword [ebp - 0x48], 0
mov edx, 0x101012a4
mov dword [ebp - 0x44], 0
cmovne edx, eax
xorps xmm0, xmm0
mov ecx, edx
movups xmmword [ebp - 0x58], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d5cc7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.100cb7f0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100d7580
mov edi, dword [ebp - 0x98]
add esp, 8
mov ecx, edi
push eax
call fcn.100cca20
lea ecx, [ebp - 0x88]
call fcn.100a8680
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x100d5d4a
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5d40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5e6e
push ecx
push edx
call fcn.100dde0b
add esp, 8
mov byte [ebp - 0x89], 1
jmp 0x100d5d59
mov edi, dword [ebp - 0x98]
test esi, esi
je 0x100d5da1
mov ecx, dword [ebp - 0x9c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x100d5d83
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5e73
push ecx
push esi
call fcn.100dde0b
add esp, 8
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100d5db5
mov edi, dword [ebp - 0x98]
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100d5db5
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x100d5dc8
movzx eax, byte [ebp - 0x89]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x100d5e02
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5df8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5e78
push ecx
push edx
call fcn.100dde0b
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x100d5e4c
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5e42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5e78
push ecx
push edx
call fcn.100dde0b
add esp, 8
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.100de133
mov esp, ebp
pop ebp
ret
call fcn.100d9290
call fcn.100e246f
call fcn.100e246f
call fcn.100e246f
int3