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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov eax, r8d
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
sub eax, 0x80
je 0x14001a682
sub eax, 0x40
je 0x14001a67a
cmp eax, 0x40
je 0x14001a672
mov eax, 0xffffffe0
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
mov dword [rcx], reloc.WS2_32.dll_ntohl
jmp 0x14001a688
mov dword [rcx], recvfrom
jmp 0x14001a688
mov dword [rcx], 0xa
cmp dword [0x140068198], 0
mov qword [rsp + 0x50], r15
jne 0x14001a6a5
call fcn.14001a380
mov dword [0x140068198], 1
xor edx, edx
shr ebx, 5
mov qword [rdi + 8], rdx
lea r15, [rdi + 0x10]
test ebx, ebx
je 0x14001a6d7
mov r8, r15
nop dword [rax]
lea eax, [rdx*4]
inc edx
mov eax, dword [rax + rsi]
mov dword [r8], eax
lea r8, [r8 + 4]
cmp edx, ebx
jb 0x14001a6c0
mov eax, dword [rdi]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r14
cmp eax, 0xa
je 0x14001ac0b
cmp eax, 0xc
je 0x14001a7fa
cmp eax, 0xe
jne 0x14001ae2e
mov r10d, dword [r15]
lea r9, [r15 + 0x1e]
lea ebx, [rax - 7]
movzx eax, byte [r9]
lea r11, [0x140068310]
lea r14, [0x140068340]
nop word [rax + rax]
movzx ecx, byte [r9 + 1]
lea r11, [r11 + 4]
lea r9, [r9 + 0x20]
movzx r8d, byte [rcx + r14]
movzx ecx, byte [r9 - 0x22]
movzx edx, byte [rcx + r14]
movzx ecx, al
shl edx, 8
xor r8d, edx
shl r8d, 8
movzx eax, byte [rcx + r14]
xor r8d, eax
movzx eax, byte [r9 - 0x21]
shl r8d, 8
movzx ecx, byte [rax + r14]
xor r8d, ecx
xor r10d, r8d
xor r10d, dword [r11 - 4]
mov eax, r10d
mov dword [r9 - 0x1e], r10d
xor eax, dword [r9 - 0x3a]
mov dword [r9 - 0x1a], eax
xor eax, dword [r9 - 0x36]
mov dword [r9 - 0x16], eax
xor eax, dword [r9 - 0x32]
mov r8d, eax
shr rax, 0x18
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
mov dword [r9 - 0x12], r8d
movzx eax, byte [rax + r14]
shl eax, 8
movzx ecx, byte [rdx + r14]
xor eax, ecx
mov ecx, r8d
shl eax, 8
shr ecx, 8
movzx edx, cl
movzx ecx, byte [rdx + r14]
xor eax, ecx
movzx ecx, r8b
shl eax, 8
movzx edx, byte [rcx + r14]
xor eax, edx
xor eax, dword [r9 - 0x2e]
mov dword [r9 - 0xe], eax
xor eax, dword [r9 - 0x2a]
mov dword [r9 - 0xa], eax
xor eax, dword [r9 - 0x26]
mov dword [r9 - 6], eax
xor eax, dword [r9 - 0x22]
mov dword [r9 - 2], eax
shr eax, 0x10
sub rbx, 1
jne 0x14001a720
jmp 0x14001ae2e
movzx eax, byte [r15 + 0x14]
lea r14, [0x140068340]
movzx ebx, byte [rax + r14]
movzx eax, byte [r15 + 0x17]
shl ebx, 8
movzx ecx, byte [rax + r14]
movzx eax, byte [r15 + 0x16]
xor ebx, ecx
shl ebx, 8
movzx ecx, byte [rax + r14]
movzx eax, byte [r15 + 0x15]
xor ebx, ecx
shl ebx, 8
movzx ecx, byte [rax + r14]
xor ebx, ecx
xor ebx, dword [r15]
xor ebx, dword [0x140068310]
mov r8d, ebx
mov dword [r15 + 0x18], ebx
xor r8d, dword [r15 + 4]
mov r9d, r8d
mov dword [r15 + 0x1c], r8d
xor r9d, dword [r15 + 8]
mov r10d, r9d
mov dword [r15 + 0x20], r9d
xor r10d, dword [r15 + 0xc]
mov r11d, r10d
mov dword [r15 + 0x24], r10d
xor r11d, dword [r15 + 0x10]
mov eax, r11d
mov dword [r15 + 0x28], r11d
xor eax, dword [r15 + 0x14]
mov edx, eax
shr rax, 0x18
mov dword [r15 + 0x2c], edx
movzx esi, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor esi, ecx
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
xor esi, ebx
xor esi, dword [0x140068314]
mov ebx, esi
mov dword [r15 + 0x30], esi
xor ebx, r8d
mov edi, ebx
mov dword [r15 + 0x34], ebx
xor edi, r9d
mov r9d, edi
mov dword [r15 + 0x38], edi
xor r9d, r10d
mov r10d, r9d
mov dword [r15 + 0x3c], r9d
xor r10d, r11d
xor edx, r10d
mov dword [r15 + 0x40], r10d
mov eax, edx
shr rax, 0x18
mov r8d, edx
mov dword [r15 + 0x44], r8d
movzx ebp, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shl ecx, 8
xor ebp, ecx
shl ebp, 8
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r14]
xor ebp, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl ebp, 8
movzx eax, byte [rcx + r14]
xor ebp, eax
xor ebp, esi
xor ebp, dword [0x140068318]
mov r11d, ebp
mov dword [r15 + 0x48], ebp
xor r11d, ebx
mov ebx, r11d
mov dword [r15 + 0x4c], r11d
xor ebx, edi
mov edi, ebx
mov dword [r15 + 0x50], ebx
xor edi, r9d
mov r9d, edi
mov dword [r15 + 0x54], edi
xor r9d, r10d
xor r8d, r9d
mov dword [r15 + 0x58], r9d
mov edx, r8d
mov eax, r8d
shr rax, 0x18
mov dword [r15 + 0x5c], edx
movzx esi, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor esi, ecx
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
mov eax, r8d
shr eax, 8
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
xor esi, ebp
xor esi, dword [0x14006831c]
mov r8d, esi
mov dword [r15 + 0x60], esi
xor r8d, r11d
mov r10d, r8d
mov dword [r15 + 0x64], r8d
xor r10d, ebx
mov r11d, r10d
mov dword [r15 + 0x68], r10d
xor r11d, edi
mov ebx, r11d
mov dword [r15 + 0x6c], r11d
xor ebx, r9d
mov eax, ebx
mov dword [r15 + 0x70], ebx
xor eax, edx
mov edx, eax
shr rax, 0x18
mov dword [r15 + 0x74], edx
movzx ebp, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor ebp, ecx
movzx ecx, al
shl ebp, 8
movzx eax, byte [rcx + r14]
xor ebp, eax
mov eax, edx
shl ebp, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor ebp, eax
xor ebp, esi
xor ebp, dword [0x140068320]
mov r9d, ebp
mov dword [r15 + 0x78], ebp
xor r9d, r8d
mov edi, r9d
mov dword [r15 + 0x7c], r9d
xor edi, r10d
mov r10d, edi
mov dword [r15 + 0x80], edi
xor r10d, r11d
mov r11d, r10d
mov dword [r15 + 0x84], r10d
xor r11d, ebx
xor edx, r11d
mov dword [r15 + 0x88], r11d
mov eax, edx
shr rax, 0x18
mov r8d, edx
mov dword [r15 + 0x8c], r8d
movzx esi, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor esi, ecx
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r14]
xor esi, eax
xor esi, ebp
xor esi, dword [0x140068324]
mov ebx, esi
mov dword [r15 + 0x90], esi
xor ebx, r9d
mov r9d, ebx
mov dword [r15 + 0x94], ebx
xor r9d, edi
mov edi, r9d
mov dword [r15 + 0x98], r9d
xor edi, r10d
mov r10d, edi
mov dword [r15 + 0x9c], edi
xor r10d, r11d
xor r8d, r10d
mov dword [r15 + 0xa0], r10d
mov eax, r8d
shr rax, 0x18
mov edx, r8d
mov dword [r15 + 0xa4], edx
movzx ebp, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor ebp, ecx
movzx ecx, al
shl ebp, 8
movzx eax, byte [rcx + r14]
xor ebp, eax
mov eax, r8d
shl ebp, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor ebp, eax
xor ebp, esi
xor ebp, dword [0x140068328]
mov r11d, ebp
mov dword [r15 + 0xa8], ebp
xor r11d, ebx
mov dword [r15 + 0xac], r11d
mov ebx, r11d
xor ebx, r9d
mov r9d, ebx
mov dword [r15 + 0xb0], ebx
xor r9d, edi
mov edi, r9d
mov dword [r15 + 0xb4], r9d
xor edi, r10d
xor edx, edi
mov dword [r15 + 0xb8], edi
mov r8d, edx
mov eax, edx
shr rax, 0x18
mov dword [r15 + 0xbc], r8d
movzx edx, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor edx, ecx
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r14]
xor edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor edx, eax
xor edx, ebp
xor edx, dword [0x14006832c]
mov dword [r15 + 0xc0], edx
xor edx, r11d
mov dword [r15 + 0xc4], edx
xor edx, ebx
mov dword [r15 + 0xc8], edx
xor edx, r9d
mov dword [r15 + 0xcc], edx
xor edx, edi
xor r8d, edx
mov dword [r15 + 0xd0], edx
mov dword [r15 + 0xd4], r8d
jmp 0x14001ae2e
mov edx, dword [r15]
lea rsi, [r15 + 0xe]
movzx ebx, byte [rsi]
lea rbp, [0x140068318]
mov r15d, 2
lea r14, [0x140068340]
nop dword [rax]
movzx eax, byte [rsi + 1]
movzx r10d, byte [rax + r14]
movzx eax, byte [rsi - 2]
movzx ecx, byte [rax + r14]
shl ecx, 8
xor r10d, ecx
movzx eax, bl
shl r10d, 8
movzx ecx, byte [rax + r14]
movzx eax, byte [rsi - 1]
xor r10d, ecx
shl r10d, 8
movzx ecx, byte [rax + r14]
xor r10d, ecx
xor r10d, dword [rbp - 8]
xor r10d, edx
mov r8d, r10d
mov dword [rsi + 2], r10d
xor r8d, dword [rsi - 0xa]
mov r9d, r8d
mov dword [rsi + 6], r8d
xor r9d, dword [rsi - 6]
mov eax, r9d
mov dword [rsi + 0xa], r9d
xor eax, dword [rsi - 2]
mov edx, eax
shr rax, 0x18
mov dword [rsi + 0xe], edx
movzx ebx, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor ebx, ecx
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r14]
xor ebx, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r14]
xor ebx, eax
xor ebx, dword [rbp - 4]
xor ebx, r10d
mov r10d, ebx
mov dword [rsi + 0x12], ebx
xor r10d, r8d
mov r11d, r10d
mov dword [rsi + 0x16], r10d
xor r11d, r9d
xor edx, r11d
mov dword [rsi + 0x1a], r11d
mov eax, edx
shr rax, 0x18
mov r8d, edx
mov dword [rsi + 0x1e], r8d
movzx edi, byte [rax + r14]
movzx eax, dl
movzx ecx, byte [rax + r14]
mov eax, edx
shr eax, 0x10
shl ecx, 8
xor edi, ecx
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + r14]
xor edi, eax
mov eax, edx
shl edi, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r14]
xor edi, eax
xor edi, dword [rbp]
xor edi, ebx
mov r9d, edi
mov dword [rsi + 0x22], edi
xor r9d, r10d
mov r10d, r9d
mov dword [rsi + 0x26], r9d
xor r10d, r11d
lea rbp, [rbp + 0x14]
mov dword [rsi + 0x2a], r10d
lea rsi, [rsi + 0x50]
xor r8d, r10d
mov eax, r8d
shr rax, 0x18
mov edx, r8d
mov dword [rsi - 0x22], edx
movzx r11d, byte [rax + r14]
movzx eax, r8b
movzx ecx, byte [rax + r14]
mov eax, r8d
shr eax, 0x10
shl ecx, 8
xor r11d, ecx
movzx ecx, al
shl r11d, 8
movzx eax, byte [rcx + r14]
xor r11d, eax
mov eax, r8d
shr eax, 8
movzx ecx, al
shl r11d, 8
movzx eax, byte [rcx + r14]
xor r11d, eax
xor r11d, dword [rbp - 0x10]
xor r11d, edi
mov r8d, r11d
mov dword [rsi - 0x1e], r11d
xor r8d, r9d
mov r9d, r8d
mov dword [rsi - 0x1a], r8d
xor r9d, r10d
xor edx, r9d
mov dword [rsi - 0x16], r9d
mov ebx, edx
mov eax, edx
shr rax, 0x18
mov dword [rsi - 0x12], ebx
movzx edx, byte [rax + r14]
movzx eax, bl
movzx ecx, byte [rax + r14]
mov eax, ebx
shr eax, 0x10
shl ecx, 8
xor edx, ecx
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r14]
xor edx, eax
mov eax, ebx
shr eax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r14]
xor edx, eax
xor edx, dword [rbp - 0xc]
xor edx, r11d
mov eax, edx
mov dword [rsi - 0xe], edx
xor eax, r8d
mov dword [rsi - 0xa], eax
xor eax, r9d
xor ebx, eax
mov dword [rsi - 6], eax
mov dword [rsi - 2], ebx
shr ebx, 0x10
sub r15, 1
jne 0x14001ac30
mov r15, qword [rsp + 0x50]
xor eax, eax
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret