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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx]
lea rcx, [0x14018db38]
mov qword [r11 - 0x238], rcx
lea rcx, [0x1400c8a00]
mov qword [r11 - 0x230], rcx
mov qword [r11 - 0x228], rax
mov qword [r11 - 0x220], rdx
lea rax, [r11 - 0x238]
mov qword [r11 - 0x200], rax
lea r8, [r11 - 0x238]
mov rdx, qword [rdx + 0xe8]
lea rcx, [r11 - 0x1f8]
call fcn.1400ba6f0
nop
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x1400bc5fd
mov rax, qword [rcx]
lea rdx, [rsp + 0xc0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xor r14d, r14d
mov qword [rsp + 0xf8], r14
jmp 0x1400bc600
xor r14d, r14d
mov rsi, qword [rdi + 0x10]
mov r15, qword [rdi]
lea rcx, [r15 + 0x170]
lea r9, [0x1401db9d0]
mov r8d, 5
lea rdx, [rsp + 0x180]
call fcn.1400aa4e0
nop
lea rbx, [rax + 0x68]
mov rdx, rsi
mov rcx, rbx
call fcn.1400bc3e0
lea rdx, str.NEW_CONNECTION
mov rcx, rbx
call fcn.14000bbb0
nop
lea rcx, [rsp + 0x180]
call fcn.1400a9480
lea rcx, [rsp + 0x258]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, rsi
mov rcx, qword [r15 + 0x1a0]
call fcn.1400200d0
mov rdx, qword [rdi + 0x10]
add rdx, 0x98
lea rcx, [rsp + 0x58]
call fcn.14000f870
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], r14
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov ecx, dword [rax + 0x28]
cmp ecx, 4
jne 0x1400bc6c8
mov dword [rax + 0x28], 1
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rcx + 0x1a0]
call fcn.14012d1e0
jmp 0x1400bc6e7
cmp ecx, 5
jne 0x1400bc6e7
mov dword [rax + 0x28], 3
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rcx + 0x1a0]
call fcn.14012c830
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.1400c8dc0
test al, al
je 0x1400bc8ad
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x90]
mov rcx, qword [rdi]
call fcn.1400c0f00
mov r13d, eax
lea rcx, [rsp + 0x90]
call fcn.1400c8da0
test al, al
je 0x1400bc86a
mov r15, qword [rsp + 0x40]
cmp byte [rsp + 0x30], 0
jne 0x1400bc76b
mov r13d, 0xfffffffa
mov r12, r15
mov qword [rsp + 0x48], r15
jmp 0x1400bc770
mov r12, qword [rsp + 0x48]
mov dword [rsp + 0x68], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x6c], eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], r14
cmp r15, r12
je 0x1400bc811
mov rsi, r12
sub rsi, r15
cmp rsi, 0x1000
jb 0x1400bc7d1
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400bcbda
call fcn.140161d48
test rax, rax
je 0x1400bc85e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400bc7e6
test rsi, rsi
je 0x1400bc7e3
mov rcx, rsi
call fcn.140161d48
mov rbx, rax
jmp 0x1400bc7e6
mov rbx, r14
mov qword [rsp + 0x70], rbx
lea rax, [rbx + rsi]
mov qword [rsp + 0x80], rax
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbx, r15
lea rax, [rbx + r12]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x88], r13d
lea rdx, [rsp + 0x68]
mov rcx, qword [rdi + 0x10]
call fcn.1400c6170
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400bc86a
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc865
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc865
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
mov rax, qword [rdi + 0x10]
mov rcx, qword [rsp + 0x40]
cmp dword [rax + 0x28], 6
jne 0x1400bc8ed
test rcx, rcx
je 0x1400bc8ad
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc8a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bc91f
call fcn.140161d84
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400bc936
mov rdx, qword [rsp + 0xa8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc930
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc930
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rcx, rcx
je 0x1400bc6a0
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc926
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140161d84
jmp 0x1400bc6a0
call fcn.140161d84
nop
jmp 0x1400bc940
mov rcx, qword [rdi + 0x10]
call fcn.1400c3dc0
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x100]
call fcn.14011dc10
lea rcx, [rsp + 0x100]
call fcn.1400c8990
lea rcx, [rsp + 0x170]
call sub.MSVCP140.dll_bool___cdecl___ExceptionPtrToBool_void_const____ptr64_
test al, al
jne 0x1400bcbe0
mov rsi, qword [rdi + 0x10]
mov r15, qword [rdi]
lea rcx, [r15 + 0x118]
call fcn.14011cb60
test al, al
jne 0x1400bc9bb
cmp byte [rsi + 0x1c], al
jne 0x1400bc9bb
mov eax, dword [rsi + 0x14]
mov dword [rsp + 0x38], eax
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x3c], eax
lea rcx, [r15 + 0x1a8]
lea rdx, [rsp + 0x38]
call fcn.1400ccc90
lea rcx, [r15 + 0x170]
lea r9, [0x1401db9d0]
mov r8d, 5
lea rdx, [rsp + 0x180]
call fcn.1400aa4e0
nop
lea rbx, [rax + 0x68]
mov rdx, rsi
mov rcx, rbx
call fcn.1400bc3e0
lea rdx, str.CLOSE_CONNECTION
mov rcx, rbx
call fcn.14000bbb0
nop
lea rcx, [rsp + 0x180]
call fcn.1400a9480
lea rcx, [rsp + 0x258]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, rsi
mov rcx, qword [r15 + 0x1a0]
call fcn.14012ab70
mov rsi, qword [rdi + 8]
mov r10, qword [rdi]
mov r8, rsi
lea r9, [rsi + 0x10]
cmp rsi, r9
je 0x1400bca66
mov r11d, 0x9e3779b9
nop
mov rdx, r14
shl rdx, 6
mov rax, r14
shr rax, 2
add rax, rdx
movzx ecx, byte [r8]
add rax, r11
add rcx, rax
xor r14, rcx
inc r8
cmp r8, r9
jne 0x1400bca40
and r14, qword [r10 + 0x38]
mov r9, qword [r10 + 0x20]
mov r8, r14
add r8, r8
mov r11, qword [r9 + r8*8 + 8]
mov rbx, r11
mov rdx, qword [r10 + 0x10]
cmp r11, rdx
je 0x1400bcb3a
mov rcx, qword [r9 + r8*8]
movdqu xmm2, xmmword [rsi]
movdqu xmm0, xmmword [r11 + 0x10]
movdqa xmm1, xmm2
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
je 0x1400bcad5
nop word [rax + rax]
cmp rbx, rcx
je 0x1400bcb3a
mov rbx, qword [rbx + 8]
movdqu xmm0, xmmword [rbx + 0x10]
movdqa xmm1, xmm2
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400bcab0
test rbx, rbx
je 0x1400bcb3a
add r14, r14
mov rax, qword [r9 + r14*8]
cmp r11, rbx
jne 0x1400bcb01
cmp rax, rbx
jne 0x1400bcaf6
mov qword [r9 + r14*8], rdx
mov qword [r9 + r8*8 + 8], rdx
jmp 0x1400bcb0d
mov rdx, qword [rbx + 8]
mov qword [r9 + r8*8 + 8], rdx
jmp 0x1400bcb0d
cmp rax, rbx
jne 0x1400bcb0d
mov rax, qword [rbx]
mov qword [r9 + r14*8], rax
mov rdx, qword [rbx]
dec qword [r10 + 0x18]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbx + 0x20]
call fcn.140013910
mov edx, 0x160
mov rcx, rbx
call fcn.140161d84
nop
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x100]
call fcn.14011dc10
lea rcx, [rsp + 0x100]
call fcn.1400c8990
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x100]
call fcn.14011ddc0
lea rcx, [rsp + 0x170]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
lea rcx, [rsp + 0x148]
call fcn.1400200d0
mov rcx, qword [rsp + 0x140]
test rcx, rcx
je 0x1400bcbad
mov rax, qword [rcx]
lea rdx, [rsp + 0x108]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1401623e0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140016310
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x58]
call fcn.14006f2d0
mov rcx, rax
call fcn.140071180
int3
add rcx, 8
jmp 0x1400bc540