Function at 0x10021b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7c0d
mov eax, dword fs:[0]
push eax
mov eax, 0x11d8
call fcn.10075bc0
mov eax, dword [0x101063e4]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x11dc], ebx
mov dword [ebp - 0x11e4], ebx
mov dword [ebp - 0x11e0], esi
test esi, esi
je 0x10021b94
mov dword [esi], 0
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1002266c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c8], eax
push 0x100d2904
lea ecx, [ebp - 0x11c8]
mov dword [ebp - 4], 0
call fcn.10004090
test al, al
jne 0x10021bde
push 0
push 0x100d2904
lea ecx, [ebp - 0x11c8]
call fcn.100044d0
mov dword [ebp - 4], 1
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10022676
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c4], eax
push str.url0
lea ecx, [ebp - 0x11c4]
mov byte [ebp - 4], 2
call fcn.10004090
test al, al
jne 0x10021c2c
push 4
push str.url0
lea ecx, [ebp - 0x11c4]
call fcn.100044d0
mov byte [ebp - 4], 3
call fcn.1000a590
push 0
lea ecx, [ebp - 0x11c8]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x11c4]
push ecx
lea ecx, [ebp - 0x11a8]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov edx, dword [ebp - 0x11c4]
or edi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021c77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x11c8]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021c98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x11d0], 1
push 0
push eax
call fcn.1009c500
add esp, 0xc
mov dword [ebp - 0x11cc], 0x800
lea eax, [ebp - 0x11cc]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x11d0]
push eax
push str.url0
push str.SOFTWARELudashi
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10021da8
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021d00
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11a8]
call fcn.100044d0
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10022680
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11ac], eax
push str.url0
lea ecx, [ebp - 0x11ac]
mov byte [ebp - 4], 7
call fcn.10004090
test al, al
jne 0x10021d69
push 4
push str.url0
lea ecx, [ebp - 0x11ac]
call fcn.100044d0
mov byte [ebp - 4], 8
call fcn.1000a590
lea ecx, [ebp - 0x11a8]
push ecx
lea ecx, [ebp - 0x11ac]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x11ac]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021da8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x11cc]
mov dword [ebp - 0x11d0], 4
push eax
lea eax, [ebp - 0x11d4]
mov dword [ebp - 0x11d4], 0
push eax
lea eax, [ebp - 0x11d0]
mov dword [ebp - 0x11cc], 0x800
push eax
push str.user_unlock
push str.SOFTWARELudashi
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10021f50
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1002268a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c0], eax
push dword [ebp - 0x11d4]
lea eax, [ebp - 0x11c0]
mov byte [ebp - 4], 9
push 0x100d7da8
push eax
call fcn.100042c0
add esp, 0xc
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10022694
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11ac], eax
push str.user_unlock
lea ecx, [ebp - 0x11ac]
mov byte [ebp - 4], 0xa
call fcn.10004090
test al, al
jne 0x10021e7a
push 0xb
push str.user_unlock
lea ecx, [ebp - 0x11ac]
call fcn.100044d0
mov byte [ebp - 4], 0xb
call fcn.1000a590
lea ecx, [ebp - 0x11c0]
push ecx
lea ecx, [ebp - 0x11ac]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x11ac]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021eb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x11d4], 1
jne 0x10021f2f
mov eax, dword [ebp - 0x11a8]
cmp dword [eax - 0xc], 0
je 0x10021f2f
push 0
push 0x100d2904
lea ecx, [ebp - 0x11a8]
call fcn.100044d0
push str.url0
lea ecx, [ebp - 0x11ac]
call fcn.10003c90
mov byte [ebp - 4], 0xc
call fcn.1000a590
lea ecx, [ebp - 0x11a8]
push ecx
lea ecx, [ebp - 0x11ac]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x11ac]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021f2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x11c0]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021f50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x11a8]
cmp dword [eax - 0xc], 0
jne 0x10021fc2
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1002269e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x100d2904
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.10004090
test al, al
jne 0x10021f97
push 0
push 0x100d2904
mov ecx, ebx
call fcn.100044d0
mov eax, dword [ebp - 0x11a8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x1002264e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1002264e
push 0
push eax
lea ecx, [ebp - 0x1124]
call fcn.10004ae0
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0xf
lea eax, [ecx + 1]
mov byte [ebp - 0x1058], 0
mov dword [ebp - 0x11c0], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022000
sub ecx, dword [ebp - 0x11c0]
push ecx
push edx
lea ecx, [ebp - 0x1058]
call fcn.100056d0
mov eax, dword [ebp - 0x1124]
lea ecx, [ebp - 0x1120]
cmp eax, ecx
je 0x10022033
push eax
call fcn.1009ff2e
add esp, 4
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
push 0x24
push 0x100d7d10
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.100056d0
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.10005000
mov edx, dword [ebp - 0x1014]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0x11
sete al
mov byte [ebp - 0x11b9], al
cmp edx, 0x10
jb 0x100220ef
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100220df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100226a8
push edx
push ecx
call fcn.100757e2
mov al, byte [ebp - 0x11b9]
add esp, 8
test al, al
je 0x10022104
push 0x100d2904
mov ecx, ebx
call fcn.10003c90
jmp 0x10022616
mov dword [ebp - 0x11b8], 0
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 0x11b0], 0
push 1
push 0x100d60fc
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.100056d0
lea eax, [ebp - 0x11b8]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.1004d270
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1028]
call fcn.10003d60
mov ecx, dword [ebp - 0x11b4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x11b8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jae 0x10022268
push 0x100d2904
mov ecx, ebx
call fcn.10003c90
mov esi, dword [ebp - 0x11b8]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10022616
mov ebx, dword [ebp - 0x11b4]
cmp esi, ebx
je 0x10022222
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10022204
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100221fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100226a8
mov eax, edx
push ecx
push eax
call fcn.100757e2
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x100221d1
mov esi, dword [ebp - 0x11b8]
mov ecx, dword [ebp - 0x11b0]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x100225e8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100226ad
jmp 0x100225e8
push dword [ebp - 0x11b8]
lea ecx, [ebp - 0x10a0]
call fcn.10007f90
mov eax, dword [ebp - 0x11b8]
lea ecx, [ebp - 0x1088]
add eax, 0x18
mov byte [ebp - 4], 0x15
push eax
call fcn.10007f90
cmp dword [ebp - 0x1090], 0
mov byte [ebp - 4], 0x16
je 0x10022556
cmp dword [ebp - 0x1078], 0
je 0x10022556
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 0xf
mov byte [ebp - 0x1070], 0
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.10005000
add esp, 0xc
test eax, eax
jne 0x1002241c
push 0x100d2904
mov ecx, ebx
call fcn.10003c90
lea ecx, [ebp - 0x1070]
call fcn.10003d60
lea ecx, [ebp - 0x1088]
call fcn.10003d60
lea ecx, [ebp - 0x10a0]
call fcn.10003d60
mov esi, dword [ebp - 0x11b8]
test esi, esi
je 0x100223f6
mov edi, dword [ebp - 0x11b4]
cmp esi, edi
je 0x10022391
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10022373
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10022369
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100226a8
mov eax, edx
push ecx
push eax
call fcn.100757e2
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x10022340
mov esi, dword [ebp - 0x11b8]
mov ecx, dword [ebp - 0x11b0]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x100223ce
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100226b2
push ecx
push esi
call fcn.100757e2
add esp, 8
mov dword [ebp - 0x11b8], 0
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 0x11b0], 0
lea ecx, [ebp - 0x1040]
call fcn.10003d60
lea ecx, [ebp - 0x1058]
call fcn.10003d60
lea ecx, [ebp - 0x11a8]
call fcn.10003d40
jmp 0x1002264e
cmp dword [ebp - 0x105c], 0x10
lea eax, [ebp - 0x1070]
push 0
cmovae eax, dword [ebp - 0x1070]
lea ecx, [ebp - 0x11a4]
push eax
call fcn.10004a10
push dword [eax]
lea ecx, [ebp - 0x11d8]
mov byte [ebp - 4], 0x18
call fcn.10003c90
mov eax, dword [ebp - 0x11a4]
lea ecx, [ebp - 0x11a0]
mov byte [ebp - 4], 0x1a
cmp eax, ecx
je 0x1002246c
push eax
call fcn.1009ff2e
add esp, 4
test esi, esi
je 0x100224b0
mov ecx, dword [ebp - 0x11b4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11b8]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jb 0x100224b0
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x1002249f
mov eax, dword [eax]
push eax
call fcn.100a4af3
mov ecx, dword [ebp - 0x11e0]
add esp, 4
mov dword [ecx], eax
lea eax, [ebp - 0x11d8]
mov ecx, ebx
push eax
call fcn.100210b0
lea ecx, [ebp - 0x11d8]
call fcn.10003d40
lea ecx, [ebp - 0x1070]
call fcn.10003d60
lea ecx, [ebp - 0x1088]
call fcn.10003d60
lea ecx, [ebp - 0x10a0]
call fcn.10003d60
mov esi, dword [ebp - 0x11b8]
test esi, esi
je 0x100223f6
mov edi, dword [ebp - 0x11b4]
cmp esi, edi
je 0x10022391
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10022539
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1002252f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100226a8
mov eax, edx
push ecx
push eax
call fcn.100757e2
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x10022506
jmp 0x1002238b
push 0x100d2904
mov ecx, ebx
call fcn.10003c90
lea ecx, [ebp - 0x1088]
call fcn.10003d60
lea ecx, [ebp - 0x10a0]
call fcn.10003d60
mov esi, dword [ebp - 0x11b8]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10022616
mov ebx, dword [ebp - 0x11b4]
cmp esi, ebx
je 0x10022222
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x100225cb
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100225c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100226a8
mov eax, edx
push ecx
push eax
call fcn.100757e2
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x10022598
jmp 0x1002221c
push ecx
push esi
call fcn.100757e2
mov ebx, dword [ebp - 0x11dc]
add esp, 8
mov dword [ebp - 0x11b0], 0
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 0x11b8], 0
lea ecx, [ebp - 0x1040]
call fcn.10003d60
lea ecx, [ebp - 0x1058]
call fcn.10003d60
mov edx, dword [ebp - 0x11a8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1002264e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.10075b61
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
int3