Function at 0x10024080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf5fd
mov eax, dword fs:[0]
push eax
mov eax, 0x11d8
call fcn.1007d4f0
mov eax, dword [0x1010f404]
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 0x100240d4
mov dword [esi], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10024bac
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c8], eax
push 0x100da924
lea ecx, [ebp - 0x11c8]
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x1002411e
push 0
push 0x100da924
lea ecx, [ebp - 0x11c8]
call fcn.100045a0
mov dword [ebp - 4], 1
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10024bb6
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.10004160
test al, al
jne 0x1002416c
push 4
push str.url0
lea ecx, [ebp - 0x11c4]
call fcn.100045a0
mov byte [ebp - 4], 3
call fcn.1000ab10
push 0
lea ecx, [ebp - 0x11c8]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x11c4]
push ecx
lea ecx, [ebp - 0x11ac]
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 0x100241b7
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 0x100241d8
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.100a3d80
add esp, 0xc
mov dword [ebp - 0x11cc], 0x800
lea eax, [ebp - 0x11cc]
lea ecx, [ebp - 0x11a5]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x11d0]
push eax
push str.url0
call fcn.100237b0
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100242ec
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024244
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11ac]
call fcn.100045a0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10024bc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11b0], eax
push str.url0
lea ecx, [ebp - 0x11b0]
mov byte [ebp - 4], 7
call fcn.10004160
test al, al
jne 0x100242ad
push 4
push str.url0
lea ecx, [ebp - 0x11b0]
call fcn.100045a0
mov byte [ebp - 4], 8
call fcn.1000ab10
lea ecx, [ebp - 0x11ac]
push ecx
lea ecx, [ebp - 0x11b0]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x11b0]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100242ec
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
lea ecx, [ebp - 0x11a5]
call fcn.10023b30
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002449b
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10024bca
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 0x100dfa64
push eax
call fcn.10004390
add esp, 0xc
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10024bd4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11b0], eax
push str.user_unlock
lea ecx, [ebp - 0x11b0]
mov byte [ebp - 4], 0xa
call fcn.10004160
test al, al
jne 0x100243c5
push 0xb
push str.user_unlock
lea ecx, [ebp - 0x11b0]
call fcn.100045a0
mov byte [ebp - 4], 0xb
call fcn.1000ab10
lea ecx, [ebp - 0x11c0]
push ecx
lea ecx, [ebp - 0x11b0]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x11b0]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024404
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x11d4], 1
jne 0x1002447a
mov eax, dword [ebp - 0x11ac]
cmp dword [eax - 0xc], 0
je 0x1002447a
push 0
push 0x100da924
lea ecx, [ebp - 0x11ac]
call fcn.100045a0
push str.url0
lea ecx, [ebp - 0x11b0]
call fcn.10003d60
mov byte [ebp - 4], 0xc
call fcn.1000ab10
lea ecx, [ebp - 0x11ac]
push ecx
lea ecx, [ebp - 0x11b0]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x11b0]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002447a
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 0x1002449b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x11ac]
cmp dword [eax - 0xc], 0
jne 0x1002450d
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10024bde
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x100da924
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.10004160
test al, al
jne 0x100244e2
push 0
push 0x100da924
mov ecx, ebx
call fcn.100045a0
mov eax, dword [ebp - 0x11ac]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x10024b8e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10024b8e
push 0
push eax
lea ecx, [ebp - 0x1124]
call fcn.10004bb0
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024547
sub ecx, dword [ebp - 0x11c0]
push ecx
push edx
lea ecx, [ebp - 0x1058]
call fcn.100057a0
mov eax, dword [ebp - 0x1124]
lea ecx, [ebp - 0x1120]
cmp eax, ecx
je 0x1002457a
push eax
call fcn.100a77ae
add esp, 4
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
push 0x24
push 0x100df9f0
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.100057a0
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.100050d0
mov edx, dword [ebp - 0x1014]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0x11
sete al
mov byte [ebp - 0x11a5], al
cmp edx, 0x10
jb 0x10024636
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024be8
push edx
push ecx
call fcn.1007d115
mov al, byte [ebp - 0x11a5]
add esp, 8
test al, al
je 0x1002464b
push 0x100da924
mov ecx, ebx
call fcn.10003d60
jmp 0x10024b56
mov dword [ebp - 0x11bc], 0
mov dword [ebp - 0x11b8], 0
mov dword [ebp - 0x11b4], 0
push 1
push 0x100de11c
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.100057a0
lea eax, [ebp - 0x11bc]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.10053a70
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1028]
call fcn.10003e30
mov ecx, dword [ebp - 0x11b8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x11bc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jae 0x100247af
push 0x100da924
mov ecx, ebx
call fcn.10003d60
mov esi, dword [ebp - 0x11bc]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10024b56
mov ebx, dword [ebp - 0x11b8]
cmp esi, ebx
je 0x10024769
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1002474b
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10024741
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024be8
mov eax, edx
push ecx
push eax
call fcn.1007d115
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x10024718
mov esi, dword [ebp - 0x11bc]
mov ecx, dword [ebp - 0x11b4]
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 0x10024b28
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024bed
jmp 0x10024b28
push dword [ebp - 0x11bc]
lea ecx, [ebp - 0x10a0]
call fcn.10008060
mov eax, dword [ebp - 0x11bc]
lea ecx, [ebp - 0x1088]
add eax, 0x18
mov byte [ebp - 4], 0x15
push eax
call fcn.10008060
cmp dword [ebp - 0x1090], 0
mov byte [ebp - 4], 0x16
je 0x10024a96
cmp dword [ebp - 0x1078], 0
je 0x10024a96
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.100050d0
add esp, 0xc
test eax, eax
jne 0x1002495c
push 0x100da924
mov ecx, ebx
call fcn.10003d60
lea ecx, [ebp - 0x1070]
call fcn.10003e30
lea ecx, [ebp - 0x1088]
call fcn.10003e30
lea ecx, [ebp - 0x10a0]
call fcn.10003e30
mov esi, dword [ebp - 0x11bc]
test esi, esi
je 0x10024936
mov edi, dword [ebp - 0x11b8]
cmp esi, edi
je 0x100248d1
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x100248b3
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100248a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024be8
mov eax, edx
push ecx
push eax
call fcn.1007d115
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x10024880
mov esi, dword [ebp - 0x11bc]
mov ecx, dword [ebp - 0x11b4]
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 0x1002490e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024bf2
push ecx
push esi
call fcn.1007d115
add esp, 8
mov dword [ebp - 0x11bc], 0
mov dword [ebp - 0x11b8], 0
mov dword [ebp - 0x11b4], 0
lea ecx, [ebp - 0x1040]
call fcn.10003e30
lea ecx, [ebp - 0x1058]
call fcn.10003e30
lea ecx, [ebp - 0x11ac]
call fcn.10003e10
jmp 0x10024b8e
cmp dword [ebp - 0x105c], 0x10
lea eax, [ebp - 0x1070]
push 0
cmovae eax, dword [ebp - 0x1070]
lea ecx, [ebp - 0x11a4]
push eax
call fcn.10004ae0
push dword [eax]
lea ecx, [ebp - 0x11d8]
mov byte [ebp - 4], 0x18
call fcn.10003d60
mov eax, dword [ebp - 0x11a4]
lea ecx, [ebp - 0x11a0]
mov byte [ebp - 4], 0x1a
cmp eax, ecx
je 0x100249ac
push eax
call fcn.100a77ae
add esp, 4
test esi, esi
je 0x100249f0
mov ecx, dword [ebp - 0x11b8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11bc]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jb 0x100249f0
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x100249df
mov eax, dword [eax]
push eax
call fcn.100ac373
mov ecx, dword [ebp - 0x11e0]
add esp, 4
mov dword [ecx], eax
lea eax, [ebp - 0x11d8]
mov ecx, ebx
push eax
call fcn.10023030
lea ecx, [ebp - 0x11d8]
call fcn.10003e10
lea ecx, [ebp - 0x1070]
call fcn.10003e30
lea ecx, [ebp - 0x1088]
call fcn.10003e30
lea ecx, [ebp - 0x10a0]
call fcn.10003e30
mov esi, dword [ebp - 0x11bc]
test esi, esi
je 0x10024936
mov edi, dword [ebp - 0x11b8]
cmp esi, edi
je 0x100248d1
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10024a79
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10024a6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024be8
mov eax, edx
push ecx
push eax
call fcn.1007d115
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x10024a46
jmp 0x100248cb
push 0x100da924
mov ecx, ebx
call fcn.10003d60
lea ecx, [ebp - 0x1088]
call fcn.10003e30
lea ecx, [ebp - 0x10a0]
call fcn.10003e30
mov esi, dword [ebp - 0x11bc]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10024b56
mov ebx, dword [ebp - 0x11b8]
cmp esi, ebx
je 0x10024769
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10024b0b
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10024b01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024be8
mov eax, edx
push ecx
push eax
call fcn.1007d115
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x10024ad8
jmp 0x10024763
push ecx
push esi
call fcn.1007d115
mov ebx, dword [ebp - 0x11dc]
add esp, 8
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 0x11b8], 0
mov dword [ebp - 0x11bc], 0
lea ecx, [ebp - 0x1040]
call fcn.10003e30
lea ecx, [ebp - 0x1058]
call fcn.10003e30
mov edx, dword [ebp - 0x11ac]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10024b8e
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.1007d494
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
int3