Function at 0x140073520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov r13d, r14d
mov dword [rbp - 0x19], r14d
mov qword [rbp - 0x19], r14
xor ecx, ecx
call fcn.1400390d0
mov rbx, rax
mov qword [rsp + 0x20], r14
lea rcx, [rbp - 0x19]
call fcn.14007f3f0
lea rcx, [rsp + 0x20]
call fcn.14007f3f0
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
call fcn.140029670
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.1400582f0
mov rdi, qword [rbp - 0x11]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140073617
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x19]
call fcn.140057640
cmp byte [rbx + 0x19], 0
jne 0x14007360e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400735ee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14007360e
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400735e0
jmp 0x14007360e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14007360b
cmp rbx, qword [rax + 0x10]
jne 0x14007360b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400735f8
mov rbx, rax
cmp rbx, rdi
jne 0x1400735b2
mov rdi, qword [rbp - 0x11]
mov r9, rdi
mov r8, qword [rdi]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x11]
call fcn.140058c20
mov edx, 0x40
mov rcx, qword [rbp - 0x11]
call fcn.1400cd424
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x19]
call fcn.14004b860
nop
mov rdi, qword [rbp - 1]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140073a3b
lea rsi, [rbx + 0x20]
mov rdx, qword [rsi]
test rdx, rdx
je 0x14007368d
mov rax, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, 0x10
jb 0x14007367d
mov rax, qword [rdx]
test rax, rax
je 0x14007368d
cmp rcx, 0x10
jb 0x140073694
mov rdx, qword [rdx]
jmp 0x140073694
lea rdx, [0x140123b98]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400736b0
lea rcx, [rsp + 0x28]
call fcn.140003a60
or r13d, 1
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r14w
lea rdx, [rbp + 0xf]
lea rcx, [rsp + 0x28]
call fcn.140008860
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140073725
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073720
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140073a91
call fcn.1400cd424
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140073759
test al, 0x10
je 0x140073759
mov al, 1
jmp 0x14007375b
xor al, al
test al, al
je 0x140073993
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.14007e620
mov rcx, qword [rax]
test rcx, rcx
jne 0x14007377c
mov r12d, r14d
jmp 0x140073791
mov r12, qword [rcx + 0x50]
test r12, r12
jne 0x140073791
mov r12, qword [rcx + 0x38]
sub r12, qword [rcx + 0x30]
sar r12, 3
mov r15d, r14d
test r12d, r12d
jle 0x140073993
nop dword [rax]
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.14007e620
mov r14, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400737f1
test r15d, r15d
jg 0x1400737e5
lea ecx, [rax + 0x58]
call fcn.1400cd42c
mov rsi, rax
mov qword [rbp - 0x11], rax
xor edx, edx
lea r8d, [rdx + 0x58]
mov rcx, rax
call fcn.1400cf640
mov rcx, rsi
call fcn.14007d7d0
nop
mov qword [r14], rax
test rax, rax
jne 0x1400737f1
call fcn.14007d960
jmp 0x1400737fc
mov edx, r15d
mov rcx, rax
call fcn.14007d9f0
mov rdx, qword [rax]
test rdx, rdx
je 0x14007387a
add rdx, 0x10
lea rcx, [rbp - 0x61]
call fcn.140003990
nop
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 0x10
cmovae rdx, qword [rbp - 0x61]
lea rcx, [rsp + 0x20]
call fcn.14007d290
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x14007386e
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073869
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140073a97
call fcn.1400cd424
mov eax, reloc.WS2_32.dll_ntohl
mov rdx, qword [rsp + 0x20]
jmp 0x14007388a
xor r14d, r14d
mov edx, r14d
mov qword [rsp + 0x20], rdx
mov eax, 6
or r13d, eax
test rdx, rdx
je 0x14007389e
cmp qword [rdx + 0x18], 0x10
jb 0x1400738a1
mov rdx, qword [rdx]
jmp 0x1400738a1
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.14001c5f0
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0xf]
call fcn.14001c9a0
mov rsi, rax
call fcn.140053b60
mov rcx, rax
mov rdx, rsi
call fcn.14003ea80
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x140073912
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007390d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140073a97
call fcn.1400cd424
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r14w
mov rdx, qword [rbp - 0x69]
cmp rdx, 8
jb 0x140073964
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007395f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140073a97
call fcn.1400cd424
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x69], 7
mov word [rsp + 0x48], r14w
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007d290
nop
inc r15d
cmp r15d, r12d
lea rsi, [rbx + 0x20]
jl 0x1400737a0
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400739d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400739ce
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140073a8b
call fcn.1400cd424
cmp byte [rbx + 0x19], 0
jne 0x140073658
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140073a11
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140073658
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140073a00
jmp 0x140073658
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140073a33
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140073a33
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140073a20
mov rbx, rax
jmp 0x140073658
lea rcx, [rbp - 1]
call fcn.14004b790
mov edx, Ordinal_41
mov rcx, qword [rbp - 1]
call fcn.1400cd424
nop
lea rcx, [rbp - 0x19]
call fcn.14007f3f0
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400cd400
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3