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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push 0x208
mov dword [ebp - 0x210], 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], 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 - 0x214], esi
call fcn.101c85a0
add esp, 0x10
mov ebx, eax
test esi, esi
je 0x100f4aa9
test ebx, ebx
je 0x100f4a8c
push edi
mov edi, 0x200
call sub.msvcrt.dll_rand
mov word [esi], ax
lea esi, [esi + 2]
sub edi, 1
jne 0x100f48d0
mov esi, dword [ebp + 8]
mov ecx, 0xfe
mov edi, dword [ebp - 0x214]
push 0x400
push 0
rep movsd dword es:[edi], dword [esi]
push ebx
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
push 0x400
push ebx
push edi
call fcn.10056b30
add esp, 0x1c
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x100f4947
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 0x100f495d
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 - 0x210]
test eax, eax
je 0x100f4984
call eax
jmp 0x100f498a
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x210], eax
test esi, esi
je 0x100f499b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x210], 0xffffffff
je 0x100f4a64
mov dword [ebp - 0x218], 0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f49c8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xa
call fcn.10003680
add esp, 4
push 0
test eax, eax
je 0x100f49ef
lea ecx, [ebp - 0x218]
push ecx
push 0x400
push ebx
push dword [ebp - 0x210]
call eax
jmp 0x100f4a08
lea eax, [ebp - 0x218]
push eax
push 0x400
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x21c], eax
test esi, esi
je 0x100f4a19
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 0x214], eax
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100f4a3b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.10003680
add esp, 4
push dword [ebp - 0x210]
test eax, eax
je 0x100f4a53
call eax
jmp 0x100f4a59
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100f4a64
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 - 0x214]
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 0x100f4ab6
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