Function at 0x140041eb0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x140055040]
xor rax, rsp
mov qword [rbp + 0x420], rax
cmp qword [rcx + 0x40], 5
mov rbx, rcx
mov rdx, qword [rcx + 0x60]
setbe al
mov word [rcx + 0x11], 0
cmp rdx, 3
mov byte [rcx + 0xe], al
mov byte [rcx + 0x10], 0
setbe al
cmp qword [rcx + 0x40], 5
mov byte [rcx + 0xf], al
jbe 0x1400423c6
cmp rdx, 3
jbe 0x1400423c6
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Trying_auth..._n
call fcn.14003c710
xor edx, edx
mov word [rsp + 0x20], 0x101
mov r8d, 0xfe
lea rcx, [rsp + 0x22]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x68], 0xf
lea rcx, [rbx + 0x50]
jbe 0x140041f50
mov rcx, qword [rcx]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov rdx, 0xffffffffffffffff
mov byte [rsp + 0x22], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140041f61
cmp rax, 1
jae 0x140041f77
mov byte [rsp + 0x23], 0x7c
jmp 0x140041f7f
movzx eax, byte [rcx + 1]
mov byte [rsp + 0x23], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140041f82
cmp rax, 2
jae 0x140041f98
mov byte [rsp + 0x24], 0x7c
jmp 0x140041fa0
movzx eax, byte [rcx + 2]
mov byte [rsp + 0x24], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140041fa3
cmp rax, 3
jae 0x140041fb9
mov byte [rsp + 0x25], 0x7c
jmp 0x140041fc1
movzx eax, byte [rcx + 3]
mov byte [rsp + 0x25], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140041fc4
cmp rax, 4
jae 0x140041fda
mov byte [rsp + 0x26], 0x7c
jmp 0x140041fe2
movzx eax, byte [rcx + 4]
mov byte [rsp + 0x26], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140041fe5
cmp rax, 5
jae 0x140041ffb
mov byte [rsp + 0x27], 0x7c
jmp 0x140042003
movzx eax, byte [rcx + 5]
mov byte [rsp + 0x27], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042006
cmp rax, 6
jae 0x14004201c
mov byte [rsp + 0x28], 0x7c
jmp 0x140042024
movzx eax, byte [rcx + 6]
mov byte [rsp + 0x28], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042027
cmp rax, 7
jae 0x14004203d
mov byte [rsp + 0x29], 0x7c
jmp 0x140042045
movzx eax, byte [rcx + 7]
mov byte [rsp + 0x29], al
mov rax, rdx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140042050
cmp rax, 8
jae 0x140042066
mov byte [rsp + 0x2a], 0x7c
jmp 0x14004206e
movzx eax, byte [rcx + 8]
mov byte [rsp + 0x2a], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042071
cmp rax, 9
jae 0x140042087
mov byte [rsp + 0x2b], 0x7c
jmp 0x14004208f
movzx eax, byte [rcx + 9]
mov byte [rsp + 0x2b], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042092
cmp rax, 0xa
jae 0x1400420a8
mov byte [rsp + 0x2c], 0x7c
jmp 0x1400420b0
movzx eax, byte [rcx + 0xa]
mov byte [rsp + 0x2c], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400420b3
cmp rax, 0xb
jae 0x1400420c9
mov byte [rsp + 0x2d], 0x7c
jmp 0x1400420d1
movzx eax, byte [rcx + 0xb]
mov byte [rsp + 0x2d], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400420d4
cmp rax, 0xc
jae 0x1400420ea
mov byte [rsp + 0x2e], 0x7c
jmp 0x1400420f2
movzx eax, byte [rcx + 0xc]
mov byte [rsp + 0x2e], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400420f5
cmp rax, 0xd
jae 0x14004210b
mov byte [rsp + 0x2f], 0x7c
jmp 0x140042113
movzx eax, byte [rcx + 0xd]
mov byte [rsp + 0x2f], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042116
cmp rax, 0xe
jae 0x14004212c
mov byte [rsp + 0x30], 0x7c
jmp 0x140042134
movzx eax, byte [rcx + 0xe]
mov byte [rsp + 0x30], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042137
cmp rax, 0xf
mov al, 0x7c
jb 0x14004214c
movzx eax, byte [rcx + 0xf]
cmp qword [rbx + 0x48], 0xf
lea rcx, [rbx + 0x30]
mov byte [rsp + 0x31], al
jbe 0x140042160
mov rcx, qword [rcx]
nop
movzx eax, byte [rcx]
mov byte [rsp + 0x32], al
mov rax, rdx
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140042170
cmp rax, 1
jae 0x140042186
mov byte [rsp + 0x33], 0x7c
jmp 0x14004218e
movzx eax, byte [rcx + 1]
mov byte [rsp + 0x33], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042191
cmp rax, 2
jae 0x1400421a7
mov byte [rsp + 0x34], 0x7c
jmp 0x1400421af
movzx eax, byte [rcx + 2]
mov byte [rsp + 0x34], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400421b2
cmp rax, 3
jae 0x1400421c8
mov byte [rsp + 0x35], 0x7c
jmp 0x1400421d0
movzx eax, byte [rcx + 3]
mov byte [rsp + 0x35], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400421d3
cmp rax, 4
jae 0x1400421e9
mov byte [rsp + 0x36], 0x7c
jmp 0x1400421f1
movzx eax, byte [rcx + 4]
mov byte [rsp + 0x36], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400421f4
cmp rax, 5
jae 0x14004220a
mov byte [rsp + 0x37], 0x7c
jmp 0x140042212
movzx eax, byte [rcx + 5]
mov byte [rsp + 0x37], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042215
cmp rax, 6
jae 0x14004222b
mov byte [rsp + 0x38], 0x7c
jmp 0x140042233
movzx eax, byte [rcx + 6]
mov byte [rsp + 0x38], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042236
cmp rax, 7
jae 0x14004224c
mov byte [rsp + 0x39], 0x7c
jmp 0x140042254
movzx eax, byte [rcx + 7]
mov byte [rsp + 0x39], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042257
cmp rax, 8
jae 0x14004226d
mov byte [rsp + 0x3a], 0x7c
jmp 0x140042275
movzx eax, byte [rcx + 8]
mov byte [rsp + 0x3a], al
mov rax, rdx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140042280
cmp rax, 9
jae 0x140042296
mov byte [rsp + 0x3b], 0x7c
jmp 0x14004229e
movzx eax, byte [rcx + 9]
mov byte [rsp + 0x3b], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400422a1
cmp rax, 0xa
jae 0x1400422b7
mov byte [rsp + 0x3c], 0x7c
jmp 0x1400422bf
movzx eax, byte [rcx + 0xa]
mov byte [rsp + 0x3c], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400422c2
cmp rax, 0xb
jae 0x1400422d8
mov byte [rsp + 0x3d], 0x7c
jmp 0x1400422e0
movzx eax, byte [rcx + 0xb]
mov byte [rsp + 0x3d], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400422e3
cmp rax, 0xc
jae 0x1400422f9
mov byte [rsp + 0x3e], 0x7c
jmp 0x140042301
movzx eax, byte [rcx + 0xc]
mov byte [rsp + 0x3e], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042304
cmp rax, 0xd
jae 0x14004231a
mov byte [rsp + 0x3f], 0x7c
jmp 0x140042322
movzx eax, byte [rcx + 0xd]
mov byte [rsp + 0x3f], al
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140042325
cmp rax, 0xe
jae 0x14004233b
mov byte [rsp + 0x40], 0x7c
jmp 0x140042343
movzx eax, byte [rcx + 0xe]
mov byte [rsp + 0x40], al
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140042343
mov al, 0x7c
cmp rdx, 0xf
jb 0x140042358
movzx eax, byte [rcx + 0xf]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov byte [rsp + 0x41], al
mov r8d, 0x100
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rbx]
lea rdx, [rbp + 0x20]
xor r9d, r9d
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recv]
cmp byte [rbp + 0x20], 1
jne 0x1400423c2
movzx eax, byte [rbp + 0x21]
cmp al, 1
jne 0x14004239c
mov byte [rbx + 0x12], al
jmp 0x1400423c6
cmp al, 2
jne 0x1400423a6
mov byte [rbx + 0x11], 1
jmp 0x1400423c6
cmp al, 3
jne 0x1400423b8
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.140040450
jmp 0x1400423c6
cmp al, 4
jne 0x1400423c2
mov byte [rbx + 0x13], 1
jmp 0x1400423c6
mov byte [rbx + 0x10], 1
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1400447d0
mov rbx, qword [rsp + 0x548]
add rsp, 0x530
pop rbp
ret