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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rsi
push rdi
push r13
sub rsp, 0x50
xor esi, esi
mov rdi, rdx
mov rax, rcx
movzx r13d, si
mov word [rsp + 0x88], si
cmp si, word [rcx + 0xc]
jae 0x1400ea70b
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x20], rbp
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
nop word [rax + rax]
mov rax, qword [rax + 0x10]
movzx ecx, r13w
mov r14, qword [rax + rcx*8]
test r14, r14
je 0x1400ea6d5
movzx edx, byte [r14]
test dl, dl
je 0x1400ea6d5
mov r13, qword [rsp + 0x80]
nop dword [rax]
lea rbp, [r14 + 1]
movzx ecx, dl
lea r14, [rbp + 1]
mov r8, rbp
add r14, rcx
mov r12, r14
mov r10, r14
movzx eax, byte [rcx + rbp]
add r14, rax
cmp al, 1
jne 0x1400ea54f
movzx ecx, byte [r10]
movzx eax, byte [rbp]
mov byte [rdi + rcx*2 + 0x3c], al
movzx ecx, byte [r10]
movzx eax, byte [rbp + 1]
mov byte [rdi + rcx*2 + 0x3d], al
jmp 0x1400ea6bb
cmp dl, 1
jne 0x1400ea6a5
mov r9d, dword [rdi + 0xc]
test r9d, r9d
je 0x1400ea6bb
inc dword [rdi + 0x18]
xor edx, edx
movzx r11d, byte [r10 + 1]
movzx ebx, byte [r10]
shl r11d, 8
or r11d, ebx
mov eax, r11d
div dword [rdi + 0x24]
mov rax, qword [rdi + 0x28]
lea rdx, [rdx + rdx*4]
cmp byte [rdx + rax], 0
jne 0x1400ea5cb
cmp byte [rdx + rax + 1], 0
jne 0x1400ea5cb
mov byte [rdx + rax], bl
movzx eax, byte [r10 + 1]
mov rcx, qword [rdi + 0x28]
mov byte [rdx + rcx + 1], al
movzx eax, byte [rbp]
mov rcx, qword [rdi + 0x28]
mov byte [rdx + rcx + 2], al
mov rax, qword [rdi + 0x28]
mov byte [rdx + rax + 3], 0
mov rax, qword [rdi + 0x28]
mov byte [rdx + rax + 4], 1
inc dword [rdi + 0x20]
jmp 0x1400ea6bb
mov rcx, qword [rdi + 0x10]
xor edx, edx
mov eax, r11d
div r9d
lea r15, [rdx*8]
cmp qword [r15 + rcx], 0
jne 0x1400ea609
mov ecx, 6
call fcn.140012c10
mov rbx, rax
mov rax, qword [rdi + 0x10]
mov qword [r15 + rax], rbx
test rbx, rbx
je 0x1400ea6bb
jmp 0x1400ea688
movsxd rax, edx
mov rax, qword [rcx + rax*8]
test rax, rax
je 0x1400ea648
movzx ecx, byte [rax]
mov r9d, esi
test cl, cl
je 0x1400ea644
nop
movzx r8d, cl
inc rax
add rax, r8
add r9d, 2
movzx edx, byte [rax]
lea ecx, [r8 + rdx]
inc edx
add rax, rdx
add r9d, ecx
movzx ecx, byte [rax]
test cl, cl
jne 0x1400ea620
lea esi, [r9 + 1]
lea ecx, [rsi + 5]
call fcn.140012c10
mov rbx, rax
test rax, rax
je 0x1400ea6bb
mov rdx, qword [rdi + 0x10]
mov rcx, rax
movsxd r8, esi
mov rdx, qword [rdx + r15]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x10]
mov rcx, qword [rcx + r15]
call fcn.1401e12f0
mov rcx, qword [rdi + 0x10]
lea eax, [rsi - 1]
cdqe
mov qword [r15 + rcx], rbx
add rbx, rax
mov byte [rbx], 2
movzx eax, word [r12]
mov word [rbx + 1], ax
mov byte [rbx + 3], 1
movzx eax, byte [rbp]
mov byte [rbx + 4], al
mov byte [rbx + 5], 0
jmp 0x1400ea6bb
mov r9d, reloc.WS2_32.dll_shutdown
mov qword [rsp + 0x20], r13
mov rdx, r10
mov rcx, rdi
call fcn.1400ea8e0
movzx edx, byte [r14]
mov esi, 0
test dl, dl
jne 0x1400ea510
movzx r13d, word [rsp + 0x88]
mov rax, qword [rsp + 0x70]
inc r13w
mov word [rsp + 0x88], r13w
cmp r13w, word [rax + 0xc]
jb 0x1400ea4e0
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r13
pop rdi
pop rsi
ret