Function at 0x1402594bc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xd0
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, r8
mov r15, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x40], r9
mov r14, qword [rsp + 0x120]
mov qword [rsp + 0x80], r14
and dword [rsp + 0x28], 0
and dword [rdx], 0
and qword [rdx + 8], 0
and qword [rdx + 0x10], 0
xor r8d, r8d
xor edx, edx
call fcn.1401aa7fc
mov qword [r15 + 8], rax
and qword [r15 + 0x18], 0
and qword [r15 + 0x20], 0
and qword [r15 + 0x28], 0
mov dword [r15], 0x3f800000
mov edx, 8
mov rcx, r15
call fcn.14005e628
nop
mov dword [rsp + 0x28], 1
mov rdx, qword [r15 + 0x10]
mov rax, qword [r14 + 0x10]
sub rax, qword [r14]
sar rax, 5
cmp rdx, rax
jbe 0x14025958c
movabs rax, 0x7ffffffffffffff
cmp rdx, rax
ja 0x1402597e2
mov rcx, r14
call fcn.1401f3624
mov rdi, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rsp + 0x60], rdi
lea rcx, str.file
mov qword [rsp + 0x30], rcx
mov r8d, 0x66
mov dword [rsp + 0x24], r8d
lea r12, str.process
mov r11d, WSAStartup
mov qword [rsp + 0x38], rbx
cmp rbx, rdi
je 0x1402597b7
lea rsi, [rbx + 0x10]
lea r10, [rsi + 0x20]
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x1402595df
mov rax, qword [rsi]
cmp qword [rsi + 0x10], 4
jne 0x140259623
mov r9d, 4
mov rdx, rcx
movzx ecx, word [rax]
cmp cx, word [rsp + 0x24]
jb 0x140259623
sub rax, qword [rsp + 0x30]
cmp cx, r8w
ja 0x140259623
cmp r9, 1
je 0x1402596af
dec r9
add rdx, 2
movzx ecx, word [rdx + rax]
movzx r8d, word [rdx]
cmp cx, r8w
jae 0x140259602
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140259630
mov rax, qword [rsi]
cmp qword [rsi + 0x10], 7
jne 0x140259670
mov r9d, 7
mov rdx, r12
movzx ecx, word [rax]
mov r8d, r11d
cmp cx, r11w
jb 0x140259670
sub rax, r12
cmp cx, r8w
ja 0x140259670
cmp r9, 1
je 0x1402596ce
dec r9
add rdx, 2
movzx ecx, word [rdx + rax]
movzx r8d, word [rdx]
cmp cx, r8w
jae 0x140259653
mov r9b, byte [rsp + 0x20]
mov r8, rsi
lea rdx, [rsp + 0x90]
mov rcx, r15
call fcn.1401a9238
lea r8, [rsi + 0x40]
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x1402597aa
mov rdx, r8
mov rcx, rax
call fcn.14005da24
add qword [r14 + 8], 0x20
jmp 0x140259743
cmp qword [r10 + 0x18], 8
jb 0x1402596b9
mov r10, qword [r10]
mov rcx, r10
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x140259743
jmp 0x140259670
or r9, 0xffffffffffffffff
lea r8d, [r9 + 5]
lea rdx, [rsp + 0xa0]
mov rcx, r10
call fcn.140067800
nop
mov rcx, rax
call fcn.1402524bc
mov r12d, eax
lea rcx, [rsp + 0xa0]
call fcn.140055f70
nop
mov r8d, r12d
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x140259758
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14025973c
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
lea r12, str.process
lea rcx, str.file
mov r8d, 0x66
mov rbx, qword [rbx]
jmp 0x1402595b6
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
lea r12, str.process
jmp 0x140259670
mov rdx, rax
mov rcx, r14
call fcn.14007a758
jmp 0x140259743
mov rax, r15
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14005f030
int3