Function at 0x140045520
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14024b028]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov edx, Ordinal_41
call fcn.140044e90
mov edx, eax
lea rcx, [rbp - 9]
call fcn.140045080
nop
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae r8, qword [rbp - 1]
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov rdi, 0xffffffffffffffff
mov r9d, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rdi
mov rcx, rax
call fcn.140076120
mov rsi, rax
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae r8, qword [rbp - 1]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rbp + 0xf]
lea rbx, [rcx*2 + 2]
mov rcx, rbx
call fcn.140076120
mov rdi, rax
mov qword [rbp - 0x41], r14
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.1401926d0
mov rcx, rdi
call fcn.140075d00
mov rcx, rsi
call fcn.140075d00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov qword [rbp - 0x31], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
lea rax, [rbp - 0x49]
mov qword [rbp - 0x39], rax
lea ecx, [r14 + 0x10]
call fcn.140075d20
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x31]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov ecx, 0x110
call fcn.14005fb90
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], 0x104
mov qword [rbp - 0x11], 0x10f
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.14015c2b0
mov byte [rbx + 0x104], r14b
mov qword [rbp - 0x41], r14
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140045785
mov edi, eax
mov rcx, qword [rbp - 0x19]
cmp rdi, rcx
ja 0x1400456df
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 0x19], rdi
mov byte [rax + rdi], r14b
jmp 0x140045733
sub rdi, rcx
mov rdx, qword [rbp - 0x11]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14004571c
lea rax, [rcx + rdi]
mov qword [rbp - 0x19], rax
lea rbx, [rbp - 0x29]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x29]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14015c2b0
mov byte [rbx + rdi], 0
jmp 0x140045733
mov byte [rsp + 0x20], 0
mov r9, rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.14005f9b0
mov edx, reloc.WLDAP32.dll_Ordinal_30
call fcn.140044e90
mov edx, eax
lea rcx, [rbp + 0x1f]
call fcn.140045260
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rdx, qword [rbp + 0x27]
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rcx, qword [rbp - 0x29]
call fcn.14018ff00
lea rcx, [rbp + 0x1f]
call fcn.14005b500
mov rcx, qword [rbp + 0x1f]
mov qword [rbp + 0x1f], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.140075c30
nop
mov edx, 3
lea rcx, [rbp - 0x41]
call fcn.140078220
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400457bc
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r14
test rax, rax
je 0x1400457bc
nop dword [rax]
mov qword [rax], r14
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400457b0
lea rcx, [rbp - 0x41]
call fcn.140078300
mov rax, qword [rbp - 0x11]
cmp rax, 0x10
jb 0x140045847
mov rdi, qword [rbp - 0x29]
lea rbx, [rax + 1]
test rdi, rdi
jne 0x14004583c
test rbx, rbx
je 0x14004583c
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14022b1ec]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3c7
lea rdx, [0x14022b1f0]
lea ecx, [rdi + 2]
call fcn.140188250
cmp eax, 1
jne 0x140045817
int3
mov qword [rsp + 0x20], r14
mov r9d, 0x3c7
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexmemory
lea rdx, [0x14022b324]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.140188b80
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc70
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x31], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.140075c30
nop
lea rcx, [rbp - 9]
call fcn.14005b500
mov rcx, qword [rbp - 9]
mov qword [rbp - 9], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.140075c30
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400753c0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret