Function at 0x1400273fc
Capabilities:
Get common file path
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x698]
sub rsp, 0x770
mov rax, qword [0x140131c10]
xor rax, rsp
mov qword [rbp + 0x660], rax
mov rax, qword [0x140134390]
xor ebx, ebx
mov rsi, qword [rbp + 0x6c8]
mov rdi, r8
mov qword [rsp + 0x48], rcx
lea r8, [0x1400fa53c]
mov r15d, 0x304
mov dword [rsp + 0x30], ebx
mov r10, qword [rax + 8]
mov r11, rdx
mov r14, r9
mov r13d, ebx
mov edx, r15d
mov rax, qword [r10 + 0x190]
mov rcx, qword [rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
sub r8, rax
lea rcx, [rsp + 0x60]
lea rax, [rdx + 0x7ffffcfa]
test rax, rax
je 0x1400274a7
mov al, byte [rcx + r8]
test al, al
je 0x1400274a7
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140027488
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], bl
mov rax, rdx
neg rax
sbb eax, eax
not eax
and eax, 0x8007007a
test rdx, rdx
je 0x1400276a2
mov r8, r11
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140001250
test eax, eax
jne 0x1400276a2
mov r8, rdi
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140001250
test eax, eax
jne 0x1400276a2
or r12, 0xffffffffffffffff
cmp byte [rdi], bl
je 0x140027532
mov rax, r12
inc rax
cmp byte [rdi + rax], bl
jne 0x140027507
cmp byte [rax + rdi - 1], 0x5c
je 0x140027532
lea r8, [0x1400fa500]
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.140001250
test eax, eax
jne 0x1400276a2
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140001250
test eax, eax
jne 0x1400276a2
mov r8, qword [rbp + 0x6c0]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140001250
test eax, eax
jne 0x1400276a2
lea r8, [0x1400fa53c]
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.140001250
test eax, eax
jne 0x1400276a2
mov r14, qword [0x140134380]
mov rax, qword [r14 + 0x198]
mov r15, qword [rax]
mov rax, r12
inc rax
cmp byte [r15 + rax], bl
jne 0x140027596
test dword [r14 + 0xc], 0x4000
lea rcx, [rax + 0x28]
je 0x1400275b1
lea rcx, [rax + 0x33]
lea rdi, [rcx + 0x1a]
mov eax, 0x100
test word [r14 + 0x1a], ax
cmove rdi, rcx
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov r12, rax
test rax, rax
je 0x140027b12
add dword [0x140134854], edi
lea rax, [rdi - 1]
mov r9d, 0x7ffffffe
mov r8d, ebx
cmp rax, r9
mov ecx, 0x80070057
cmova r8d, ecx
test r8d, r8d
js 0x140027687
mov rcx, r12
mov rdx, rdi
mov r8d, ebx
test rdi, rdi
jne 0x140027621
cmp byte [r15], bl
je 0x14002767b
mov r8d, 0x8007007a
jmp 0x14002767b
sub r9, rdi
mov rcx, rdi
sub r15, r12
mov rdx, r12
lea rax, [rcx + r9]
test rax, rax
je 0x14002764c
mov al, byte [rdx + r15]
test al, al
je 0x14002764c
mov byte [rdx], al
inc r8
inc rdx
sub rcx, 1
jne 0x14002762d
test rcx, rcx
lea rax, [rdx - 1]
cmovne rax, rdx
mov rdx, rdi
mov byte [rax], bl
lea rax, [r8 - 1]
cmovne rax, r8
neg rcx
sbb r8d, r8d
not r8d
and r8d, 0x8007007a
lea rcx, [rax + r12]
sub rdx, rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdx
jmp 0x14002769a
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
test rdi, rdi
je 0x14002769a
mov byte [r12], bl
test r8d, r8d
je 0x1400276d3
mov eax, r8d
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.1400caef0
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 0x100
test word [r14 + 0x1a], ax
je 0x140027707
lea rax, [rsp + 0x38]
mov rdx, rdi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, r12
call fcn.1400258d0
test eax, eax
jne 0x1400276a2
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
test dword [r14 + 0xc], 0x4000
je 0x1400277e8
test dword [r14 + 8], 0x400000
mov rax, qword [rsp + 0x48]
movsx r9d, word [rax + 0x28]
je 0x1400277cf
mov dword [rsp + 0x28], 0x321
lea r8, str.__LEVEL__d__D__midl_d__D__MKTYPLIB___d
mov dword [rsp + 0x20], 0x321
call fcn.140001318
test eax, eax
jne 0x1400276a2
mov r15d, 0x3e8
mov ecx, r15d
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x140027b12
add dword [0x140134854], r15d
lea rdx, [rbp + 0x270]
mov ecx, r15d
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
nop dword [rax + rax]
test eax, eax
jne 0x140027812
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rsi]
lea r8, str.Temp_Path_not_found__error__d
mov r9d, eax
mov edx, r15d
call fcn.1400cb7ac
mov r9, qword [rsi]
xor edx, edx
mov ebx, 0x3f8
mov r8d, ebx
xor ecx, ecx
call fcn.1400c9744
mov eax, ebx
jmp 0x1400276a2
lea r8, str.__LEVEL__d__D__midl_d
mov dword [rsp + 0x20], 0x321
call fcn.140001318
jmp 0x140027749
test dword [r14 + 8], 0x400000
mov r9d, 0x321
je 0x140027801
lea r8, str.__D__midl_d__D__MKTYPLIB___d
jmp 0x1400277d6
lea r8, str.__D__midl_d
call fcn.140001318
jmp 0x140027749
mov r9, qword [rsi]
lea rdx, str.MIDL
xor r8d, r8d
lea rcx, [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop dword [rax + rax]
test eax, eax
jne 0x1400278bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, ebx
mov r9, qword [rsi]
lea rdx, str.MIDL
xor r8d, r8d
lea rcx, [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop dword [rax + rax]
test eax, eax
jne 0x140027897
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, 0x1f4
mov edi, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
inc r14d
cmp r14d, 5
jl 0x140027849
jmp 0x140027899
mov edi, ebx
test edi, edi
je 0x1400278bf
mov rcx, qword [rsi]
lea r9, [rbp + 0x270]
lea r8, str.Cant_create_temp_file_in__s__error__d
mov dword [rsp + 0x20], edi
mov rdx, r15
call fcn.1400cb7ac
jmp 0x1400277b4
mov rcx, qword [rsi]
lea rdx, [0x1400fa628]
mov r8d, 0x20
call qword [sym.imp.msvcrt.dll__fsopen]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x1400277b4
mov rcx, rax
call qword [sym.imp.msvcrt.dll__fileno]
nop dword [rax + rax]
cmp dword [0x140131c40], 0xffffffff
mov edi, eax
jne 0x140027921
mov ecx, 1
call qword [sym.imp.msvcrt.dll__dup]
nop dword [rax + rax]
mov dword [0x140131c40], eax
cmp eax, 0xffffffff
je 0x140027b03
mov edx, 1
mov ecx, edi
call qword [sym.imp.msvcrt.dll__dup2]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140027b03
mov rax, qword [0x140134380]
mov r15d, 2
test dword [rax + 4], 0x40000
je 0x1400279dd
lea rdx, [0x1400fa628]
mov dword [rsp + 0x30], 1
lea rcx, [0x1400fa4d8]
call qword [sym.imp.msvcrt.dll_fopen]
nop dword [rax + rax]
mov r13, rax
test rax, rax
jne 0x14002798d
lea r9, [0x1400fa4d8]
jmp 0x1400277b7
mov rcx, rax
call qword [sym.imp.msvcrt.dll__fileno]
nop dword [rax + rax]
or dword [0x140131c3c], 0xffffffff
mov ecx, r15d
mov edi, eax
call qword [sym.imp.msvcrt.dll__dup]
nop dword [rax + rax]
mov dword [0x140131c3c], eax
cmp eax, 0xffffffff
je 0x140027b03
mov edx, r15d
mov ecx, edi
call qword [sym.imp.msvcrt.dll__dup2]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140027b03
mov r15, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov r8, r15
mov qword [rsp + 0x28], rbx
mov rdx, r15
mov qword [rsp + 0x20], rax
mov r9, r12
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__spawnlp]
nop dword [rax + rax]
mov rcx, r12
mov rdi, rax
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
mov ecx, dword [0x140131c40]
mov edx, 1
call qword [sym.imp.msvcrt.dll__dup2]
nop dword [rax + rax]
cmp dword [rsp + 0x30], ebx
je 0x140027a6c
mov rcx, r13
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
mov ecx, dword [0x140131c3c]
mov edx, 2
call qword [sym.imp.msvcrt.dll__dup2]
nop dword [rax + rax]
cmp rdi, 0xffffffffffffffff
jne 0x140027aae
call qword [sym.imp.msvcrt.dll__errno]
nop dword [rax + rax]
cmp dword [rax], 2
je 0x140027aa1
cmp dword [rax], 8
je 0x140027a9a
cmp dword [rax], 0xc
mov ebx, 0x7d5
mov ecx, 0x3ec
cmovne ebx, ecx
jmp 0x140027aa6
mov ebx, 0x3ee
jmp 0x140027aa6
mov ebx, 0x3ed
mov r9, r15
mov r8d, ebx
jmp 0x140027ae6
test rdi, rdi
je 0x1400277c8
mov r9d, edi
lea r8, [0x1400fa62c]
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.140001318
test eax, eax
jne 0x1400276a2
mov r8d, 0x3eb
lea r9, [rsp + 0x50]
mov ebx, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400c9744
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__unlink]
nop dword [rax + rax]
jmp 0x1400277c8
xor edx, edx
mov ebx, 0x3fa
xor r9d, r9d
jmp 0x1400277be
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3