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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
cmp dword [rsp + 0x100], 0x4000000
jg 0x1401b66a7
cmp dword [rsp + 0x108], 0x4000000
jle 0x1401b66bb
lea rdx, str.table_overflow
mov rcx, qword [rsp + 0xf0]
call fcn.14019f710
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 6]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x100], eax
jle 0x1401b6715
mov r8d, dword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1401b6c00
mov r8d, dword [rsp + 0x108]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1401b6d10
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x100], eax
jge 0x1401b6943
mov rax, qword [rsp + 0xf8]
mov ecx, dword [rsp + 0x100]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x34], eax
jmp 0x1401b6780
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jge 0x1401b68ab
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x18]
cmp dword [rcx + rax + 0xc], 0
je 0x1401b68a6
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x34]
inc eax
cvtsi2sd xmm0, eax
mov rax, qword [rsp + 0x80]
movsd qword [rax], xmm0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0xc], 3
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xf8]
add rax, qword [rcx + 0x18]
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1401b5c40
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xc], 5
jl 0x1401b68a6
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + 0xc], eax
jne 0x1401b687f
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
movzx eax, byte [rax + 1]
and eax, 0xb
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x18]
movzx ecx, byte [rcx + 0x20]
xor ecx, 3
and ecx, 3
cmp eax, ecx
jne 0x1401b68a6
lea r9, [0x14040f2bc]
mov r8d, 0x18f
lea rdx, [0x14040ff80]
lea rcx, [0x14040ffd0]
call fcn.1400586d0
test eax, eax
je 0x1401b68a6
int3
jmp 0x1401b6776
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 2]
mov byte [rsp + 0x30], al
movsxd rax, dword [rsp + 0x100]
movabs rcx, 0xfffffffffffffff
cmp rax, rcx
ja 0x1401b68e8
movsxd rax, dword [rsp + 0x100]
imul rax, rax, 0x10
mov qword [rsp + 0x88], rax
jmp 0x1401b6901
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9c70
mov qword [rsp + 0x88], 0xffffffffffffffff
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
movzx ecx, byte [rsp + 0x30]
mov byte [rsp + 0x20], cl
mov r9, qword [rsp + 0x88]
mov r8, rax
mov rax, qword [rsp + 0xf8]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0xf0]
call fcn.1401a9890
mov rcx, qword [rsp + 0xf8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov dword [rsp + 0x60], ecx
movzx ecx, al
mov eax, dword [rsp + 0x60]
shl eax, cl
dec eax
mov dword [rsp + 0x3c], eax
jmp 0x1401b697f
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x1401b6b25
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xc], 0
je 0x1401b6b20
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
and eax, 0xf
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xc], 5
jl 0x1401b6a6d
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 0xc], eax
jne 0x1401b6a46
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
movzx eax, byte [rax + 1]
and eax, 0xb
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x18]
movzx ecx, byte [rcx + 0x20]
xor ecx, 3
and ecx, 3
cmp eax, ecx
jne 0x1401b6a6d
lea r9, [0x14040f37c]
mov r8d, 0x19e
lea rdx, [0x140410040]
lea rcx, [0x140410090]
call fcn.1400586d0
test eax, eax
je 0x1401b6a6d
int3
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1401b3ad0
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x98]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 5
jl 0x1401b6b20
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x58]
cmp dword [rcx + 0xc], eax
jne 0x1401b6af9
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movzx eax, byte [rax + 1]
and eax, 0xb
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x18]
movzx ecx, byte [rcx + 0x20]
xor ecx, 3
and ecx, 3
cmp eax, ecx
jne 0x1401b6b20
lea r9, [0x14040f4cc]
mov r8d, 0x19f
lea rdx, [0x140410100]
lea rcx, [0x140410150]
call fcn.1400586d0
test eax, eax
je 0x1401b6b20
int3
jmp 0x1401b6975
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x20]
cmp qword [rsp + 0xa0], rax
je 0x1401b6b62
lea r9, [0x14040f5ec]
mov r8d, 0x1a4
lea rdx, [0x1404101c0]
lea rcx, str.nnew__t__node
call fcn.1400586d0
test eax, eax
je 0x1401b6b62
int3
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x18]
cmp qword [rsp + 0xa8], rax
je 0x1401b6b9f
lea r9, str.resize
mov r8d, 0x1a5
lea rdx, [0x140410210]
lea rcx, str.anew__t__array
call fcn.1400586d0
test eax, eax
je 0x1401b6b9f
int3
lea rax, [0x14040f240]
cmp qword [rsp + 0x78], rax
je 0x1401b6beb
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov dword [rsp + 0x64], ecx
movzx ecx, al
mov eax, dword [rsp + 0x64]
shl eax, cl
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xf8]
movzx r9d, byte [rcx + 2]
mov r8, rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xf0]
call fcn.1401a90e0
add rsp, 0xd8
pop rdi
pop rsi
ret