Function at 0x1402c4a50
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.140289490
mov r8d, 0x104
lea rdx, [rbp - 0x70]
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test rbx, rbx
je 0x1402c4ae0
nop dword [rax + rax]
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
sub rbx, 1
jne 0x1402c4ad0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], si
jne 0x1402c4b00
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400810d0
nop
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x40]
add rdx, 0x10
lea rcx, [rsp + 0x70]
call fcn.1400ea600
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400e078c
mov r8d, setsockopt
lea rdx, [0x14034fd38]
lea rcx, [rsp + 0x70]
call fcn.1400e078c
nop
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov dword [rsp + 0x20], 3
mov rdx, qword [rsp + 0x40]
add rdx, 0x12
lea rcx, [rsp + 0x50]
call fcn.1400ea600
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400e078c
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.ProductInfoEx.dat
lea rcx, [rsp + 0x50]
call fcn.1400e078c
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1402bf640
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1402c4c38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402c4c33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402c4f6c
call fcn.140171af0
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1402c4c8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402c4c87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402c4f72
call fcn.140171af0
nop
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
mov dword [rsp + 0x20], 4
mov rdx, qword [rsp + 0x40]
add rdx, 0x15
lea rcx, [rsp + 0x70]
call fcn.1400ea600
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400e078c
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.utilsProductInfo.dat
lea rcx, [rsp + 0x70]
call fcn.1400e078c
nop
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov dword [rsp + 0x20], listen
mov rdx, qword [rsp + 0x40]
add rdx, 0x17
lea rcx, [rsp + 0x50]
call fcn.1400ea600
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400e078c
mov r8d, SafeArrayCopy
lea rdx, str.utilsProductInfoEx.dat
lea rcx, [rsp + 0x50]
call fcn.1400e078c
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1402bf640
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1402c4dac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402c4da7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402c4f78
call fcn.140171af0
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1402c4e01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402c4dfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402c4f7e
call fcn.140171af0
nop
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov dword [rsp + 0x20], setsockopt
mov rdx, qword [rsp + 0x40]
add rdx, 0x10
lea rcx, [rsp + 0x50]
call fcn.1400ea600
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400e078c
mov r8d, setsockopt
lea rdx, [0x14034fd38]
lea rcx, [rsp + 0x50]
call fcn.1400e078c
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1402c4ec1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402c4ebc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402c4f84
call fcn.140171af0
lea rcx, [rbp - 0x70]
test ebx, ebx
lea rdx, str.ProductInfo.dat
jne 0x1402c4ed7
lea rdx, str.utilsProductInfo.dat
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea r8, [rbp - 0x70]
mov rcx, rdi
call fcn.1402c4f90
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1402c4f3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402c4f36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402c4f66
call fcn.140171af0
movzx eax, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14028c66c
nop
call fcn.14028c66c
nop
call fcn.14028c66c
nop
call fcn.14028c66c
nop
call fcn.14028c66c
int3
call fcn.14028c66c
int3