Function at 0x1400856a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x20]
mov ecx, gethostbyname
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x44], 0x5a
cmp qword [rsp + 0xf8], 0
jne 0x140085701
xor eax, eax
jmp 0x140085bd0
cmp qword [rsp + 0x100], 0
je 0x140085717
cmp qword [rsp + 0x108], 0
jne 0x140085720
mov eax, dword [rsp + 0x44]
jmp 0x140085bd0
mov r8d, 8
lea rdx, [0x1401e1d10]
mov rcx, qword [rsp + 0xf8]
call fcn.1401544f0
test eax, eax
jne 0x1400859c9
mov rax, qword [0x1401e1c30]
cmp qword [rax + 0xb8], 0
jne 0x14008575c
mov eax, dword [rsp + 0x44]
jmp 0x140085bd0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.140135e40]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140085784
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140085bd0
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x1401e1c30]
call qword [rax + 0xb8]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400857c3
mov eax, dword [rsp + 0x48]
jmp 0x140085bd0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rsp + 0xa0]
call fcn.1400c0e80
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xa0]
call qword [fcn.14012bfc0]
mov qword [rsp + 0xa0], 0
xor eax, eax
test eax, eax
jne 0x1400857e3
cmp dword [rsp + 0x48], 0
je 0x140085813
mov eax, dword [rsp + 0x48]
jmp 0x140085bd0
mov r8, qword [rsp + 0x78]
lea rdx, [0x1401e1d20]
mov rcx, qword [rsp + 0xf0]
call fcn.1400942b0
mov rcx, qword [rsp + 0xf8]
call fcn.14014b100
inc rax
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call qword [fcn.140135e40]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140085883
mov rcx, qword [rsp + 0x78]
call qword [fcn.14012bfc0]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x14008585f
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140085bd0
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x88]
call fcn.140114680
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rdx, [0x1401e1d40]
mov rcx, qword [rsp + 0x90]
call fcn.140113710
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x1400858e9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x90]
add rax, 8
mov rcx, rax
call fcn.14014b100
cmp qword [rsp + 0x58], rax
jne 0x140085930
mov rax, qword [rsp + 0x90]
add rax, 8
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140114fa0
test eax, eax
jne 0x140085930
mov dword [rsp + 0x44], 0
jmp 0x140085986
cmp qword [rsp + 0x98], 0
je 0x14008596c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], Ordinal_60
lea rdx, [0x1401e1d50]
mov rcx, qword [rsp + 0x98]
call fcn.140113710
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x98], 0
je 0x140085986
cmp qword [rsp + 0x90], 0
jne 0x1400858ad
mov rcx, qword [rsp + 0x78]
call qword [fcn.14012bfc0]
mov qword [rsp + 0x78], 0
xor eax, eax
test eax, eax
jne 0x140085986
mov rcx, qword [rsp + 0x88]
call qword [fcn.14012bfc0]
mov qword [rsp + 0x88], 0
xor eax, eax
test eax, eax
jne 0x1400859a0
mov eax, dword [rsp + 0x44]
jmp 0x140085bd0
lea rdx, [0x1401e1cec]
mov rcx, qword [rsp + 0xf8]
call fcn.1400b6350
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400859f3
mov eax, dword [rsp + 0x44]
jmp 0x140085bd0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.14011e4b0
test eax, eax
je 0x140085a0e
jmp 0x140085b8e
mov rcx, qword [rsp + 0x20]
call fcn.14011c700
mov dword [rsp + 0xa8], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.14011e4b0
test eax, eax
je 0x140085a37
jmp 0x140085b8e
cmp dword [rsp + 0xa8], 0
jl 0x140085a4e
cmp dword [rsp + 0xa8], 0x100000
jle 0x140085a53
jmp 0x140085b8e
movsxd rax, dword [rsp + 0xa8]
mov rcx, rax
call fcn.140098010
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jbe 0x140085a82
jmp 0x140085b8e
mov rax, qword [rsp + 0xb0]
inc rax
mov rcx, rax
call qword [fcn.140135e40]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140085aa8
jmp 0x140085b8e
mov r9, qword [rsp + 0x20]
mov r8d, 1
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call fcn.14012c9a0
cmp eax, 1
je 0x140085acf
jmp 0x140085b8e
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x108], rax
jne 0x140085b0c
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call fcn.140114fa0
test eax, eax
jne 0x140085b07
mov dword [rsp + 0x44], 0
jmp 0x140085b8e
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140087460
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
je 0x140085b4c
jmp 0x140085b8e
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x108], rax
jne 0x140085b84
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.140114fa0
test eax, eax
jne 0x140085b84
mov dword [rsp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x1400859f3
mov rcx, qword [rsp + 0x28]
call qword [fcn.14012bfc0]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x140085b8e
mov rcx, qword [rsp + 0x38]
call qword [fcn.14012bfc0]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x140085ba8
mov rcx, qword [rsp + 0x20]
call fcn.14011dcb0
mov eax, dword [rsp + 0x44]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.140184540
mov rax, rdi
add rsp, 0xe0
pop rdi
ret