Function at 0x1402eb94c
Capabilities:
Check if file exists
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, r8
mov dword [rbp - 0x69], r9d
mov rsi, rdx
lea r8, [rbp - 0x75]
xor edi, edi
xor edx, edx
mov ecx, r9d
mov dword [rbp - 0x75], edi
mov r14d, r9d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x79], eax
test ebx, ebx
je 0x1402eba2c
cmp eax, 0xea
je 0x1402eba2c
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402eba06
lea rax, [rbp - 0x79]
mov qword [rbp + 0xf], 0xce
mov qword [rbp - 9], rax
lea r8d, [rdi + 4]
lea rax, str.The_preliminarily_call_to_GetComputerNameEx___to_get_the_buffer_size_failed._Return_empty_machine_name
mov qword [rbp - 1], r8
mov qword [rbp + 7], rax
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x140483caf]
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call fcn.140001208
mov rdx, r15
mov rcx, rsi
call fcn.14006fe84
lea r8, [rbp - 0x79]
mov dword [rbp - 0x71], edi
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x69]
call fcn.1402eca5c
xor al, al
jmp 0x1402ebbd0
mov edx, dword [rbp - 0x75]
lea rcx, [rbp - 0x61]
call fcn.14019d860
mov rdx, qword [rbp - 0x61]
lea r8, [rbp - 0x75]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x1402ebada
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x79], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402ebab9
lea rax, [rbp - 0x79]
mov qword [rbp + 0xf], 0x84
mov qword [rbp - 9], rax
mov r8d, 4
lea rax, str.The_call_to_GetComputerNameEx___failed._Return_empty_machine_name
mov qword [rbp - 1], r8
mov qword [rbp + 7], rax
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x140483caf]
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call fcn.140001208
mov rdx, r15
mov rcx, rsi
call fcn.14006fe84
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x75]
lea rcx, [rbp - 0x69]
call fcn.1402eca5c
jmp 0x1402ebbc4
movdqa xmm0, xmmword [0x140420310]
lea rcx, [rbp - 0x49]
mov rdx, qword [rbp - 0x61]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], di
call fcn.140055574
xor r8d, r8d
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14006d604
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140085570
lea rcx, [rbp - 0x29]
call fcn.140055f70
lea rcx, [rbp - 0x49]
call fcn.140055f70
call fcn.1400550c0
mov r8d, 4
mov r10, qword [rax + 8]
cmp dword [r10], r8d
jbe 0x1402ebbc1
cmp qword [rsi + 0x18], 8
lea rax, str.Machine_Name_is_extracted_Successfully
mov qword [rbp - 9], rax
mov qword [rbp - 1], 0x4e
jb 0x1402ebb5b
mov rsi, qword [rsi]
lea rcx, [0x1403cb630]
mov rax, rdi
test rsi, rsi
je 0x1402ebb7a
mov rcx, rsi
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1402ebb71
lea eax, [rax*2 + 2]
mov qword [rbp + 7], rcx
mov dword [rbp + 0xf], eax
lea rax, [rbp - 0x71]
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x13], edi
mov dword [rbp - 0x71], r14d
mov qword [rbp + 0x1f], r8
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14048b5d4]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001208
mov dil, 1
lea rcx, [rbp - 0x61]
call fcn.140097a24
mov al, dil
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret