Function at 0x10021240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153c92
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x101933a0]
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, ecx
mov dword [ebp - 0x474], esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x46c], edi
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x10021ac1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x454], eax
mov eax, 0x1015c9f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x454]
test eax, 0xffff0000
jne 0x10021129
movzx eax, ax
push eax
call fcn.1000b800
jmp 0x10021135
push 0
push 0x1015c9f0
call fcn.1000e410
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
dec eax
mov dword [ebp - 4], 1
cmp eax, 6
ja case.default.0x1002114c
jmp dword [eax*4 + 0x10021af0]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10129ae0
add esp, 0xc
mov dword [ebp - 0x458], 1
lea eax, [ebp - 0x468]
mov dword [ebp - 0x468], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x458]
push eax
push 0x1015dce4
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360se6
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002197c
lea eax, [ebp - 0x474]
push str.ikLIvAeSDiE
push eax
call fcn.1002f7a0
add esp, 8
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 2
call fcn.1000c750
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 1
call fcn.1000ab00
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], 0
push eax
lea eax, [ebp - 0x218]
push 0x1015cc98
push eax
call fcn.10013e70
mov eax, dword [ebp - 0x460]
add esp, 0xc
cmp eax, 7
je 0x10021222
cmp eax, 8
je 0x10021222
jle 0x1002197c
jmp 0x1002189f
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x464]
lea eax, [ebp - 0x470]
push eax
call fcn.100153b0
jmp 0x10021907
push dword [ebp - 0x464]
lea eax, [ebp - 0x458]
mov ecx, esi
push eax
call fcn.10020ab0
mov eax, dword [ebp - 0x458]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x100214bf
call fcn.10047b10
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002135e
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browser_browsermgr.cpp
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.100084b0
push 3
push 0x1015b938
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 4
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.100084b0
mov byte [ebp - 4], 5
call fcn.10047b10
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x143
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10004410
mov esi, eax
push str.browser_filename:
push esi
mov byte [ebp - 4], 6
call fcn.10005620
mov ecx, dword [ebp - 0x458]
mov edx, 0x1015b7d8
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10002fd0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10005c20
lea ecx, [ebp - 0x438]
call fcn.10004da0
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 3
call fcn.10004da0
mov eax, dword [ebp - 0x458]
cmp dword [eax - 0xc], 0
jl 0x1002144e
push 0x1015dd08
push eax
call fcn.10129c3a
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x458]
test esi, esi
je 0x1002144e
sub esi, eax
sar esi, 1
test esi, esi
jle 0x1002144e
cmp esi, dword [eax - 0xc]
jl 0x100213b4
add eax, 0xfffffff0
push eax
call fcn.1000cb70
add esp, 4
add eax, 0x10
mov dword [ebp - 0x460], eax
jmp 0x10021423
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100213c6
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100213d4
call fcn.1000b6b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov edi, dword [ebp - 0x458]
test ecx, ecx
je 0x10021acb
test edi, edi
je 0x10021ad5
mov eax, dword [ecx]
push 2
push esi
call dword [eax]
test eax, eax
je 0x10021adf
add eax, 0x10
mov dword [ebp - 0x460], eax
cmp esi, dword [eax - 8]
jg 0x10021ad5
lea ecx, [esi + esi]
mov dword [eax - 0xc], esi
push ecx
push edi
push ecx
xor edx, edx
push eax
mov word [ecx + eax], dx
call fcn.1000ffd0
add esp, 0x10
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x458]
call fcn.1000c750
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 3
call fcn.1000ab00
mov eax, dword [ebp - 0x458]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x10021ae4
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x1002147c
push esi
lea ecx, [ebp - 0x458]
call fcn.1000b9b0
mov eax, dword [ebp - 0x458]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.10137ba1
mov eax, dword [ebp - 0x458]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x10021ad5
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x458]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x454]
call fcn.1000c750
mov esi, dword [ebp - 0x474]
mov eax, dword [ebp - 0x454]
cmp dword [eax - 0xc], 0
je 0x1002170d
lea ecx, [esi + 0x6c]
mov esi, dword [ecx]
mov edx, esi
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x474], edx
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x1002154f
mov ecx, dword [edi + 0x10]
mov edx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x1002151c
test si, si
je 0x10021518
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1002151c
add ecx, 4
add edx, 4
test si, si
jne 0x100214f6
xor ecx, ecx
jmp 0x10021521
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x10021533
mov edi, dword [edi + 8]
mov esi, dword [ebp - 0x468]
jmp 0x1002153d
mov esi, edi
mov edi, dword [edi]
mov dword [ebp - 0x468], esi
cmp byte [edi + 0xd], 0
je 0x100214f1
mov ecx, dword [ebp - 0x460]
mov edx, dword [ebp - 0x474]
cmp esi, edx
je 0x10021575
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.1001f220
mov ecx, dword [ebp - 0x460]
test al, al
mov eax, dword [ebp - 0x454]
je 0x10021577
mov edx, dword [ecx]
mov esi, edx
cmp dword [ecx], esi
je 0x1002170d
push str.liebao
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100216c6
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10129ae0
add esp, 0xc
mov dword [ebp - 0x460], 1
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x460]
push eax
push str.DisplayVersion
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100216c6
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x420]
push 0x1015cc98
push eax
call fcn.10013e70
add esp, 0xc
cmp dword [ebp - 0x468], 7
jl 0x100216c6
call fcn.10047b10
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100217ff
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browser_browsermgr.cpp
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], al
call fcn.100084b0
push 3
push 0x1015b938
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.100084b0
mov byte [ebp - 4], 0xc
call fcn.10047b10
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x15f
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10004410
mov esi, eax
mov byte [ebp - 4], 0xd
jmp 0x100217b1
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x464]
lea eax, [ebp - 0x478]
push eax
call fcn.100165c0
mov ecx, dword [ebp - 0x46c]
add esp, 0xc
push eax
call fcn.1001c2f0
lea ecx, [ebp - 0x478]
call fcn.10004ce0
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 1
call fcn.1000ab00
jmp case.default.0x1002114c
call fcn.10047b10
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100217ff
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browser_browsermgr.cpp
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], al
call fcn.100084b0
push 3
push 0x1015b938
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 8
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.100084b0
mov byte [ebp - 4], 9
call fcn.10047b10
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x14f
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10004410
mov esi, eax
mov byte [ebp - 4], 0xa
push str.Chrome_WidgetWin_1_skip._browserName:
push esi
call fcn.10005620
mov ecx, dword [ebp - 0x454]
mov eax, 0x1015b7d8
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10002fd0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10005c20
lea ecx, [ebp - 0x450]
call fcn.10004da0
lea ecx, [ebp - 0x438]
call fcn.10004da0
mov edx, dword [ebp - 0x458]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002197c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x459], 0
jmp 0x10021a7b
push 7
push str.firefox
lea ecx, [ebp - 0x454]
call fcn.1000e410
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x464]
lea eax, [ebp - 0x470]
push eax
call fcn.10019530
jmp 0x10021907
push 8
push str.iexplore
lea ecx, [ebp - 0x454]
call fcn.1000e410
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x464]
lea eax, [ebp - 0x470]
push eax
call fcn.1001b4e0
jmp 0x10021907
push 7
push str.liebao7
lea ecx, [ebp - 0x454]
call fcn.1000e410
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x464]
lea eax, [ebp - 0x470]
push eax
call fcn.100165c0
add esp, 0xc
mov ecx, edi
push eax
call fcn.1001c2f0
lea ecx, [ebp - 0x470]
call fcn.10004ce0
jmp case.default.0x1002114c
push 9
push str.qqbrowser
jmp 0x10021894
push 0xd
push str.sogouexplorer
lea ecx, [ebp - 0x454]
call fcn.1000e410
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x464]
lea eax, [ebp - 0x470]
push eax
call fcn.100222c0
mov ecx, dword [eax]
add esp, 0xc
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [edi], ecx
mov esi, dword [edi + 4]
mov dword [edi + 4], edx
test esi, esi
je 0x10021947
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10021947
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10021947
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x46c]
test esi, esi
je case.default.0x1002114c
mov eax, ebx
lock xadd dword [esi + 4], eax
jne case.default.0x1002114c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne case.default.0x1002114c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x454]
cmp dword [eax - 0xc], 0
jne 0x10021988
mov byte [ebp - 0x459], 0
jmp 0x10021a7b
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.1003c740
push dword [eax]
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 0xe
push str.ex1_s
push eax
call fcn.1003c0d0
add esp, 0x14
mov ecx, dword [0x1019caf4]
mov esi, dword [eax]
mov byte [ebp - 4], 0xf
test ecx, ecx
jne 0x10021a1f
push 0x1019303c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1019caf4], 0
jne 0x10021a0e
push 4
call fcn.10060ca4
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x100219fc
mov ecx, eax
call fcn.10048830
mov ecx, eax
jmp 0x100219fe
xor ecx, ecx
mov byte [ebp - 4], 0xf
xchg dword [ebp - 0x46c], eax
mov dword [0x1019caf4], ecx
push 0x1019303c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1019caf4]
push 0
push 0
push 1
push esi
push str.addwnd_succ
push 1
call fcn.10048910
mov edx, dword [ebp - 0x474]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021a53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x468]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021a74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x459], 1
mov eax, dword [ebp - 0x454]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10021a9d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x459]
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.10061045
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.1000b280
push 0x80004005
call fcn.1000b280
push 0x80070057
call fcn.1000b280
call fcn.1000bea0
push 0x80070057
call fcn.1000b280
nop
push ebx
adc dword [edx], eax
adc byte [eax + 0x12], al
add dl, byte [eax]
xor byte [eax], bl
add dl, byte [eax]
pushal
sbb byte [edx], al
adc byte [ebp - 0x2ceffde8], cl
sbb byte [edx], al
adc ah, bl
sbb byte [edx], al
adc ah, cl
int3