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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x160
lea rdi, [rsp + 0x20]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x170]
mov rax, qword [0x14013be00]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x20], 0
jmp 0x1400ced39
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x1400ced76
mov eax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0x20
jae 0x1400ced5c
jmp 0x1400ced62
call fcn.1400d0768
nop
xor eax, eax
mov rcx, qword [rsp + 0x120]
mov word [rsp + rcx + 0xa8], ax
jmp 0x1400ced2f
mov dword [rsp + 0x24], 0
jmp 0x1400ced8a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x24], eax
jae 0x1400cedcc
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xa8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x178]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xa8], ax
jmp 0x1400ced80
mov rax, qword [rsp + 0x190]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x2c], reloc.WS2_32.dll_ntohs
jmp 0x1400cedee
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 1
jb 0x1400cee09
mov eax, dword [rsp + 0x2c]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x1400cee07
jmp 0x1400cee09
jmp 0x1400cede4
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x30], eax
jbe 0x1400cee1b
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x2c], 0
jne 0x1400cee9e
mov byte [rsp + 0x64], 0x40
mov byte [rsp + 0x65], 1
xor eax, eax
mov word [rsp + 0x66], ax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x64]
mov dword [rax], ecx
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x64]
mov dword [rax], ecx
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rax, qword [rsp + 0x190]
mov dword [rax], 1
xor eax, eax
jmp 0x1400cf5c8
mov dword [rsp + 0x28], 1
jmp 0x1400ceeb2
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x1400ceed0
mov eax, dword [rsp + 0x28]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x1400ceece
jmp 0x1400ceed0
jmp 0x1400ceea8
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jae 0x1400ceee2
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x20], 1
jmp 0x1400ceefe
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x1400cef3a
mov eax, dword [rsp + 0x3c]
shl eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x1400cef38
mov eax, 0xffffffff
jmp 0x1400cf5c8
jmp 0x1400ceef4
cmp dword [rsp + 0x3c], 0
jle 0x1400cef5c
cmp dword [rsp + 0x170], 0
je 0x1400cef52
cmp dword [rsp + 0x2c], 1
je 0x1400cef5c
mov eax, 0xffffffff
jmp 0x1400cf5c8
mov qword [rsp + 0x128], 2
cmp qword [rsp + 0x128], 0x20
jae 0x1400cef75
jmp 0x1400cef7b
call fcn.1400d0768
nop
xor eax, eax
mov rcx, qword [rsp + 0x128]
mov word [rsp + rcx + 0xe8], ax
mov dword [rsp + 0x20], 1
jmp 0x1400cefa1
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
jae 0x1400cefd4
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xe8]
mov ecx, dword [rsp + 0x20]
movzx ecx, word [rsp + rcx*2 + 0xa8]
add eax, ecx
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
mov word [rsp + rcx*2 + 0xe8], ax
jmp 0x1400cef97
mov dword [rsp + 0x24], 0
jmp 0x1400cefe8
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x24], eax
jae 0x1400cf06a
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x1400cf065
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xe8]
mov rcx, qword [rsp + 0x198]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xe8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x178]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xe8], ax
jmp 0x1400cefde
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x1400cf08e
cmp dword [rsp + 0x130], 1
je 0x1400cf0bb
jmp 0x1400cf0e6
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x90], reloc.WS2_32.dll_sendto
jmp 0x1400cf10f
lea rax, [0x1400edd00]
mov qword [rsp + 0x80], rax
lea rax, [0x1400edd40]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0x101
jmp 0x1400cf10f
lea rax, [0x1400edd80]
mov qword [rsp + 0x80], rax
lea rax, [0x1400eddc0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x50], 0xffffffff
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x134], ecx
movzx ecx, al
mov eax, dword [rsp + 0x134]
shl eax, cl
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x170], 1
jne 0x1400cf18d
cmp dword [rsp + 0x40], 0x354
ja 0x1400cf1a1
cmp dword [rsp + 0x170], 2
jne 0x1400cf1ab
cmp dword [rsp + 0x40], 0x250
jbe 0x1400cf1ab
mov eax, 1
jmp 0x1400cf5c8
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
inc eax
cmp eax, dword [rsp + 0x90]
jae 0x1400cf1f2
mov byte [rsp + 0x64], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x66], ax
jmp 0x1400cf26c
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x90]
jb 0x1400cf260
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x90]
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x90]
mov eax, eax
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x66], ax
jmp 0x1400cf26c
mov byte [rsp + 0x64], 0x60
xor eax, eax
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x138], ecx
movzx ecx, al
mov eax, dword [rsp + 0x138]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0x13c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x13c]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x44]
shr eax, cl
add eax, dword [rsp + 0x4c]
mov eax, eax
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x64]
mov dword [rcx + rax*4], edx
cmp dword [rsp + 0x4c], 0
jne 0x1400cf2bc
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x140], ecx
movzx ecx, al
mov eax, dword [rsp + 0x140]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400cf330
mov eax, dword [rsp + 0x48]
shr eax, 1
mov dword [rsp + 0x48], eax
jmp 0x1400cf314
cmp dword [rsp + 0x48], 0
je 0x1400cf35b
mov eax, dword [rsp + 0x48]
dec eax
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x1400cf363
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
dec ax
mov word [rsp + 0x144], ax
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x144]
mov word [rsp + rax*2 + 0xa8], cx
movzx eax, word [rsp + 0x144]
test eax, eax
jne 0x1400cf3d3
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x20], eax
jne 0x1400cf3b3
jmp 0x1400cf567
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jbe 0x1400cf562
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x50]
je 0x1400cf562
cmp dword [rsp + 0x38], 0
jne 0x1400cf406
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0x148], ecx
movzx ecx, al
mov eax, dword [rsp + 0x148]
shl eax, cl
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x2c]
jae 0x1400cf49b
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jg 0x1400cf485
jmp 0x1400cf49b
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3c]
shl eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x1400cf448
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0x14c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x14c]
shl eax, cl
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x170], 1
jne 0x1400cf4d7
cmp dword [rsp + 0x40], 0x354
ja 0x1400cf4eb
cmp dword [rsp + 0x170], 2
jne 0x1400cf4f5
cmp dword [rsp + 0x40], 0x250
jbe 0x1400cf4f5
mov eax, 1
jmp 0x1400cf5c8
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x34]
mov byte [rcx + rax*4], dl
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x30]
mov byte [rcx + rax*4 + 1], dl
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 2
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x188]
mov rdx, qword [rdx]
mov word [rdx + rcx*4 + 2], ax
jmp 0x1400cf1ab
cmp dword [rsp + 0x44], 0
je 0x1400cf59a
mov byte [rsp + 0x64], 0x40
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x65], al
xor eax, eax
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x64]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rax, qword [rsp + 0x190]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400d050c
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d0280
add rsp, 0x160
pop rdi
ret