Function at 0x10102190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
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 - 0x220], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
mov dword [ebp - 0x21c], 0x103
lea eax, [ebp - 0x21c]
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], 0xcafedead
xor dword [ebp - 0x208], 0xcafedead
xor dword [ebp - 0x204], 0xcafedead
xor dword [ebp - 0x200], 0xcafedead
xor dword [ebp - 0x1fc], 0xcafedead
xor dword [ebp - 0x1f8], 0xcafedead
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1010226e
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102254
mov eax, dword [eax + 0x24]
jmp 0x10102256
xor eax, eax
test eax, eax
je 0x1010226e
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push esi
call eax
jmp 0x10102284
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 0x1010249e
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x101022bd
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x101022b0
mov eax, dword [eax + 0x48]
jmp 0x101022b2
xor eax, eax
test eax, eax
je 0x101022bd
push 0
push esi
call eax
jmp 0x101022c6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ebx, [eax + 0xf]
mov dword [ebp - 0x210], eax
and ebx, 0xfffffff0
push 0x1025abd4
push ebx
mov dword [ebp - 0x218], ebx
call fcn.101e2340
mov edi, eax
push 0x1025abd4
push ebx
mov dword [ebp - 0x224], edi
call fcn.101e2340
add esp, 0x10
mov ebx, eax
test edi, edi
je 0x1010245e
test ebx, ebx
je 0x1010245b
push dword [ebp - 0x218]
push 0
push edi
call fcn.102134e7
push dword [ebp - 0x218]
push 0
push ebx
call fcn.102134e7
add esp, 0x18
mov dword [ebp - 0x214], 0
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102370
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102355
mov eax, dword [eax + 0x28]
jmp 0x10102357
xor eax, eax
test eax, eax
je 0x10102370
push 0
lea ecx, [ebp - 0x214]
push ecx
push dword [ebp - 0x210]
push edi
push esi
call eax
jmp 0x10102387
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x210]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10102408
mov eax, dword [ebp - 0x210]
cmp dword [ebp - 0x214], eax
jne 0x10102408
push esi
call fcn.1006cf20
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
push ebx
push edi
call fcn.10059480
add esp, 0x10
test eax, eax
je 0x1010244a
cmp dword [ebx], 0x55484951
jne 0x101023e2
mov edi, dword [ebp - 0x220]
mov ecx, 0xfe
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x224]
mov esi, 1
jmp 0x101023e4
xor esi, esi
push edi
call fcn.10213517
push ebx
call fcn.10213517
add esp, 8
mov eax, esi
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 0x10102443
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102429
mov eax, dword [eax + 0x5c]
jmp 0x1010242b
xor eax, eax
test eax, eax
je 0x10102443
push esi
call eax
push edi
call fcn.10213517
push ebx
call fcn.10213517
add esp, 8
jmp 0x1010249e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10213517
push ebx
call fcn.10213517
add esp, 8
jmp 0x1010249e
push edi
jmp 0x10102463
test ebx, ebx
je 0x1010246b
push ebx
call fcn.10213517
add esp, 4
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10102497
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1010248c
mov eax, dword [eax + 0x5c]
jmp 0x1010248e
xor eax, eax
test eax, eax
je 0x10102497
push esi
call eax
jmp 0x1010249e
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