Function at 0x100206c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15f0
call fcn.100201c0
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10020b4b
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x20
jb 0x10020b4a
push esi
push 0x400
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x14f0], 1
push 0
push eax
mov dword [ebp - 0x14ec], 0x400
call fcn.10023f50
add esp, 0xc
lea eax, [ebp - 0x14ec]
push eax
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x14f0]
push eax
push 0x10047cd8
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1002083b
lea ecx, [ebp - 0x4e8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020756
sub ecx, edx
cmp ecx, 0x40
jne 0x1002083b
lea edx, [ecx + 0x40]
lea ecx, [ebp - 0x84]
lea esi, [ebp - 0x4e8]
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
lea eax, [edx - 0x60]
test eax, eax
je 0x10020796
mov al, byte [ecx + esi]
test al, al
je 0x10020796
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10020780
test edx, edx
lea eax, [ecx - 1]
lea esi, [ebp - 0x4c8]
mov edx, 0x80
cmovne eax, ecx
lea ecx, [ebp - 0x1570]
mov byte [eax], 0
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x100207cf
mov al, byte [ecx + esi]
test al, al
je 0x100207cf
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x100207b6
test edx, edx
lea eax, [ecx - 1]
push 0x400
cmovne eax, ecx
push 0
mov byte [eax], 0
lea eax, [ebp - 0x4e8]
push eax
call fcn.10023f50
push 0x400
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10020ea0
add esp, 0x18
lea eax, [ebp - 0x1570]
push eax
lea eax, [ebp - 0x4e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1002083b
lea eax, [ebp - 0x84]
push eax
push ebx
push edi
call fcn.10001330
neg eax
sbb eax, eax
add eax, 1
jne 0x10020b49
push 0x1000
lea eax, [ebp - 0x14e8]
push 0
push eax
call fcn.10023f50
add esp, 0xc
push 0x10057fc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x100581f0], 0
lea eax, [ebp - 0x14e8]
je 0x1002089b
mov esi, 0x100581f0
mov edx, 0x1000
mov ecx, eax
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffeffe]
test eax, eax
je 0x100208d9
mov al, byte [ecx + esi]
test al, al
je 0x100208d9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10020880
jmp 0x100208d9
push 0x1000
push eax
call fcn.10021be0
add esp, 8
test eax, eax
je 0x100208e4
mov ecx, 0x100581f0
lea esi, [ebp - 0x14e8]
mov edx, 0x80
sub esi, ecx
nop
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x100208d9
mov al, byte [esi + ecx]
test al, al
je 0x100208d9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x100208c0
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x10057fc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0xe8]
push 0x64
push eax
call fcn.10021100
add esp, 8
test eax, eax
jne 0x10020943
lea eax, [ebp - 0xe8]
push 0x64
push eax
call fcn.10021310
add esp, 8
test eax, eax
jne 0x10020943
lea eax, [ebp - 0xe8]
push 0x64
push eax
call fcn.10021800
add esp, 8
test eax, eax
jne 0x10020943
lea eax, [ebp - 0xe8]
push 0x64
push eax
call fcn.10021590
add esp, 8
test eax, eax
je 0x1002098f
lea ecx, [ebp - 0xe8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020950
sub ecx, edx
je 0x10020977
nop dword [eax + eax]
dec ecx
cmp byte [ebp + ecx - 0xe8], 0x20
jne 0x10020977
mov byte [ebp + ecx - 0xe8], 0
test ecx, ecx
jne 0x10020960
lea eax, [ebp - 0xe8]
push eax
push 0x1000
lea eax, [ebp - 0x14e8]
push eax
call fcn.10001370
lea eax, [ebp - 0xe8]
push 0x64
push eax
call fcn.10020b60
add esp, 8
test eax, eax
jne 0x10020ac5
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10023f50
lea eax, [ebp - 0x15f0]
mov byte [ebp - 0x44], 0x37
mov dword [ebp - 0x40], eax
mov eax, 0x100
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x44]
push eax
call fcn.10021000
add esp, 0x10
test al, al
jne 0x10020add
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.10023f50
mov bl, byte [ebp - 0x15ef]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 0x44], 0x32
mov byte [ebp - 0x14], bl
call fcn.10021000
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.10023f50
lea ecx, [ebp - 0x3a]
mov byte [ebp - 0x44], 0x33
mov esi, 0x10047c9c
mov byte [ebp - 0x14], bl
mov eax, ecx
add esp, 0x1c
mov edx, 0x10
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffffee]
test eax, eax
je 0x10020a49
mov al, byte [esi + ecx]
test al, al
je 0x10020a49
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10020a30
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
mov eax, 0x258
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x40], 0x10057d70
call fcn.10021000
add esp, 4
test al, al
jne 0x10020add
movzx eax, byte [0x10057d75]
push eax
movzx eax, byte [0x10057d74]
push eax
movzx eax, byte [0x10057d73]
push eax
movzx eax, byte [0x10057d72]
push eax
movzx eax, byte [0x10057d71]
push eax
movzx eax, byte [0x10057d70]
push eax
push str._02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0xe8]
push 0x64
push eax
call fcn.10021b60
xor ecx, ecx
add esp, 0x24
test eax, eax
setns cl
test ecx, ecx
je 0x10020add
lea eax, [ebp - 0xe8]
push eax
push 0x1000
lea eax, [ebp - 0x14e8]
push eax
call fcn.10001370
xor esi, esi
cmp byte [ebp - 0x14e8], 0
jne 0x10020b29
lea ecx, [ebp - 0x14e8]
mov esi, str.Mid2Failed
mov eax, ecx
mov edx, 0x1000
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffeffe]
test eax, eax
je 0x10020b19
mov al, byte [esi + ecx]
test al, al
je 0x10020b19
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10020b00
test edx, edx
lea eax, [ecx - 1]
mov esi, 1
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x14e8]
push edi
push eax
call fcn.10020ea0
add esp, 0xc
test esi, esi
jne 0x10020b49
push edi
call fcn.10021980
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001f332
mov esp, ebp
pop ebp
ret