Function at 0x100f4450
Capabilities:
Get file size
Query or enumerate registry value
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x220], 0x103
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x10212824
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.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f4509
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
call fcn.10003680
add esp, 4
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push edi
test eax, eax
je 0x100f452b
call eax
jmp 0x100f4531
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, eax
test esi, esi
je 0x100f4540
push esi
call ebx
cmp edi, 0xffffffff
je 0x100f47ce
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f455f
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x11
call fcn.10003680
add esp, 4
push 0
push edi
test eax, eax
je 0x100f4574
call eax
jmp 0x100f457a
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x210], eax
test esi, esi
je 0x100f4587
push esi
call ebx
mov ebx, dword [ebp - 0x210]
add ebx, 8
push 0x1025c02a
push ebx
mov dword [ebp - 0x218], ebx
call fcn.101c85a0
mov esi, eax
push 0x1025c02a
push ebx
mov dword [ebp - 0x214], esi
call fcn.101c85a0
add esp, 0x10
mov ebx, eax
test esi, esi
je 0x100f4794
test ebx, ebx
je 0x100f4794
push dword [ebp - 0x218]
push 0
push esi
call sub.msvcrt.dll_memset
push dword [ebp - 0x218]
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0x18
mov dword [ebp - 0x21c], 0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f4608
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 9
call fcn.10003680
add esp, 4
push 0
test eax, eax
je 0x100f4630
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push edi
call eax
jmp 0x100f464a
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x218], eax
test esi, esi
je 0x100f465b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x218], 0
je 0x100f4743
mov eax, dword [ebp - 0x210]
cmp dword [ebp - 0x21c], eax
jne 0x100f4743
push edi
call fcn.1006c110
mov edi, dword [ebp - 0x214]
lea ecx, [ebp - 0x20c]
mov esi, 0x14
lea edx, [edi + 8]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100f4783
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100f4694
mov esi, dword [ebp - 0x210]
lea eax, [esi - 0x20]
push eax
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 8]
push eax
call sub.msvcrt.dll_memcpy
lea eax, [esi + 8]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi - 0x18]
push eax
push edi
call fcn.10139770
add esp, 0x20
test eax, eax
je 0x100f4783
xor esi, esi
cmp eax, 0x3f4
jne 0x100f471f
cmp dword [ebx], 0x4f484951
jne 0x100f471f
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebx + 4]
mov dword [ecx + 8], esi
lea edi, [ecx + 0x10]
mov dword [ecx + 4], eax
lea esi, [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ecx + 0xc], eax
mov ecx, 0xfa
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x214]
mov esi, 1
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f4759
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x100f476c
call eax
jmp 0x100f4772
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100f477d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x214]
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 8
jmp 0x100f47ce
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f47aa
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x100f47bd
call eax
jmp 0x100f47c3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100f47ce
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8