Function at 0x1401a4800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r11d, dword [r8 + 0x1c]
mov rdi, rcx
dec dword [rcx + 0x44]
mov r13d, r9d
mov eax, dword [rcx + 0x44]
xor r9d, r9d
mov rbx, qword [rcx + 0x10]
mov rbp, rdx
mov rcx, qword [rsp + 0xd0]
mov r15, r8
mov r14, qword [r8]
mov esi, r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x34], r11d
mov eax, dword [rcx + 4]
movzx r12d, byte [rcx]
mov dword [rsp + 0x38], eax
mov rax, qword [rdx + 0x20]
mov edx, dword [r8 + 0x14]
add rax, 8
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], rax
test edx, edx
je 0x1401a4923
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [r8 + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x1401a48ab
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, recv
call fcn.1401a6490
mov r11d, dword [rsp + 0x34]
jmp 0x1401a48d9
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], recv
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov edx, r11d
mov rcx, rbx
call fcn.1401f7890
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0x14]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1401a4903
mov r8d, edx
mov rdx, rbx
call fcn.1401b4f10
jmp 0x1401a4913
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r11d, dword [rsp + 0x34]
xor r9d, r9d
mov rcx, qword [rsp + 0xd0]
mov r15d, dword [r15 + 0xc]
mov dword [rsp + 0x30], r15d
cmp r12d, 9
je 0x1401a49aa
cmp r12b, 0xd
je 0x1401a49aa
cmp r12b, 0xa
je 0x1401a49aa
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1401a4951
inc dword [rdi + 0x38]
mov r10d, dword [rdi + 0x38]
xor cl, cl
jmp 0x1401a4961
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov r10d, dword [rdi + rcx*4 + 0xcc]
lea eax, [r12 - 0xc]
mov dword [rsp + 0xc8], r10d
test al, 0xfd
je 0x1401a4985
mov edx, r13d
mov rcx, rdi
call fcn.1401d4870
mov r12d, eax
xor r9d, r9d
jmp 0x1401a49b6
test cl, cl
jne 0x1401a4995
inc dword [rdi + 0x38]
mov r13d, r9d
mov r12d, dword [rdi + 0x38]
jmp 0x1401a49b6
dec cl
mov r13d, r9d
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xcc]
jmp 0x1401a49b6
mov r12d, dword [rcx + 8]
mov dword [rsp + 0xc8], r9d
mov rcx, qword [rsp + 0xc0]
mov r14d, dword [r14]
sub r14d, dword [rcx + 8]
test byte [rcx + 0x24], 1
je 0x1401a4b7c
mov r15d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
mov dword [rsp + 0x3c], r15d
lea eax, [r15 + 1]
mov dword [rdi + 0x34], eax
cmp dword [rcx + 0x14], esi
je 0x1401a49f9
mov edx, send
mov rcx, rbx
call fcn.1401ee140
mov esi, eax
movsxd rcx, dword [rbx + 0x90]
lea edx, [r14 + 1]
add edx, r13d
cmp dword [rbx + 0x94], ecx
jg 0x1401a4a2b
mov dword [rsp + 0x20], edx
mov r9d, ebp
mov edx, WSAStartup
mov r8d, r15d
mov rcx, rbx
call fcn.1401a6490
xor r8d, r8d
jmp 0x1401a4a5b
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
test esi, esi
je 0x1401a4a93
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x61], 0
je 0x1401a4a77
lea rax, [0x1402cf498]
jmp 0x1401a4a90
lea eax, [rdx - 1]
test esi, esi
cmovns eax, esi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x1401a4ac2
mov r9d, dword [rsp + 0x34]
mov edx, 0x23
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov r8d, dword [rsp + 0x30]
call fcn.1401a6490
mov esi, eax
jmp 0x1401a4af7
mov edx, dword [rsp + 0x30]
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8], 0x23
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0xb8]
mov rcx, rbx
mov r8d, dword [rsp + 0x40]
mov edx, dword [rax + 0xc]
call fcn.140197e80
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401a4b43
mov r8d, dword [rsp + 0x30]
mov r9d, ebp
mov edx, 0x7d
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call fcn.1401a6490
xor r10d, r10d
mov eax, r10d
jmp 0x1401a4bf3
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
xor r10d, r10d
mov dword [rax + rcx*8], 0x7d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
mov eax, r10d
jmp 0x1401a4bf3
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x1401a4ba7
mov dword [rsp + 0x20], r9d
mov r8d, r15d
mov r9d, r11d
mov edx, 0x24
mov rcx, rbx
call fcn.1401a6490
mov esi, eax
jmp 0x1401a4bd6
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r11d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
mov edx, dword [rbp + 0xc]
call fcn.140197e80
mov eax, 1
mov dword [rsp + 0x3c], r15d
xor r10d, r10d
mov r9, qword [rsp + 0x50]
lea ecx, [rsi + 1]
mov dword [rsp + 0xb8], ecx
lea r8d, [rax + r14]
mov dword [rsp + 0x44], r8d
lea esi, [r8 - 1]
test r13d, r13d
jle 0x1401a4c36
lea rcx, [r9 + 0x18]
mov edx, r13d
nop dword [rax + rax]
cmp word [rcx], 0
lea eax, [rsi + 1]
lea rcx, [rcx + 0x20]
cmovne eax, esi
mov esi, eax
sub rdx, 1
jne 0x1401a4c20
lea eax, [r13 - 1]
movsxd r14, eax
test eax, eax
js 0x1401a4ce9
mov edi, dword [rsp + 0x3c]
lea ebp, [rax + r12]
mov rax, r14
lea r15, [r9 + 0x18]
shl rax, 5
add r15, rax
nop dword [rax + rax]
movzx eax, word [r15]
test ax, ax
je 0x1401a4c70
movzx edx, ax
dec edx
jmp 0x1401a4c74
mov edx, esi
dec esi
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401a4c9f
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x59
mov r8d, edi
mov rcx, rbx
call fcn.1401a6490
xor r10d, r10d
jmp 0x1401a4ccb
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r10
dec ebp
sub r15, 0x20
sub r14, 1
jns 0x1401a4c60
mov rdi, qword [rsp + 0xb0]
mov r15d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x48]
mov ecx, r14d
sub ecx, 0xa
je 0x1401a4d4d
sub ecx, 1
je 0x1401a4f55
sub ecx, 1
je 0x1401a4e0a
cmp ecx, 2
je 0x1401a4e0a
mov rsi, qword [rsp + 0xd0]
movsxd rcx, dword [rbx + 0x90]
cmp r14b, 9
jne 0x1401a4db9
mov edx, dword [rsi + 8]
cmp dword [rbx + 0x94], ecx
jg 0x1401a4d89
mov r8d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x50
mov r9d, r13d
mov rcx, rbx
call fcn.1401a6490
mov ebp, dword [rsp + 0xc8]
xor esi, esi
test ebp, ebp
je 0x1401a50f3
cmp r14b, 0xb
jne 0x1401a50c3
cmp r13d, 1
je 0x1401a50c3
cmp r13d, dword [rdi + 0x28]
jle 0x1401a50de
mov dword [rdi + 0x28], r13d
mov dword [rdi + 0x2c], r12d
jmp 0x1401a50de
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x50
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x1401a4d4d
mov edx, dword [rsi + 4]
cmp dword [rbx + 0x94], ecx
jg 0x1401a4dd8
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
lea edx, [r9 + 0xe]
jmp 0x1401a4d45
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], send
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x1401a4d4d
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401a4e36
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, r15d
mov edx, 0x59
mov rcx, rbx
call fcn.1401a6490
xor r10d, r10d
jmp 0x1401a4e65
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x38]
cmp dword [rbx + 0x94], ecx
jg 0x1401a4ea4
mov r9d, dword [rsp + 0xc8]
mov edx, 0x78
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1401a6490
mov edx, dword [rsp + 0xc8]
xor r10d, r10d
mov r8d, dword [rsp + 0x38]
jmp 0x1401a4ed9
mov edx, dword [rsp + 0xc8]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x78
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401a4efe
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov edx, 0x79
mov rcx, rbx
call fcn.1401a6490
jmp 0x1401a4f2c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x79
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1401a4d4d
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1401a4d4d
mov rsi, qword [rsp + 0xd0]
movsxd rdx, dword [rbx + 0x90]
mov ebp, dword [rsp + 0xc8]
mov rsi, qword [rsi + 0x10]
cmp dword [rbx + 0x94], edx
jg 0x1401a4f92
mov r9d, r13d
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x5b
mov rcx, rbx
call fcn.1401a6490
mov edx, eax
jmp 0x1401a4fc0
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5b
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r10
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
je 0x1401a4fdc
cmp r13d, 0xfffffff4
je 0x1401a503a
mov r8, rsi
mov edx, r13d
call fcn.1401a3430
jmp 0x1401a503a
test edx, edx
jns 0x1401a4fe8
mov edx, dword [rbx + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rax + rcx*8]
test r13d, r13d
jns 0x1401a502c
cmp byte [rdx + 1], 0
jne 0x1401a502c
cmp r13d, 0xfffffffd
jne 0x1401a5014
mov dword [rdx + 0x10], esi
mov byte [rdx + 1], r13b
jmp 0x1401a503a
test rsi, rsi
je 0x1401a503a
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], r13b
cmp r13d, 0xfffffff4
jne 0x1401a503a
inc dword [rsi + 0x18]
jmp 0x1401a503a
mov r9d, r13d
mov r8, rsi
mov rcx, rbx
call fcn.140209580
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x38]
cmp dword [rbx + 0x94], edx
jg 0x1401a5069
mov r9d, ebp
mov dword [rsp + 0x20], r12d
mov edx, 0x82
mov rcx, rbx
call fcn.1401a6490
mov edx, eax
xor esi, esi
jmp 0x1401a5099
lea rcx, [rdx + rdx*2]
xor esi, esi
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x82
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x1401a4d56
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r13d
jmp 0x1401a4d56
test r12d, r12d
je 0x1401a50de
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401a50de
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], r12d
inc byte [rdi + 0x1f]
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401a50f3
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], ebp
inc byte [rdi + 0x1f]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x40]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1401a5112
mov r8d, edx
mov rdx, rbx
call fcn.1401b4f10
jmp 0x1401a5122
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rdi, qword [rsp + 0xc0]
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
test byte [rdi + 0x24], 1
je 0x1401a5181
cmp eax, ecx
jg 0x1401a5164
mov r9d, dword [rsp + 0xb8]
mov edx, 3
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1401a6490
xor r8d, r8d
jmp 0x1401a51e3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 3
jmp 0x1401a51c3
cmp eax, ecx
jg 0x1401a51a8
mov r9d, dword [rsp + 0xb8]
mov edx, 5
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1401a6490
xor r8d, r8d
jmp 0x1401a51e3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 5
mov edx, dword [rsp + 0x30]
xor r8d, r8d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xb8]
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], r8d
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x10]
test edx, edx
je 0x1401a523f
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401a5212
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x41]
call fcn.1401a6490
jmp 0x1401a523f
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x41
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x34]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1401a525e
mov r8d, edx
mov rdx, rbx
call fcn.1401b4f10
jmp 0x1401a526e
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret