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

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
movzx r11d, r8b
mov rbx, rdx
mov r14, rcx
test rdx, rdx
jne 0x1401d0b78
lea eax, [rdx + 0x14]
add rsp, 0xa0
pop r14
pop rbx
pop rbp
ret
test r14, r14
jne 0x1401d0b8d
lea eax, [r14 + 6]
add rsp, 0xa0
pop r14
pop rbx
pop rbp
ret
xor r9d, r9d
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0x98], rdi
mov edx, 0xffffffff
mov qword [rsp + 0x90], r12
mov r12d, r9d
mov dword [rcx + 0x40], r9d
mov dword [rcx + 0x5c], edx
mov byte [rcx + 0x68], r9b
mov dword [rcx + 0x70], r9d
mov dword [rcx + 0x8c], edx
mov byte [rcx + 0x98], r9b
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x80], r15
mov dword [rbp - 0x19], r9d
cmp r9w, word [rbx]
jge 0x1401d0f74
mov r15d, r9d
mov qword [rbp + 0x1f], r9
mov rax, qword [rbx + 0x18]
lea ecx, [rdx + 1]
movsx rdx, word [rax + r15]
mov dword [rbp + 0x7f], edx
cmp edx, ecx
jle 0x1401d0f4c
mov rax, qword [rbx + 8]
mov r10, qword [rbx + 0x10]
lea r8, [rax + rdx*8]
mov r9, qword [r8]
movsxd rcx, ecx
mov qword [rbp - 0x31], r8
lea rdi, [rax + rcx*8]
mov rax, qword [rax + rcx*8]
lea rsi, [r10 + rcx]
movsx ecx, byte [r10 + rcx]
and ecx, 3
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
cmp ecx, 2
je 0x1401d0f6d
test ecx, ecx
jne 0x1401d0c8e
movzx ecx, byte [r10 + rdx]
and cl, 3
cmp cl, 1
jne 0x1401d0c65
mov rax, r9
sub r8, 8
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x31], r8
jmp 0x1401d0c87
add eax, r9d
shr r9, 0x20
add r9d, dword [rbp - 0x25]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x29], eax
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x25], eax
mov rax, qword [rbp - 0x29]
sub rdi, 8
dec rsi
cmp dword [r14 + 0x30], 0
mov byte [r14 + 0x14], 1
mov qword [r14 + 8], rax
mov byte [r14 + 0x15], r11b
jne 0x1401d0cb2
test r11b, r11b
je 0x1401d0cae
cmp dword [r14 + 0x2c], 0
je 0x1401d0cb2
xor cl, cl
jmp 0x1401d0cb4
mov cl, 1
xor r9d, r9d
mov byte [r14 + 0x28], cl
mov qword [r14 + 0x1c], rax
mov dword [r14], r9d
cmp rdi, r8
jae 0x1401d0f30
nop dword [rax + rax]
movsx ecx, byte [rsi + 1]
inc rsi
add rdi, 8
mov rdx, rdi
and ecx, 3
je 0x1401d0e58
cmp ecx, 1
je 0x1401d0d47
lea rax, [rdi + 8]
cmp rax, r8
ja 0x1401d0f6d
movzx eax, byte [rsi + 1]
and al, 3
cmp al, 2
jne 0x1401d0f6d
mov rax, qword [rdx]
add rdi, 0x10
add rsi, 2
mov qword [rbp - 0x11], rax
cmp rdi, r8
lea rdx, [rbp - 0x11]
mov rcx, r14
lea r8, [rbp - 9]
mov rax, qword [rdi - 8]
mov qword [rbp - 9], rax
ja 0x1401d0eff
mov rax, qword [rdi]
lea r9, [rbp - 1]
mov qword [rbp - 1], rax
call fcn.1401cfeb0
jmp 0x1401d0ee4
mov r12d, dword [rdi]
mov ecx, r9d
mov r13d, dword [rdi + 4]
mov eax, r12d
sub eax, dword [r14 + 8]
mov edx, r13d
sub edx, dword [r14 + 0xc]
mov dword [rbp + 0xf], r12d
mov dword [rbp + 0x13], r13d
mov dword [rbp - 0x39], eax
mov dword [rbp - 0x35], edx
test eax, eax
jne 0x1401d0d79
test edx, edx
je 0x1401d0e49
lea rcx, [rbp - 0x39]
call fcn.1401ca0a0
mov edx, dword [rbp - 0x35]
mov r15d, eax
mov ecx, dword [rbp - 0x39]
mov dword [rbp - 9], eax
call fcn.1401c3fc0
mov edx, dword [r14 + 0x3c]
lea rcx, [rbp - 0x39]
mov ebx, eax
mov dword [rbp - 0x11], eax
lea r8d, [rax + 0x5a0000]
call fcn.1401ca080
cmp byte [r14 + 0x14], 0
mov rcx, r14
je 0x1401d0dc2
mov r8d, r15d
mov edx, ebx
call fcn.1401d1f90
jmp 0x1401d0dce
mov edx, r15d
mov dword [r14 + 4], ebx
call fcn.1401d1f20
mov ecx, eax
test eax, eax
jne 0x1401d0e45
mov edx, dword [rbp - 0x35]
lea r15, [r14 + 0x40]
mov eax, dword [rbp - 0x39]
mov ebx, 1
nop dword [rax]
nop word [rax + rax]
add eax, r12d
mov r8b, 1
mov dword [rbp + 7], eax
mov rcx, r15
lea eax, [rdx + r13]
lea rdx, [rbp + 7]
mov dword [rbp + 0xb], eax
call fcn.1401d1590
mov ecx, eax
test eax, eax
jne 0x1401d0e51
mov eax, dword [rbp - 0x39]
add r15, 0x30
mov edx, dword [rbp - 0x35]
neg eax
neg edx
mov dword [rbp - 0x39], eax
sub ebx, 1
mov dword [rbp - 0x35], edx
jns 0x1401d0df0
mov eax, dword [rbp - 0x11]
mov dword [r14], eax
mov rax, qword [rbp + 0xf]
mov qword [r14 + 8], rax
mov eax, dword [rbp - 9]
mov dword [r14 + 0x10], eax
jmp 0x1401d0eee
mov r8, qword [rbp - 0x31]
test ecx, ecx
je 0x1401d0ef2
mov eax, ecx
jmp 0x1401d0f76
mov edx, dword [rdi]
mov ecx, dword [rdi + 4]
mov dword [rbp - 0x21], edx
mov dword [rbp - 0x1d], ecx
cmp rdi, r8
jae 0x1401d0f0a
movsx eax, byte [rsi + 1]
inc rsi
mov rbx, qword [rdi + 8]
add rdi, 8
and eax, 3
mov qword [rbp - 1], rbx
cmp eax, 1
je 0x1401d0ed4
test eax, eax
jne 0x1401d0f6d
lea eax, [rbx + rdx]
cdq
lea r8, [rbp + 0x17]
sub eax, edx
sar eax, 1
mov dword [rbp + 0x17], eax
mov rax, rbx
shr rax, 0x20
add eax, ecx
mov rcx, r14
cdq
sub eax, edx
lea rdx, [rbp - 0x21]
sar eax, 1
mov dword [rbp + 0x1b], eax
call fcn.1401cf760
mov ecx, eax
test eax, eax
jne 0x1401d0e51
mov r8, qword [rbp - 0x31]
mov rcx, rbx
shr rcx, 0x20
mov edx, ebx
mov qword [rbp - 0x21], rbx
jmp 0x1401d0e63
lea r8, [rbp - 1]
mov rcx, r14
lea rdx, [rbp - 0x21]
call fcn.1401cf760
mov ecx, eax
test eax, eax
jne 0x1401d0e51
mov r8, qword [rbp - 0x31]
cmp rdi, r8
jae 0x1401d0f1c
xor r9d, r9d
jmp 0x1401d0cd0
lea r9, [rbp - 0x29]
call fcn.1401cfeb0
jmp 0x1401d0f1a
lea r8, [rbp - 0x29]
mov rcx, r14
lea rdx, [rbp - 0x21]
call fcn.1401cf760
mov ecx, eax
test ecx, ecx
jne 0x1401d0e51
mov rbx, qword [rbp + 0x6f]
mov r15, qword [rbp + 0x1f]
mov r12d, dword [rbp - 0x19]
cmp byte [r14 + 0x14], 0
jne 0x1401d0f49
mov rcx, r14
call fcn.1401d06a0
mov ecx, eax
test eax, eax
jne 0x1401d0e51
mov edx, dword [rbp + 0x7f]
movsx eax, word [rbx]
inc r12d
add r15, 2
mov dword [rbp - 0x19], r12d
mov qword [rbp + 0x1f], r15
cmp r12d, eax
jge 0x1401d0f74
movzx r11d, byte [rbp + 0x77]
jmp 0x1401d0bf1
mov eax, socket
jmp 0x1401d0f76
xor eax, eax
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x80]
add rsp, 0xa0
pop r14
pop rbx
pop rbp
ret