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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x110
mov rax, qword [rcx]
xorps xmm0, xmm0
mov r10, qword [rcx + 0x30]
xor ebx, ebx
mov qword [rsp + 0x78], rax
xor r11d, r11d
movsxd rax, dword [rcx + 0x2c]
movsxd r9, edx
imul r14, r9, 0x898
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xc0], xmm0
lea rdi, [r10 + rax*8]
mov dword [rsp + 0x34], r11d
mov rax, qword [rcx + 0x1170]
add r14, rcx
mov qword [rsp + 0x80], r10
mov qword [rsp + 0x88], rdi
mov dword [rsp + 0xc0], 0x7d00
mov r8d, dword [rax + 0x38]
mov eax, 0x24924925
mul r8d
xor eax, eax
mov dword [r14 + 0x38], ebx
sub r8d, edx
mov byte [rsp + 0x90], al
mov eax, dword [r14 + 0x58]
shr r8d, 1
add r8d, edx
cdq
shr r8d, 3
xor eax, edx
sub eax, edx
mov dword [rsp + 0x58], r8d
mov rdx, qword [rcx + 0x20]
movsxd rcx, dword [rcx + 0x1c]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x64], eax
lea r8, [rcx + rcx*2]
add r8, r8
lea rcx, [rdx + r8*8]
test r9d, r9d
jne 0x14009db89
cmp rdx, rcx
jae 0x14009dba7
nop word [rax + rax]
movsx eax, word [rdx + 0xc]
mov dword [rdx + 0x18], eax
movsx eax, word [rdx + 0xe]
mov dword [rdx + 0x1c], eax
add rdx, 0x30
cmp rdx, rcx
jb 0x14009db70
jmp 0x14009dba7
cmp rdx, rcx
jae 0x14009dba7
nop
movsx eax, word [rdx + 0xe]
mov dword [rdx + 0x18], eax
movsx eax, word [rdx + 0xc]
mov dword [rdx + 0x1c], eax
add rdx, 0x30
cmp rdx, rcx
jb 0x14009db90
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r15
cmp r10, rdi
jae 0x14009e2b8
xor edx, edx
nop word [rax + rax]
mov rdi, qword [r10]
mov r15d, 0xffff8300
mov r10d, 0x7d00
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x38], r10d
mov r9d, r10d
mov r8d, r15d
mov word [rsp + 0x140], dx
mov rax, qword [rdi + 0x28]
movzx r13d, dx
mov ebp, r10d
mov dword [rsp + 0x3c], r10d
mov r12d, r15d
mov dword [rsp + 0x40], r15d
mov rsi, rdx
mov dword [rsp + 0x4c], r10d
movsx ecx, byte [rax + 3]
mov eax, ecx
mov dword [rsp + 0x50], r15d
neg eax
mov word [rsp + 0x148], dx
test cl, cl
mov word [rsp + 0x30], dx
mov dword [rsp + 0x5c], r10d
cmovns eax, ecx
mov dword [rsp + 0x60], r15d
cmp eax, dword [rsp + 0x54]
jne 0x14009dc97
movsx ecx, byte [rdi + 3]
mov eax, ecx
neg eax
test cl, cl
cmovns eax, ecx
cmp eax, dword [rsp + 0x54]
jne 0x14009dc97
mov qword [rsp + 0x130], rdi
mov rdi, qword [rdi + 0x28]
movsx ecx, byte [rdi + 3]
mov eax, ecx
neg eax
test cl, cl
cmovns eax, ecx
cmp eax, dword [rsp + 0x54]
jne 0x14009dc93
cmp rdi, qword [rsp + 0x130]
jne 0x14009dc70
jmp 0x14009dc97
mov rdi, qword [rdi + 0x20]
xor cl, cl
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x138], cl
mov eax, edx
nop word [rax + rax]
mov word [rsp + 0x130], r13w
mov dword [rsp + 0x68], r9d
test eax, eax
je 0x14009e034
mov ecx, dword [rdi + 0x18]
mov eax, ecx
mov edx, dword [rdi + 0x1c]
cmp ecx, r10d
cmovge eax, r10d
cmp ecx, r15d
mov r10d, eax
mov dword [rsp + 0x38], eax
cmovle ecx, r15d
cmp edx, r9d
mov r15d, ecx
mov r11d, ecx
movzx ecx, word [rdi]
mov r9d, edx
cmovge r9d, dword [rsp + 0x68]
movzx eax, cx
movzx r13d, cx
cmovge r13w, word [rsp + 0x130]
cmp edx, r8d
cmovle ax, word [rsp + 0x140]
mov word [rsp + 0x140], ax
mov eax, edx
cmovle eax, r8d
mov r8d, eax
test cl, 3
jne 0x14009dd3c
cmp edx, ebp
mov eax, edx
cmovge eax, ebp
mov ebp, eax
cmp edx, r12d
jle 0x14009dd3c
mov r12d, edx
movsx eax, byte [rdi + 3]
cmp eax, dword [rsp + 0x64]
jne 0x14009dd51
cmp rdi, qword [rsp + 0x70]
jne 0x14009e023
test rsi, rsi
je 0x14009df7f
mov rcx, qword [rsi + 0x40]
cmp qword [rbx + 0x38], rcx
jne 0x14009df7f
movzx eax, byte [rdi + 2]
cmp byte [rcx + 2], al
jne 0x14009de45
mov ecx, dword [rsp + 0x3c]
cmp ecx, r10d
mov r15d, dword [rsp + 0x40]
movzx eax, word [rsp + 0x148]
cmovge ecx, r10d
movzx edx, word [rsp + 0x30]
cmp r15d, r11d
mov dword [rsp + 0x38], ecx
cmovle r15d, r11d
mov qword [rsi + 0x40], rdi
cmp dword [rsp + 0x4c], r9d
cmovge ax, r13w
movzx r13d, ax
mov eax, dword [rsp + 0x4c]
cmovge eax, r9d
cmp dword [rsp + 0x50], r8d
mov r9d, eax
mov eax, dword [rsp + 0x50]
cmovle dx, word [rsp + 0x140]
cmovle eax, r8d
mov r8d, eax
mov word [rsp + 0x140], dx
mov eax, dword [rsp + 0x5c]
cmp eax, ebp
cmovge eax, ebp
mov ebp, eax
mov eax, dword [rsp + 0x60]
cmp eax, r12d
cmovle eax, r12d
mov r12d, eax
lea eax, [r15 + rcx]
sar eax, 1
mov word [rsi + 2], ax
mov eax, r15d
sub eax, ecx
sar eax, 1
mov word [rsi + 4], ax
movzx eax, dl
or al, r13b
test al, 3
je 0x14009de23
mov eax, r12d
sub eax, ebp
cmp eax, dword [rsp + 0x58]
jge 0x14009de23
or byte [rsi], 1
jmp 0x14009de26
and byte [rsi], 0xfe
movzx eax, r8w
mov word [rsi + 6], r9w
sub ax, r9w
mov word [rsi + 8], r8w
mov word [rsi + 0xa], ax
dec dword [r14 + 0x38]
jmp 0x14009e00a
mov eax, r8d
sub eax, r9d
cdq
mov ecx, eax
mov eax, dword [rsp + 0x50]
sub eax, dword [rsp + 0x4c]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov ecx, dword [rsp + 0x3c]
jle 0x14009deb6
mov ebx, dword [rsp + 0x40]
cmp r10d, ecx
mov qword [rsi + 0x40], rdi
cmovl ecx, r10d
mov dword [rsp + 0x38], r10d
cmp r11d, ebx
mov dword [rsp + 0x3c], ecx
cmovg ebx, r11d
mov dword [rsp + 0x40], ebx
lea eax, [rbx + rcx]
sar eax, 1
mov word [rsi + 2], ax
mov eax, ebx
sub eax, ecx
sar eax, 1
mov word [rsi + 4], ax
movzx eax, word [rsp + 0x140]
dec dword [r14 + 0x38]
mov word [rsp + 0x140], ax
jmp 0x14009e00a
mov r15d, dword [rsp + 0x40]
cmp ecx, r10d
movzx edx, word [rsp + 0x140]
cmovge ecx, r10d
mov qword [rbx + 0x40], rdi
cmp r15d, r11d
mov dword [rsp + 0x38], ecx
cmovle r15d, r11d
lea eax, [r15 + rcx]
sar eax, 1
mov word [rbx + 2], ax
mov eax, r15d
sub eax, ecx
sar eax, 1
mov word [rbx + 4], ax
movzx eax, dl
or al, r13b
test al, 3
je 0x14009df06
mov eax, r12d
sub eax, ebp
cmp eax, dword [rsp + 0x58]
jge 0x14009df06
or byte [rbx], 1
mov word [rbx + 6], r9w
movzx eax, r8w
mov word [rbx + 8], r8w
sub ax, r9w
mov word [rbx + 0xa], ax
movups xmm0, xmmword [rbx]
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x4c], r9d
movups xmmword [rsi], xmm0
mov dword [rsp + 0x50], r8d
movups xmm1, xmmword [rbx + 0x10]
mov word [rsp + 0x148], r13w
mov word [rsp + 0x30], dx
movups xmmword [rsi + 0x10], xmm1
mov dword [rsp + 0x5c], ebp
movups xmm0, xmmword [rbx + 0x20]
mov dword [rsp + 0x60], r12d
mov word [rsp + 0x140], dx
movups xmmword [rsi + 0x20], xmm0
mov dword [rsp + 0x3c], ecx
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movsd xmm0, qword [rbx + 0x40]
movsd qword [rsi + 0x40], xmm0
dec dword [r14 + 0x38]
jmp 0x14009e00a
movzx edx, word [rsp + 0x140]
lea eax, [r15 + r10]
sar eax, 1
mov word [rbx + 2], ax
mov eax, r11d
sub eax, r10d
mov qword [rbx + 0x40], rdi
sar eax, 1
mov word [rbx + 4], ax
movzx eax, dl
or al, r13b
test al, 3
je 0x14009dfb9
mov eax, r12d
sub eax, ebp
cmp eax, dword [rsp + 0x58]
jge 0x14009dfb9
or byte [rbx], 1
movzx eax, r8w
mov word [rbx + 6], r9w
sub ax, r9w
mov word [rbx + 8], r8w
mov word [rbx + 0xa], ax
mov rsi, rbx
mov dword [rsp + 0x3c], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x50], r8d
mov word [rsp + 0x148], r13w
mov word [rsp + 0x30], dx
mov dword [rsp + 0x5c], ebp
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x38], r10d
mov word [rsp + 0x140], dx
mov r11d, dword [rsp + 0x34]
xor edx, edx
movzx ecx, byte [rsp + 0x138]
mov eax, edx
mov dword [rsp + 0x48], edx
mov ebx, edx
jmp 0x14009e036
mov r11d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x48]
movzx ecx, byte [rsp + 0x138]
xor edx, edx
cmp rdi, qword [rsp + 0x70]
jne 0x14009e04e
test cl, cl
jne 0x14009e296
mov cl, 1
mov byte [rsp + 0x138], cl
test eax, eax
jne 0x14009e288
movsx edx, byte [rdi + 3]
mov eax, edx
mov byte [rsp + 0x130], dl
neg eax
test dl, dl
cmovns eax, edx
cmp eax, dword [rsp + 0x54]
je 0x14009e07a
cmp rdi, qword [rdi + 0x28]
jne 0x14009e27c
mov eax, dword [r14 + 0x38]
xor ecx, ecx
mov dword [rsp + 0x64], edx
mov r11d, ecx
mov dword [rsp + 0x34], ecx
mov ebx, ecx
mov dword [rsp + 0x44], ecx
cmp eax, 0x12
jge 0x14009e0b5
cmp qword [r14 + 0x40], rcx
jne 0x14009e18f
lea rax, [r14 + 0x60]
mov dword [r14 + 0x3c], reloc.WS2_32.dll_select
mov qword [r14 + 0x40], rax
jmp 0x14009e18f
mov r8d, dword [r14 + 0x3c]
cmp eax, r8d
jl 0x14009e18f
cmp r8d, 0x1c71c71
jl 0x14009e0e0
mov r11d, 0x40
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x44], r11d
jmp 0x14009e1b0
mov ebp, r8d
sar ebp, 2
add ebp, 4
add ebp, r8d
cmp ebp, r8d
jl 0x14009e0f9
cmp ebp, 0x1c71c71
jle 0x14009e0fe
mov ebp, 0x1c71c71
mov rax, qword [r14 + 0x40]
lea r15, [r14 + 0x60]
mov r9d, ebp
mov edx, 0x48
cmp rax, r15
jne 0x14009e15f
lea rax, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
call fcn.140095d60
mov r11d, dword [rsp + 0x44]
mov qword [r14 + 0x40], rax
mov dword [rsp + 0x34], r11d
test r11d, r11d
jne 0x14009e1a6
mov rcx, rax
mov rdx, r15
mov r8d, 0x510
call sub.VCRUNTIME140.dll_memcpy
mov r11d, dword [rsp + 0x44]
mov dword [rsp + 0x34], r11d
jmp 0x14009e18b
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.140095d60
mov r11d, dword [rsp + 0x44]
mov qword [r14 + 0x40], rax
mov dword [rsp + 0x34], r11d
test r11d, r11d
jne 0x14009e1a6
mov dword [r14 + 0x3c], ebp
movsxd rdx, dword [r14 + 0x38]
mov rax, qword [r14 + 0x40]
lea rcx, [rdx + rdx*8]
lea rbx, [rax + rcx*8]
lea eax, [rdx + 1]
mov dword [r14 + 0x38], eax
movzx edx, byte [rsp + 0x130]
xor ecx, ecx
test r11d, r11d
jne 0x14009e36c
movaps xmm0, xmmword [rsp + 0x90]
lea rax, [rbx - 0x48]
movups xmmword [rbx], xmm0
test rsi, rsi
movaps xmm0, xmmword [rsp + 0xc0]
xorps xmm1, xmm1
movups xmmword [rbx + 0x10], xmm1
cmove rax, rsi
movups xmmword [rbx + 0x20], xmm1
mov rsi, rax
movups xmmword [rbx + 0x30], xmm0
mov byte [rbx + 1], dl
mov qword [rbx + 0x38], rdi
mov qword [rbx + 0x40], rdi
movzx r10d, word [rdi]
mov r15d, dword [rdi + 0x18]
movzx r13d, r10w
mov r8d, dword [rdi + 0x1c]
mov r9d, r8d
mov dword [rsp + 0x38], r15d
mov word [rsp + 0x140], r10w
test r10b, 3
je 0x14009e228
mov ebp, 0x7d00
mov r12d, 0xffff8300
jmp 0x14009e22e
mov r12d, r8d
mov ebp, r8d
mov eax, 1
mov dword [rsp + 0x48], eax
cmp rdi, qword [rdi + 0x28]
jne 0x14009e280
mov word [rbx + 2], r15w
test byte [rdi], 3
je 0x14009e249
or byte [rbx], al
movzx eax, word [rdi + 0x1c]
mov r10d, dword [rsp + 0x38]
mov word [rbx + 6], ax
movzx eax, word [rdi + 0x1c]
mov word [rbx + 8], ax
mov eax, ecx
mov word [rbx + 0xa], cx
mov rbx, rcx
mov rdi, qword [rdi + 0x20]
mov dword [rsp + 0x48], ecx
movzx ecx, byte [rsp + 0x138]
jmp 0x14009dcb0
mov eax, dword [rsp + 0x48]
movzx ecx, byte [rsp + 0x138]
mov rdi, qword [rdi + 0x20]
mov r10d, dword [rsp + 0x38]
jmp 0x14009dcb0
mov r10, qword [rsp + 0x80]
add r10, 8
mov qword [rsp + 0x80], r10
cmp r10, qword [rsp + 0x88]
jb 0x14009dbe0
movsxd rax, dword [r14 + 0x38]
mov r8, qword [r14 + 0x40]
lea rcx, [rax + rax*8]
lea rax, [r8 + rcx*8]
cmp r8, rax
jae 0x14009e36c
lea rcx, [rcx*8 - 1]
movabs rax, 0xe38e38e38e38e38f
mul rcx
add r8, 0xa
mov rdi, rdx
shr rdi, 6
inc rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r8 + 0x2e]
mov rbx, qword [r8 + 0x36]
mov r9d, dword [rax + 0x1c]
mov rax, qword [rax + 0x28]
mov ecx, dword [rbx + 0x1c]
mov r10d, dword [rax + 0x1c]
cmp r9d, ecx
jge 0x14009e340
cmp r10d, r9d
jge 0x14009e32b
sub r9d, r10d
sar r9d, 1
add word [r8], r9w
mov rax, qword [rbx + 0x20]
mov edx, dword [rax + 0x1c]
cmp edx, ecx
jle 0x14009e362
sub edx, ecx
sar edx, 1
add word [r8], dx
jmp 0x14009e362
cmp r10d, r9d
jle 0x14009e34f
sub r10d, r9d
sar r10d, 1
add word [r8], r10w
mov rax, qword [rbx + 0x20]
mov edx, dword [rax + 0x1c]
cmp edx, ecx
jge 0x14009e362
sub ecx, edx
sar ecx, 1
add word [r8], cx
add r8, 0x48
sub rdi, 1
jne 0x14009e300
mov eax, r11d
mov r15, qword [rsp + 0xe8]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x108]
add rsp, 0x110
pop r14
pop rdi
pop rbx
ret