Function at 0x100468d0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8933
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
xor ecx, ecx
mov esi, dword [ebp + 0x18]
mov edx, 2
lea eax, [esi + 1]
mov dword [ebp - 0x6c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100d0345
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x1c], eax
push ecx
mov esi, eax
push edi
push esi
call fcn.101a08b0
add esp, 0x10
mov dword [ebp - 0x50], edi
or ebx, 0xffffffff
cmp dword [ebp + 0x14], edi
je 0x100471aa
nop dword [eax + eax]
mov ecx, dword [ebp - 0x24]
call fcn.10048df0
test eax, eax
jne 0x100471aa
mov eax, dword [ebp - 0x6c]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x50]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1004719a
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x14], eax
call fcn.100049d0
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x100469d9
push 0
push 0x101fe8a0
lea ecx, [ebp - 0x3c]
call fcn.10006ab0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x14], eax
call fcn.100049d0
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x10046a28
push 0
push 0x101fe8a0
lea ecx, [ebp - 0x34]
call fcn.10006ab0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], eax
call fcn.100049d0
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x10046a70
push 0
push 0x101fe8a0
lea ecx, [ebp - 0x30]
call fcn.10006ab0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.100049d0
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x10046ab8
push 0
push 0x101fe8a0
lea ecx, [ebp - 0x2c]
call fcn.10006ab0
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x38], 2
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
add edx, 0x11c
cmp dword [edx + 0x14], 8
jb 0x10046aea
mov edx, dword [edx]
test edx, edx
jne 0x10046af2
xor ecx, ecx
jmp 0x10046b10
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10046b00
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10006ab0
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
add edx, 0xdc
cmp dword [edx + 0x14], 8
jb 0x10046b30
mov edx, dword [edx]
test edx, edx
jne 0x10046b38
xor ecx, ecx
jmp 0x10046b50
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10046b40
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10006ab0
push dword [esi + 0x68]
lea eax, [ebp - 0x80]
push eax
call fcn.1000e1c0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [esi]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x10046b81
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x10046b95
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xb
or edi, 1
mov dword [ebp - 0x18], edi
mov eax, dword [esi]
push 1
push 0x101fe63c
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10004210
add esp, 0x14
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x54]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10046be2
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10046bf6
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0xd
or edi, 2
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0x28]
push dword [eax - 0xc]
push eax
push dword [esi - 0xc]
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.10004210
add esp, 0x14
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x58]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x68], eax
test ecx, ecx
je 0x10046c41
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10046c55
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0xf
or edi, 4
push 1
push 0x101fe63c
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x5c]
push dword [esi - 0xc]
push esi
push eax
call fcn.10004210
add esp, 0x14
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x5c]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x7c], eax
test ecx, ecx
je 0x10046ca0
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10046cb4
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x11
or edi, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
test edx, edx
jne 0x10046cd6
xor ecx, ecx
jmp 0x10046cf0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10046ce0
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
push dword [esi - 0xc]
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.10004210
mov eax, dword [ebp - 0x60]
add esp, 0x14
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov dword [ebp - 0x74], edx
lea esi, [eax - 0x10]
cmp esi, edx
je 0x10046d63
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x10], ecx
jl 0x10046d57
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x10046d57
push esi
call fcn.100041a0
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10046d4f
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x78]
add eax, 0x10
mov dword [ebp - 0x3c], eax
jmp 0x10046d63
push dword [eax - 0xc]
lea ecx, [ebp - 0x3c]
push eax
call fcn.10006ab0
and edi, 0xfffffff7
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xf
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10046d81
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
and edi, 0xfffffffb
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x7c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10046da2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and edi, 0xfffffffd
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xb
mov eax, ebx
mov edx, dword [ebp - 0x68]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10046dc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and edi, 0xfffffffe
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x14]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10046de4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10046e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x28
mov edi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x84], edi
mov eax, dword [ebp - 0x4c]
mov dword [edi], eax
lea esi, [edi + 0x10]
mov eax, dword [ebp - 0x48]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x88], esi
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x19
lea esi, [edi + 0x18]
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x14], eax
mov dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1b
lea esi, [edi + 0x1c]
mov dword [ebp - 0x90], esi
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1d
lea esi, [edi + 0x20]
mov dword [ebp - 0x94], esi
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
add esp, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x20
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 9
call dword [eax]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call fcn.100049d0
test eax, eax
je 0x100471e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.10004060
test al, al
jne 0x10046f19
test esi, esi
jne 0x10046ef5
xor eax, eax
jmp 0x10046f0f
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10046f00
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10006ab0
mov byte [ebp - 4], 0x22
xor edx, edx
mov ecx, dword [edi + 0x70]
mov eax, ecx
mov edi, dword [edi + 0x6c]
sub eax, edi
sar eax, 2
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x10046f44
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], edx
setne dl
mov dword [ebp - 0x10], edx
jmp 0x10046fbc
cmp edi, ecx
je 0x10046fbc
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.100041a0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x98], esi
mov byte [ebp - 4], 0x24
push esi
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x10046f96
mov byte [ebp - 4], 0x22
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10046f8c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, dword [ebp - 0x14]
jne 0x10046f48
jmp 0x10046fb9
mov edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0x22
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10046fbc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 9
mov eax, ebx
mov esi, dword [ebp - 0x20]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10046fdd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x100470f4
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x64]
push esi
call fcn.10003660
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
mov ecx, dword [eax + 0x7c]
mov edi, dword [eax + 0x78]
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x14], ecx
sar eax, 2
test eax, eax
je 0x10047090
cmp edi, ecx
je 0x10047066
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.100041a0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 0x2a
push esi
push dword [ebp - 0x64]
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x1004706b
mov byte [ebp - 4], 0x28
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004705b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, dword [ebp - 0x14]
jne 0x10047017
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
jmp 0x10047092
mov edi, 1
mov byte [ebp - 4], 0x28
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004708b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
jmp 0x10047092
xor edi, edi
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100470b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x100470f4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.10003660
mov byte [ebp - 4], 0x2e
push ecx
mov esi, esp
mov dword [ebp - 0x68], esp
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp + 0x28]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x30
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
call fcn.10046620
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x33
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004711c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x32
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x32
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10047144
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x31
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004716c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10047194
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp + 0x14]
jne 0x10046950
push esi
call fcn.100d06c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100471d2
mov ecx, dword [edx]
push edx
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 esp, ebp
pop ebp
ret 0x24
push 0x80004005
call fcn.10004040
int3