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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push r13
sub rsp, 0x60
mov rax, qword [rcx + 0x60]
mov r8, rcx
mov r13d, 1
mov byte [rsp + 0x88], 0
test rax, rax
je 0x1400c5df2
nop word [rax + rax]
cmp byte [rax + 0x38], 0
je 0x1400c5dc5
mov rax, qword [rax]
test rax, rax
jne 0x1400c5db0
add rsp, 0x60
pop r13
ret
xor edx, edx
mov eax, reloc.WS2_32.dll_sendto
cmp word [rcx + 0x6d8], r13w
je 0x1400c5dd8
mov eax, edx
add eax, 0xb
mov ecx, 0xfffffffc
and eax, ecx
add eax, 0x28
mov dword [rsp + 0x20], eax
cmp dword [r8 + 0x524], eax
ja 0x1400c5dfb
xor eax, eax
add rsp, 0x60
pop r13
ret
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov r15, qword [0x1402e8788]
mov qword [rsp + 0x80], rbx
mov esi, 8
mov rbp, rdx
mov r14, rdx
mov r12d, edx
nop word [rax + rax]
cmp esi, 0xb0
jle 0x1400c5eee
mov rcx, r15
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400c5e9b
xor ecx, ecx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], r13w
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x18], ecx
add rax, 0x50
mov qword [rdi + 0x28], rcx
mov dword [rdi + 0x38], ecx
mov qword [rdi + 0x30], rcx
mov dword [rdi + 0x3c], ecx
mov dword [rdi + 0x40], ecx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], cx
mov word [rdi + 0x46], cx
mov qword [rdi + 0x48], rcx
jmp 0x1400c5e9d
xor ecx, ecx
mov qword [rdi + 0x50], rcx
mov rcx, qword [0x1402e8790]
call fcn.1401e6440
mov rcx, qword [0x1402e8798]
mov rbx, rax
call fcn.1401e6440
mov dword [rax], r13d
or dword [rdi + 0x1c], r13d
xor edx, edx
mov qword [rdi + 0x70], rax
mov qword [rdi + 0x58], rdx
mov qword [rdi + 0x60], rdx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], r13d
mov eax, 0x800
jmp 0x1400c5f96
test r12b, 2
je 0x1400c5f5b
mov rcx, r15
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400c5f4d
xor edx, edx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], r13w
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov dword [rax + 0x18], edx
add rax, 0x50
mov qword [rdi + 0x28], rdx
mov dword [rdi + 0x38], edx
mov qword [rdi + 0x10], rax
mov eax, 0xb0
mov qword [rdi + 0x30], rdx
cmp esi, eax
mov dword [rdi + 0x3c], edx
mov dword [rdi + 0x40], edx
mov word [rdi + 0x44], dx
mov word [rdi + 0x46], dx
mov qword [rdi + 0x48], rdx
cmovl eax, esi
jmp 0x1400c5f96
mov eax, 0xb0
xor edx, edx
cmp esi, eax
cmovl eax, esi
jmp 0x1400c5f96
mov rcx, r15
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400c5f8a
xor edx, edx
mov word [rax + 0x20], r13w
add rax, 0x28
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], rdx
mov dword [rax - 0x10], edx
mov dword [rax - 0xc], edx
mov qword [rdi + 0x10], rax
jmp 0x1400c5f8c
xor edx, edx
mov eax, 0xd8
cmp esi, eax
cmovl eax, esi
test rdi, rdi
je 0x1400c64ee
cmp eax, 8
jl 0x1400c64b3
sub esi, eax
test r14, r14
je 0x1400c5fb4
mov qword [r14], rdi
jmp 0x1400c5fb7
mov rbp, rdi
and r12d, 0xfffffffd
mov r14, rdi
test esi, esi
jg 0x1400c5e40
test r12b, 4
je 0x1400c5fd0
or dword [rdi + 0x1c], 4
test rbp, rbp
je 0x1400c64fb
mov r12d, 0x800
mov rsi, rdx
mov rbx, rdx
mov qword [rsp + 0x28], rdx
mov r14d, edx
nop dword [rax]
cmp r12d, 0xb0
jle 0x1400c60a4
mov rcx, r15
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400c604c
xor ecx, ecx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], r13w
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x18], ecx
add rax, 0x50
mov qword [rdi + 0x28], rcx
mov dword [rdi + 0x38], ecx
mov qword [rdi + 0x30], rcx
mov dword [rdi + 0x3c], ecx
mov dword [rdi + 0x40], ecx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], cx
mov word [rdi + 0x46], cx
mov qword [rdi + 0x48], rcx
jmp 0x1400c604e
xor ecx, ecx
mov qword [rdi + 0x50], rcx
mov rcx, qword [0x1402e8790]
call fcn.1401e6440
mov rcx, qword [0x1402e8798]
mov rbx, rax
call fcn.1401e6440
mov dword [rax], r13d
or dword [rdi + 0x1c], r13d
xor edx, edx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x28]
mov qword [rdi + 0x70], rax
mov qword [rdi + 0x58], rdx
mov qword [rdi + 0x60], rdx
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], r13d
mov eax, 0x800
jmp 0x1400c6152
test r14b, 2
je 0x1400c6115
mov rcx, r15
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400c6105
xor edx, edx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], r13w
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov dword [rax + 0x18], edx
add rax, 0x50
mov qword [rdi + 0x28], rdx
mov dword [rdi + 0x38], edx
mov qword [rdi + 0x10], rax
mov eax, 0xb0
mov qword [rdi + 0x30], rdx
cmp r12d, eax
mov dword [rdi + 0x3c], edx
mov dword [rdi + 0x40], edx
mov word [rdi + 0x44], dx
mov word [rdi + 0x46], dx
mov qword [rdi + 0x48], rdx
cmovl eax, r12d
jmp 0x1400c6152
mov eax, 0xb0
xor edx, edx
cmp r12d, eax
cmovl eax, r12d
jmp 0x1400c6152
mov rcx, r15
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400c6144
xor edx, edx
mov word [rax + 0x20], r13w
add rax, 0x28
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], rdx
mov dword [rax - 0x10], edx
mov dword [rax - 0xc], edx
mov qword [rdi + 0x10], rax
jmp 0x1400c6146
xor edx, edx
mov eax, 0xd8
cmp r12d, eax
cmovl eax, r12d
test rdi, rdi
je 0x1400c64a4
cmp eax, 0x800
jl 0x1400c649a
sub r12d, eax
test rbx, rbx
je 0x1400c6173
mov qword [rbx], rdi
jmp 0x1400c6176
mov rsi, rdi
mov rbx, rdi
and r14d, 0xfffffffd
mov qword [rsp + 0x28], rbx
test r12d, r12d
jg 0x1400c5ff0
test r14b, 4
je 0x1400c6195
or dword [rdi + 0x1c], 4
test rsi, rsi
je 0x1400c64f3
mov r14, qword [rsp + 0x70]
mov dword [rbp + 0x18], 8
mov dword [rsi + 0x18], edx
mov r15, qword [rbp + 0x10]
xor eax, eax
mov qword [r15], rax
mov r12, qword [rsi + 0x10]
mov byte [r15], 0xc1
mov byte [r15 + 1], al
mov ecx, dword [r14 + 0x4fc]
mov qword [rsp + 0x28], r12
call sub.WS2_32.dll_htonl
mov dword [r15 + 4], eax
mov rbx, qword [r14 + 0x60]
inc dword [r14 + 0x4fc]
test rbx, rbx
je 0x1400c6379
mov edx, 0xc002
cmp byte [rbx + 0x38], 0
jne 0x1400c633d
movzx edi, word [rbx + 0x12]
mov ecx, dword [rsi + 0x18]
mov eax, 0xfffffffc
add edi, 3
and edi, eax
mov eax, dword [r14 + 0x524]
sub eax, dword [rsp + 0x20]
add ecx, edi
cmp ecx, eax
ja 0x1400c6349
cmp ecx, 0x800
ja 0x1400c6349
mov dword [rbx + 0x14], r13d
inc r13d
cmp byte [rsp + 0x88], 0
jne 0x1400c62c8
cmp byte [rbx + 0x39], 0
jne 0x1400c62c8
cmp word [rbx + 0x10], dx
jne 0x1400c62c8
movzx ecx, word [rbx + 0x18]
call sub.WS2_32.dll_htons
mov word [r15 + 8], ax
cmp word [rbx + 0x18], 6
jne 0x1400c6273
mov r12d, reloc.WS2_32.dll_sendto
lea r14d, [r12 - 4]
jmp 0x1400c627e
mov r12d, 8
lea r14d, [r12 - 4]
lea ecx, [r12 + 3]
mov eax, 0xfffc
and cx, ax
call sub.WS2_32.dll_htons
lea rdx, [rbx + 0x1c]
lea rcx, [r15 + 0xc]
movzx r8d, r14w
mov word [r15 + 0xa], ax
call fcn.1401e75a0
mov r14, qword [rsp + 0x70]
movzx r11d, r12w
mov r12, qword [rsp + 0x28]
add r11d, 3
mov byte [rsp + 0x88], 1
and r11d, 0xfffffffc
add dword [rbp + 0x18], r11d
lea rdx, [rbx + 0x10]
mov r8d, edi
mov rcx, r12
call fcn.1401e75a0
movzx ecx, word [r12]
call sub.WS2_32.dll_htons
movzx ecx, word [r12 + 2]
mov word [r12], ax
call sub.WS2_32.dll_htons
movzx ecx, word [r12 + 8]
mov word [r12 + 2], ax
call sub.WS2_32.dll_htons
movzx ecx, word [r12 + 0xa]
mov word [r12 + 8], ax
call sub.WS2_32.dll_htons
lea ecx, [rdi + 3]
mov word [r12 + 0xa], ax
mov eax, ecx
mov edx, 0xc002
and eax, 0xfffffffc
add dword [rsi + 0x18], eax
mov eax, 0xfffffffc
mov byte [rbx + 0x38], 1
and rcx, rax
add r12, rcx
mov qword [rsp + 0x28], r12
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400c61f0
cmp byte [rsp + 0x88], 0
je 0x1400c6379
mov rcx, qword [rsp + 0x78]
mov qword [rbp], rsi
mov eax, dword [rsi + 0x18]
add eax, dword [rbp + 0x18]
mov dword [rcx], eax
movzx ecx, ax
call sub.WS2_32.dll_htons
mov word [r15 + 2], ax
mov rax, rbp
jmp 0x1400c64fd
mov rax, qword [r14 + 8]
test byte [rax + 0x158], 4
je 0x1400c6392
xor edx, edx
mov rcx, r14
call fcn.1400c5c60
jmp 0x1400c639a
mov rcx, r14
call fcn.1400c5d00
test rax, rax
je 0x1400c6420
mov eax, dword [rbp + 0x1c]
mov rbx, qword [rbp]
test al, 1
je 0x1400c63b8
mov rcx, rbp
call fcn.140079610
jmp 0x1400c63d4
bt eax, 0x12
jb 0x1400c63d4
test al, 2
je 0x1400c63cc
xor edx, edx
mov rcx, rbp
call fcn.1400794f0
mov rcx, rbp
call fcn.1401e64f8
mov rbp, rbx
test rbx, rbx
jne 0x1400c63a3
nop dword [rax]
mov eax, dword [rsi + 0x1c]
mov rbx, qword [rsi]
test al, 1
je 0x1400c63f4
mov rcx, rsi
call fcn.140079610
jmp 0x1400c6410
bt eax, 0x12
jb 0x1400c6410
test al, 2
je 0x1400c6408
xor edx, edx
mov rcx, rsi
call fcn.1400794f0
mov rcx, rsi
call fcn.1401e64f8
mov rsi, rbx
test rbx, rbx
jne 0x1400c63e0
jmp 0x1400c64fb
mov eax, dword [rbp + 0x1c]
mov rbx, qword [rbp]
test al, 1
je 0x1400c6435
mov rcx, rbp
call fcn.140079610
jmp 0x1400c6451
bt eax, 0x12
jb 0x1400c6451
test al, 2
je 0x1400c6449
xor edx, edx
mov rcx, rbp
call fcn.1400794f0
mov rcx, rbp
call fcn.1401e64f8
mov rbp, rbx
test rbx, rbx
jne 0x1400c6420
nop dword [rax]
mov eax, dword [rsi + 0x1c]
mov rbx, qword [rsi]
test al, 1
je 0x1400c6474
mov rcx, rsi
call fcn.140079610
jmp 0x1400c6490
bt eax, 0x12
jb 0x1400c6490
test al, 2
je 0x1400c6488
xor edx, edx
mov rcx, rsi
call fcn.1400794f0
mov rcx, rsi
call fcn.1401e64f8
mov rsi, rbx
test rbx, rbx
jne 0x1400c6460
jmp 0x1400c64fb
mov rcx, rdi
call fcn.1400795b0
jmp 0x1400c64f3
test rsi, rsi
je 0x1400c64f3
mov rcx, rsi
call fcn.1400795b0
jmp 0x1400c64f3
mov eax, dword [rdi + 0x1c]
mov rbx, qword [rdi]
test r13b, al
je 0x1400c64c8
mov rcx, rdi
call fcn.140079610
jmp 0x1400c64e4
bt eax, 0x12
jb 0x1400c64e4
test al, 2
je 0x1400c64dc
xor edx, edx
mov rcx, rdi
call fcn.1400794f0
mov rcx, rdi
call fcn.1401e64f8
mov rdi, rbx
test rbx, rbx
jne 0x1400c64b3
jmp 0x1400c64fb
test rbp, rbp
je 0x1400c64fb
mov rcx, rbp
call fcn.1400795b0
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
add rsp, 0x60
pop r13
ret