Function at 0x1401be150
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 0x1401be187
cmp dword [rsp + 0x108], 0x4000000
jle 0x1401be19b
lea rdx, str.table_overflow
mov rcx, qword [rsp + 0xf0]
call fcn.1401a71e0
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 0x1401be1f5
mov r8d, dword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1401be6e0
mov r8d, dword [rsp + 0x108]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1401be7f0
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 0x1401be423
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 0x1401be260
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jge 0x1401be38b
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 0x1401be386
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.1401bd720
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 0x1401be386
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + 0xc], eax
jne 0x1401be35f
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 0x1401be386
lea r9, [0x14043371c]
mov r8d, 0x18f
lea rdx, [0x1404343e0]
lea rcx, [0x140434430]
call fcn.140059e30
test eax, eax
je 0x1401be386
int3
jmp 0x1401be256
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 0x1401be3c8
movsxd rax, dword [rsp + 0x100]
imul rax, rax, 0x10
mov qword [rsp + 0x88], rax
jmp 0x1401be3e1
mov rcx, qword [rsp + 0xf0]
call fcn.1401b1750
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.1401b1370
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 0x1401be45f
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x1401be605
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 0x1401be600
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 0x1401be54d
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 0xc], eax
jne 0x1401be526
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 0x1401be54d
lea r9, [0x1404337dc]
mov r8d, 0x19e
lea rdx, [0x1404344a0]
lea rcx, [0x1404344f0]
call fcn.140059e30
test eax, eax
je 0x1401be54d
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.1401bb5b0
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 0x1401be600
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x58]
cmp dword [rcx + 0xc], eax
jne 0x1401be5d9
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 0x1401be600
lea r9, [0x14043392c]
mov r8d, 0x19f
lea rdx, [0x140434560]
lea rcx, [0x1404345b0]
call fcn.140059e30
test eax, eax
je 0x1401be600
int3
jmp 0x1401be455
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x20]
cmp qword [rsp + 0xa0], rax
je 0x1401be642
lea r9, [0x140433a4c]
mov r8d, 0x1a4
lea rdx, [0x140434620]
lea rcx, str.nnew__t__node
call fcn.140059e30
test eax, eax
je 0x1401be642
int3
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x18]
cmp qword [rsp + 0xa8], rax
je 0x1401be67f
lea r9, str.resize
mov r8d, 0x1a5
lea rdx, [0x140434670]
lea rcx, str.anew__t__array
call fcn.140059e30
test eax, eax
je 0x1401be67f
int3
lea rax, [0x1404336a0]
cmp qword [rsp + 0x78], rax
je 0x1401be6cb
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.1401b0bc0
add rsp, 0xd8
pop rdi
pop rsi
ret