Function at 0x10102810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
mov dword [ebp - 0x218], 0x103
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1022ae6c
push str.SOFTWARE360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor dword [ebp - 0x20c], 0xdeadbabe
xor dword [ebp - 0x208], 0xdeadbabe
xor dword [ebp - 0x204], 0xdeadbabe
xor dword [ebp - 0x200], 0xdeadbabe
xor dword [ebp - 0x1fc], 0xdeadbabe
xor dword [ebp - 0x1f8], 0xdeadbabe
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x101028ee
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x101028d4
mov eax, dword [eax + 0x24]
jmp 0x101028d6
xor eax, eax
test eax, eax
je 0x101028ee
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push esi
call eax
jmp 0x10102904
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10102b5b
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1010293d
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102930
mov eax, dword [eax + 0x48]
jmp 0x10102932
xor eax, eax
test eax, eax
je 0x1010293d
push 0
push esi
call eax
jmp 0x10102946
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x18
ja 0x10102979
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102b54
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102b49
mov eax, dword [eax + 0x5c]
jmp 0x10102b4b
lea ebx, [edi + 8]
push 0x1025abd4
push ebx
call fcn.101e2340
push 0x1025abd4
push ebx
mov dword [ebp - 0x210], eax
call fcn.101e2340
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x1010294d
test ebx, ebx
je 0x1010294d
lea ecx, [edi + 8]
push ecx
push 0
push eax
call fcn.102134e7
lea eax, [edi + 8]
push eax
push 0
push ebx
call fcn.102134e7
add esp, 0x18
mov dword [ebp - 0x214], 0
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102a0c
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x101029f1
mov eax, dword [eax + 0x28]
jmp 0x101029f3
xor eax, eax
test eax, eax
je 0x10102a0c
push 0
lea ecx, [ebp - 0x214]
push ecx
push edi
push dword [ebp - 0x210]
push esi
call eax
jmp 0x10102a23
push 0
lea eax, [ebp - 0x214]
push eax
push edi
push dword [ebp - 0x210]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10102b00
cmp dword [ebp - 0x214], edi
jne 0x10102b00
push esi
call fcn.1006cf20
mov edx, dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
add edx, 8
mov esi, 0x14
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10102b33
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10102a51
mov esi, dword [ebp - 0x210]
lea eax, [edi - 0x20]
push eax
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 8]
push eax
call fcn.102134e1
lea eax, [edi + 8]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi - 0x18]
push eax
push esi
call fcn.10149f00
add esp, 0x20
test eax, eax
je 0x10102b33
xor edi, edi
cmp eax, 0x3f4
jne 0x10102adc
cmp dword [ebx], 0x4f484951
jne 0x10102adc
mov ecx, dword [ebp - 0x21c]
lea esi, [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [ecx + 8], edi
lea edi, [ecx + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 0xc], eax
mov ecx, 0xfa
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x210]
mov edi, 1
push esi
call fcn.10213517
push ebx
call fcn.10213517
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 8
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102b2c
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102b21
mov eax, dword [eax + 0x5c]
jmp 0x10102b23
xor eax, eax
test eax, eax
je 0x10102b2c
push esi
call eax
jmp 0x10102b33
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x210]
call fcn.10213517
push ebx
call fcn.10213517
add esp, 8
jmp 0x10102b5b
xor eax, eax
test eax, eax
je 0x10102b54
push esi
call eax
jmp 0x10102b5b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 8