Function at 0x1401762b0
Capabilities:
Check if file exists

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140376800]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x140176340
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140176339
mov al, 0xff
jmp 0x1401766ce
mov al, 0xfe
jmp 0x1401766ce
mov dword [rsp + 0x58], Ordinal_30
lea rdx, [rsp + 0x58]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetCommState]
test eax, eax
jne 0x14017636a
mov al, 0xfd
jmp 0x1401766ce
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x3840
ja 0x140176404
cmp dword [rsp + 0x44], 0x3840
je 0x1401764c6
cmp dword [rsp + 0x44], 0x4b0
ja 0x1401763d5
cmp dword [rsp + 0x44], 0x4b0
je 0x14017649e
cmp dword [rsp + 0x44], 0x6e
je 0x14017647a
cmp dword [rsp + 0x44], 0x12c
je 0x140176487
cmp dword [rsp + 0x44], 0x258
je 0x140176494
jmp 0x140176516
cmp dword [rsp + 0x44], 0x960
je 0x1401764a8
cmp dword [rsp + 0x44], 0x12c0
je 0x1401764b2
cmp dword [rsp + 0x44], 0x2580
je 0x1401764bc
jmp 0x140176516
cmp dword [rsp + 0x44], 0xe100
ja 0x14017644b
cmp dword [rsp + 0x44], 0xe100
je 0x1401764ee
cmp dword [rsp + 0x44], 0x4b00
je 0x1401764d0
cmp dword [rsp + 0x44], 0x9600
je 0x1401764da
cmp dword [rsp + 0x44], 0xdac0
je 0x1401764e4
jmp 0x140176516
cmp dword [rsp + 0x44], 0x1c200
je 0x1401764f8
cmp dword [rsp + 0x44], 0x1f400
je 0x140176502
cmp dword [rsp + 0x44], 0x3e800
je 0x14017650c
jmp 0x140176516
mov dword [rsp + 0x5c], WSAStartup
jmp 0x14017651d
mov dword [rsp + 0x5c], Ordinal_301
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x258
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x4b0
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x960
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x12c0
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x2580
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x3840
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x4b00
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x9600
jmp 0x14017651d
mov dword [rsp + 0x5c], 0xdac0
jmp 0x14017651d
mov dword [rsp + 0x5c], 0xe100
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x1c200
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x1f400
jmp 0x14017651d
mov dword [rsp + 0x5c], 0x3e800
jmp 0x14017651d
mov al, 0xfc
jmp 0x1401766ce
mov byte [rsp + 0x40], 0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x140176552
cmp dword [rsp + 0x48], 1
je 0x140176559
cmp dword [rsp + 0x48], 2
je 0x140176560
cmp dword [rsp + 0x48], 3
je 0x140176567
cmp dword [rsp + 0x48], 4
je 0x14017656e
jmp 0x140176575
mov byte [rsp + 0x40], 5
jmp 0x14017657c
mov byte [rsp + 0x40], 6
jmp 0x14017657c
mov byte [rsp + 0x40], 7
jmp 0x14017657c
mov byte [rsp + 0x40], 8
jmp 0x14017657c
mov byte [rsp + 0x40], reloc.WS2_32.dll_recv
jmp 0x14017657c
mov al, 0xf9
jmp 0x1401766ce
mov byte [rsp + 0x42], 0
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401765a3
cmp dword [rsp + 0x50], 1
je 0x1401765aa
cmp dword [rsp + 0x50], 2
je 0x1401765b1
jmp 0x1401765b8
mov byte [rsp + 0x42], 0
jmp 0x1401765bf
mov byte [rsp + 0x42], 1
jmp 0x1401765bf
mov byte [rsp + 0x42], 2
jmp 0x1401765bf
mov al, 0xf8
jmp 0x1401766ce
mov byte [rsp + 0x41], 0
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x1401765f4
cmp dword [rsp + 0x4c], 1
je 0x1401765fb
cmp dword [rsp + 0x4c], 2
je 0x140176602
cmp dword [rsp + 0x4c], 3
je 0x140176609
cmp dword [rsp + 0x4c], 4
je 0x140176610
jmp 0x140176617
mov byte [rsp + 0x41], 0
jmp 0x14017661e
mov byte [rsp + 0x41], 2
jmp 0x14017661e
mov byte [rsp + 0x41], 1
jmp 0x14017661e
mov byte [rsp + 0x41], 3
jmp 0x14017661e
mov byte [rsp + 0x41], 4
jmp 0x14017661e
mov al, 0xf7
jmp 0x1401766ce
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x6a], al
movzx eax, byte [rsp + 0x42]
mov byte [rsp + 0x6c], al
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x6b], al
lea rdx, [rsp + 0x58]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetCommState]
test eax, eax
jne 0x140176658
mov al, 0xfb
jmp 0x1401766ce
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x18], 0xffffffff
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x14], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x20], 0xffffffff
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x1c], 0
mov rax, qword [rsp + 0x90]
add rax, 0x10
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetCommTimeouts]
test eax, eax
jne 0x1401766cc
mov al, 0xfa
jmp 0x1401766ce
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401fc060
add rsp, 0x88
ret