Function at 0x140073340
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 [0x14015a138]
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.140038b60
mov rbx, rax
mov qword [rsp + 0x20], r14
lea rcx, [rbp - 0x19]
call fcn.14007ed30
lea rcx, [rsp + 0x20]
call fcn.14007ed30
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
call fcn.140029100
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.140058110
mov rdi, qword [rbp - 0x11]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140073437
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x19]
call fcn.140057460
cmp byte [rbx + 0x19], 0
jne 0x14007342e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14007340e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14007342e
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140073400
jmp 0x14007342e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14007342b
cmp rbx, qword [rax + 0x10]
jne 0x14007342b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140073418
mov rbx, rax
cmp rbx, rdi
jne 0x1400733d2
mov rdi, qword [rbp - 0x11]
mov r9, rdi
mov r8, qword [rdi]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x11]
call fcn.140058a40
mov edx, 0x40
mov rcx, qword [rbp - 0x11]
call fcn.1400ccd64
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x19]
call fcn.14004b690
nop
mov rdi, qword [rbp - 1]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14007385b
lea rsi, [rbx + 0x20]
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400734ad
mov rax, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, 0x10
jb 0x14007349d
mov rax, qword [rdx]
test rax, rax
je 0x1400734ad
cmp rcx, 0x10
jb 0x1400734b4
mov rdx, qword [rdx]
jmp 0x1400734b4
lea rdx, [0x140122b88]
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 0x1400734d0
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 0x140073545
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073540
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400738b1
call fcn.1400ccd64
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 0x140073579
test al, 0x10
je 0x140073579
mov al, 1
jmp 0x14007357b
xor al, al
test al, al
je 0x1400737b3
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.14007df60
mov rcx, qword [rax]
test rcx, rcx
jne 0x14007359c
mov r12d, r14d
jmp 0x1400735b1
mov r12, qword [rcx + 0x50]
test r12, r12
jne 0x1400735b1
mov r12, qword [rcx + 0x38]
sub r12, qword [rcx + 0x30]
sar r12, 3
mov r15d, r14d
test r12d, r12d
jle 0x1400737b3
nop dword [rax]
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.14007df60
mov r14, rax
mov rax, qword [rax]
test rax, rax
jne 0x140073611
test r15d, r15d
jg 0x140073605
lea ecx, [rax + 0x58]
call fcn.1400ccd6c
mov rsi, rax
mov qword [rbp - 0x11], rax
xor edx, edx
lea r8d, [rdx + 0x58]
mov rcx, rax
call fcn.1400cef80
mov rcx, rsi
call fcn.14007d110
nop
mov qword [r14], rax
test rax, rax
jne 0x140073611
call fcn.14007d2a0
jmp 0x14007361c
mov edx, r15d
mov rcx, rax
call fcn.14007d330
mov rdx, qword [rax]
test rdx, rdx
je 0x14007369a
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.14007cbd0
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x14007368e
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140073689
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400738b7
call fcn.1400ccd64
mov eax, reloc.WS2_32.dll_ntohl
mov rdx, qword [rsp + 0x20]
jmp 0x1400736aa
xor r14d, r14d
mov edx, r14d
mov qword [rsp + 0x20], rdx
mov eax, 6
or r13d, eax
test rdx, rdx
je 0x1400736be
cmp qword [rdx + 0x18], 0x10
jb 0x1400736c1
mov rdx, qword [rdx]
jmp 0x1400736c1
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.14001c080
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0xf]
call fcn.14001c430
mov rsi, rax
call fcn.140053980
mov rcx, rax
mov rdx, rsi
call fcn.14003e910
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x140073732
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007372d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400738b7
call fcn.1400ccd64
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r14w
mov rdx, qword [rbp - 0x69]
cmp rdx, 8
jb 0x140073784
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007377f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400738b7
call fcn.1400ccd64
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x69], 7
mov word [rsp + 0x48], r14w
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007cbd0
nop
inc r15d
cmp r15d, r12d
lea rsi, [rbx + 0x20]
jl 0x1400735c0
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400737f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400737ee
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400738ab
call fcn.1400ccd64
cmp byte [rbx + 0x19], 0
jne 0x140073478
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140073831
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140073478
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140073820
jmp 0x140073478
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140073853
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140073853
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140073840
mov rbx, rax
jmp 0x140073478
lea rcx, [rbp - 1]
call fcn.14004b5c0
mov edx, Ordinal_41
mov rcx, qword [rbp - 1]
call fcn.1400ccd64
nop
lea rcx, [rbp - 0x19]
call fcn.14007ed30
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ccd40
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.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
int3