Function at 0x10001550
Capabilities:
Get common file path
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x13ac
call fcn.10001070
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x264]
push esi
push dword [ebp + 0x18]
call fcn.100010e0
add esp, 4
mov dword [esp + 0x18], 0x25
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.MachineGuid
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [esp + 0x44]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x1000e270
push eax
lea eax, [esp + 0x27c]
push eax
lea eax, [esp + 0x3c8]
push str._meta_:_date_:0__pvers_:100__refresh_:4294967295__expire_:4294967295__auth_:_sn_:__s___m_:__s___i_:__s___e_:_1__t_:_p___prod_id_:_d__prod_name_:__s___email_:__s___seat_total_:1__seat_used_:1
push eax
call esi
lea ecx, [esp + 0x3d0]
mov dword [esp + 0x34], 0x300
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001610
lea eax, [esp + 0x14]
sub ecx, edx
push eax
lea eax, [esp + 0x5b4]
push eax
push ecx
lea eax, [esp + 0x3bc]
push eax
call fcn.10002674
lea eax, [esp + 0x78]
push eax
call fcn.1000186d
push dword [esp + 0x28]
lea eax, [esp + 0x5c8]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.100018a4
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.10001958
push 0x1da
lea eax, [esp + 0x96]
push 0xff
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x64]
movups xmm0, xmmword [esp + 0x54]
push 0x10010c24
mov dword [esp + 0x29c], eax
lea eax, [esp + 0x48]
push 1
push eax
lea eax, [esp + 0x3f0]
mov word [esp + 0xa8], 0x100
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0x288], 0x30213000
push 0x200
push eax
mov dword [esp + 0x294], 0x2b050609
mov dword [esp + 0x298], 0x1a02030e
mov dword [esp + 0x29c], 0x14040005
movups xmmword [esp + 0x2a0], xmm0
mov dword [esp + 0x5c], 0x200
call dword [0x1000d190]
add esp, 0x4c
mov dword [esp + 0x10], 0x300
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x8b4]
push eax
lea eax, [esp + 0x3b8]
push 0x200
push eax
call fcn.10002674
lea eax, [esp + 0x8c0]
push eax
lea eax, [esp + 0x5c4]
push eax
lea eax, [esp + 0xbc8]
push str._data_:__s___sign_:__s_
push eax
call esi
add esp, 0x20
lea eax, [esp + 0x2a8]
push 0
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [ebp + 0xc]
lea eax, [esp + 0x2ac]
push eax
push str._sPlugiveryCache_d.auth
push eax
call esi
add esp, 0x10
lea eax, [esp + 0x2a8]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
test eax, eax
je 0x100017e1
lea eax, [esp + 0x2a8]
push 0x1000e378
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x100017e1
lea ecx, [esp + 0xbb0]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100017b0
push esi
sub ecx, edx
lea eax, [esp + 0xbb4]
push 1
push ecx
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x14
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14