Function at 0x100f4ad0
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x604], eax
push ebx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x5fc], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [ebp - 0x5f8], eax
lea eax, [ecx + 0x10]
push 0x1f4
push eax
lea eax, [ebp - 0x5f4]
mov dword [ebp - 0x600], 0x4f484951
push eax
call sub.msvcrt.dll_wcsncpy
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
mov dword [ebp - 0x614], 0x103
lea eax, [ebp - 0x614]
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], 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
push 0x1025c02a
push 0x400
call fcn.101c85a0
mov esi, eax
push 0x1025c02a
push 0x400
mov dword [ebp - 0x608], esi
call fcn.101c85a0
add esp, 0x10
mov ebx, eax
test esi, esi
je 0x100f4dc0
test ebx, ebx
je 0x100f4da3
push edi
mov edi, 0x200
call sub.msvcrt.dll_rand
mov word [esi], ax
lea esi, [esi + 2]
sub edi, 1
jne 0x100f4be4
mov edi, dword [ebp - 0x608]
lea esi, [ebp - 0x600]
push 0x400
mov ecx, 0xfd
push 0
rep movsd dword es:[edi], dword [esi]
push ebx
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x608]
lea eax, [ebp - 0x20c]
push eax
push 0x400
push ebx
push edi
call fcn.10056b30
add esp, 0x1c
mov dword [ebp - 0x608], eax
test eax, eax
jne 0x100f4c5e
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
xor eax, eax
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 0x100f4c74
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
call fcn.10003680
add esp, 4
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x604]
test eax, eax
je 0x100f4c9b
call eax
jmp 0x100f4ca1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x604], eax
test esi, esi
je 0x100f4cb2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x604], 0xffffffff
je 0x100f4d7b
mov dword [ebp - 0x60c], 0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f4cdf
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xa
call fcn.10003680
add esp, 4
push 0
test eax, eax
je 0x100f4d06
lea ecx, [ebp - 0x60c]
push ecx
push 0x400
push ebx
push dword [ebp - 0x604]
call eax
jmp 0x100f4d1f
lea eax, [ebp - 0x60c]
push eax
push 0x400
push ebx
push dword [ebp - 0x604]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x610], eax
test esi, esi
je 0x100f4d30
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x610]
and dword [ebp - 0x608], eax
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f4d52
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.10003680
add esp, 4
push dword [ebp - 0x604]
test eax, eax
je 0x100f4d6a
call eax
jmp 0x100f4d70
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100f4d7b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x608]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
je 0x100f4dcd
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8