Function at 0x1400ac8b0
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 [0x1401e2ca8]
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 0x1400ac940
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400ac939
mov al, 0xff
jmp 0x1400accce
mov al, 0xfe
jmp 0x1400accce
mov dword [rsp + 0x58], Ordinal_35
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 0x1400ac96a
mov al, 0xfd
jmp 0x1400accce
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x3840
ja 0x1400aca04
cmp dword [rsp + 0x44], 0x3840
je 0x1400acac6
cmp dword [rsp + 0x44], 0x4b0
ja 0x1400ac9d5
cmp dword [rsp + 0x44], 0x4b0
je 0x1400aca9e
cmp dword [rsp + 0x44], 0x6e
je 0x1400aca7a
cmp dword [rsp + 0x44], 0x12c
je 0x1400aca87
cmp dword [rsp + 0x44], 0x258
je 0x1400aca94
jmp 0x1400acb16
cmp dword [rsp + 0x44], 0x960
je 0x1400acaa8
cmp dword [rsp + 0x44], 0x12c0
je 0x1400acab2
cmp dword [rsp + 0x44], 0x2580
je 0x1400acabc
jmp 0x1400acb16
cmp dword [rsp + 0x44], 0xe100
ja 0x1400aca4b
cmp dword [rsp + 0x44], 0xe100
je 0x1400acaee
cmp dword [rsp + 0x44], 0x4b00
je 0x1400acad0
cmp dword [rsp + 0x44], 0x9600
je 0x1400acada
cmp dword [rsp + 0x44], 0xdac0
je 0x1400acae4
jmp 0x1400acb16
cmp dword [rsp + 0x44], 0x1c200
je 0x1400acaf8
cmp dword [rsp + 0x44], 0x1f400
je 0x1400acb02
cmp dword [rsp + 0x44], 0x3e800
je 0x1400acb0c
jmp 0x1400acb16
mov dword [rsp + 0x5c], WSAStartup
jmp 0x1400acb1d
mov dword [rsp + 0x5c], Ordinal_301
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x258
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x4b0
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x960
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x12c0
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x2580
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x3840
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x4b00
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x9600
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0xdac0
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0xe100
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x1c200
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x1f400
jmp 0x1400acb1d
mov dword [rsp + 0x5c], 0x3e800
jmp 0x1400acb1d
mov al, 0xfc
jmp 0x1400accce
mov byte [rsp + 0x40], 0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400acb52
cmp dword [rsp + 0x48], 1
je 0x1400acb59
cmp dword [rsp + 0x48], 2
je 0x1400acb60
cmp dword [rsp + 0x48], 3
je 0x1400acb67
cmp dword [rsp + 0x48], 4
je 0x1400acb6e
jmp 0x1400acb75
mov byte [rsp + 0x40], 5
jmp 0x1400acb7c
mov byte [rsp + 0x40], 6
jmp 0x1400acb7c
mov byte [rsp + 0x40], 7
jmp 0x1400acb7c
mov byte [rsp + 0x40], 8
jmp 0x1400acb7c
mov byte [rsp + 0x40], reloc.WS2_32.dll_recv
jmp 0x1400acb7c
mov al, 0xf9
jmp 0x1400accce
mov byte [rsp + 0x42], 0
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400acba3
cmp dword [rsp + 0x50], 1
je 0x1400acbaa
cmp dword [rsp + 0x50], 2
je 0x1400acbb1
jmp 0x1400acbb8
mov byte [rsp + 0x42], 0
jmp 0x1400acbbf
mov byte [rsp + 0x42], 1
jmp 0x1400acbbf
mov byte [rsp + 0x42], 2
jmp 0x1400acbbf
mov al, 0xf8
jmp 0x1400accce
mov byte [rsp + 0x41], 0
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x1400acbf4
cmp dword [rsp + 0x4c], 1
je 0x1400acbfb
cmp dword [rsp + 0x4c], 2
je 0x1400acc02
cmp dword [rsp + 0x4c], 3
je 0x1400acc09
cmp dword [rsp + 0x4c], 4
je 0x1400acc10
jmp 0x1400acc17
mov byte [rsp + 0x41], 0
jmp 0x1400acc1e
mov byte [rsp + 0x41], 2
jmp 0x1400acc1e
mov byte [rsp + 0x41], 1
jmp 0x1400acc1e
mov byte [rsp + 0x41], 3
jmp 0x1400acc1e
mov byte [rsp + 0x41], 4
jmp 0x1400acc1e
mov al, 0xf7
jmp 0x1400accce
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 0x1400acc58
mov al, 0xfb
jmp 0x1400accce
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 0x1400acccc
mov al, 0xfa
jmp 0x1400accce
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401315c0
add rsp, 0x88
ret