Function at 0x140005358
Capabilities:
Authenticate hmac
Encode data using xor
Execute command
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
call fcn.14000332c
mov rcx, rax
call fcn.140001484
call fcn.14000332c
mov edi, 1
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x140005a2c
xor edx, edx
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
mov edx, edi
mov byte [rsp + 0x28], al
mov cl, 0x61
mov bl, al
call fcn.140001974
mov edx, 2
mov byte [rsp + 0x29], al
mov cl, reloc.WS2_32.dll_WSAStartup
mov dil, al
call fcn.140001974
mov edx, 3
mov byte [rsp + 0x2a], al
mov cl, 0x6b
mov sil, al
call fcn.140001974
mov edx, 4
mov byte [rsp + 0x2b], al
mov r14b, al
call fcn.140001974
mov edx, 5
mov byte [rsp + 0x2c], al
mov cl, 0x69
mov r15b, al
call fcn.140001974
mov edx, 6
mov byte [rsp + 0x2d], al
mov cl, 0x6c
mov r12b, al
call fcn.140001974
mov edx, 7
mov byte [rsp + 0x2e], al
mov r13b, al
call fcn.140001974
mov edx, 8
mov byte [rbp + 0xa0], al
mov cl, 0x20
mov byte [rsp + 0x2f], al
call fcn.140001974
mov edx, 9
mov byte [rbp + 0xa8], al
mov cl, 0x2f
mov byte [rsp + 0x30], al
call fcn.140001974
mov edx, 0xa
mov byte [rbp + 0xb0], al
mov cl, 0x66
mov byte [rsp + 0x31], al
call fcn.140001974
mov edx, ntohs
mov byte [rbp + 0xb8], al
mov cl, 0x20
mov byte [rsp + 0x32], al
call fcn.140001974
mov edx, ntohs
mov byte [rsp + 0x21], al
mov cl, 0x2f
mov byte [rsp + 0x33], al
call fcn.140001974
mov edx, ntohs
mov byte [rsp + 0x20], al
mov cl, 0x69
mov byte [rsp + 0x34], al
call fcn.140001974
mov edx, select
mov byte [rbp - 0x78], al
mov cl, 0x6d
mov byte [rsp + 0x35], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x77], al
mov cl, 0x20
mov byte [rsp + 0x36], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_recv
mov byte [rbp - 0x76], al
mov cl, 0x45
mov byte [rsp + 0x37], al
call fcn.140001974
mov edx, select
mov byte [rsp + 0x38], al
mov cl, 0x70
call fcn.140001974
mov edx, reloc.WS2_32.dll_select
mov byte [rsp + 0x39], al
mov cl, 0x69
call fcn.140001974
mov edx, reloc.WS2_32.dll_send
mov byte [rsp + 0x3a], al
mov cl, 0x63
call fcn.140001974
mov edx, socket
mov byte [rsp + 0x3b], al
mov cl, 0x47
call fcn.140001974
mov edx, reloc.WS2_32.dll_setsockopt
mov byte [rsp + 0x3c], al
mov cl, 0x61
call fcn.140001974
mov edx, reloc.WS2_32.dll_shutdown
mov byte [rsp + 0x3d], al
mov cl, 0x6d
call fcn.140001974
mov edx, reloc.WS2_32.dll_socket
mov byte [rsp + 0x3e], al
mov cl, 0x65
call fcn.140001974
mov edx, 0x18
mov byte [rsp + 0x22], al
mov cl, reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x3f], al
call fcn.140001974
mov edx, 0x19
mov byte [rsp + 0x40], al
mov cl, 0x4c
call fcn.140001974
mov edx, 0x1a
mov byte [rsp + 0x41], al
mov cl, 0x61
call fcn.140001974
mov edx, 0x1b
mov byte [rsp + 0x42], al
mov cl, 0x75
call fcn.140001974
mov edx, 0x1c
mov byte [rsp + 0x43], al
mov cl, WSAGetLastError
call fcn.140001974
mov edx, 0x1d
mov byte [rsp + 0x23], al
mov cl, 0x63
mov byte [rsp + 0x44], al
call fcn.140001974
mov edx, 0x1e
mov byte [rsp + 0x45], al
mov cl, 0x68
call fcn.140001974
mov edx, 0x1f
mov byte [rsp + 0x46], al
mov cl, 0x65
call fcn.140001974
mov edx, 0x20
mov byte [rsp + 0x47], al
mov cl, WSAStartup
call fcn.140001974
mov edx, 0x21
mov byte [rsp + 0x48], al
mov cl, 0x2e
call fcn.140001974
mov edx, 0x22
mov byte [rsp + 0x49], al
mov cl, 0x65
call fcn.140001974
mov edx, 0x23
mov byte [rsp + 0x4a], al
mov cl, 0x78
call fcn.140001974
mov byte [rsp + 0x4b], al
mov edx, 0x24
mov cl, 0x65
call fcn.140001974
mov byte [rsp + 0x4c], al
xor eax, eax
mov byte [rsp + 0x4d], al
xor edx, edx
movsxd rcx, edx
lea eax, [rdx + 0x13]
inc edx
xor byte [rsp + rcx + 0x28], al
cmp edx, 0x25
jb 0x140005626
lea rcx, [rsp + 0x28]
mov byte [rsp + 0x4d], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov al, byte [rbp + 0xa0]
mov cl, 0x46
mov byte [rsp + 0x2f], al
mov al, byte [rbp + 0xa8]
mov byte [rsp + 0x30], al
mov al, byte [rbp + 0xb0]
mov byte [rsp + 0x31], al
mov al, byte [rbp + 0xb8]
mov byte [rsp + 0x32], al
mov al, byte [rsp + 0x21]
mov byte [rsp + 0x33], al
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x34], al
mov al, byte [rbp - 0x78]
mov byte [rsp + 0x35], al
mov al, byte [rbp - 0x77]
mov byte [rsp + 0x36], al
mov al, byte [rbp - 0x76]
mov byte [rsp + 0x2c], r15b
mov r15d, reloc.WS2_32.dll_recv
mov edx, r15d
mov byte [rsp + 0x37], al
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x29], dil
mov byte [rsp + 0x2a], sil
mov byte [rsp + 0x2b], r14b
mov byte [rsp + 0x2d], r12b
mov byte [rsp + 0x2e], r13b
call fcn.140001974
lea esi, [r15 + 1]
mov byte [rsp + 0x38], al
mov edx, esi
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.140001974
lea r14d, [r15 + 2]
mov byte [rsp + 0x39], al
mov edx, r14d
mov cl, WSAStartup
call fcn.140001974
lea ebx, [rsi + 2]
mov byte [rsp + 0x3a], al
mov edx, ebx
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
lea edx, [rsi + 3]
mov byte [rsp + 0x3b], al
mov cl, WSAGetLastError
call fcn.140001974
lea edx, [rsi + 4]
mov byte [rsp + 0x3c], al
mov cl, 0x69
call fcn.140001974
lea edx, [rsi + 5]
mov byte [rsp + 0x3d], al
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
mov byte [rsp + 0x3e], al
lea edx, [rsi + 7]
mov al, byte [rsp + 0x22]
mov cl, 0x43
mov byte [rsp + 0x3f], al
call fcn.140001974
lea edx, [rsi + 8]
mov byte [rsp + 0x40], al
mov cl, 0x6c
call fcn.140001974
lea edx, [rsi + 9]
mov byte [rsp + 0x41], al
mov cl, 0x69
call fcn.140001974
lea edx, [rsi + 0xa]
mov byte [rsp + 0x42], al
mov cl, 0x65
call fcn.140001974
mov byte [rsp + 0x43], al
lea edx, [rsi + 0xc]
mov al, byte [rsp + 0x23]
mov byte [rsp + 0x44], al
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
lea edx, [rsi + 0xd]
mov byte [rsp + 0x45], al
mov cl, 0x2d
call fcn.140001974
lea edx, [rsi + 0xe]
mov byte [rsp + 0x46], al
mov cl, 0x57
call fcn.140001974
lea edx, [rsi + 0xf]
mov byte [rsp + 0x47], al
mov cl, 0x69
call fcn.140001974
lea edx, [rsi + 0x10]
mov byte [rsp + 0x48], al
mov cl, WSAGetLastError
call fcn.140001974
lea edx, [rsi + 0x11]
mov byte [rsp + 0x49], al
mov cl, 0x36
call fcn.140001974
lea edx, [rsi + 0x12]
mov byte [rsp + 0x4a], al
mov cl, 0x34
call fcn.140001974
lea edx, [rsi + 0x13]
mov byte [rsp + 0x4b], al
mov cl, 0x2d
call fcn.140001974
lea edx, [rsi + 0x14]
mov byte [rsp + 0x4c], al
mov cl, 0x53
call fcn.140001974
lea edx, [rsi + 0x15]
mov byte [rsp + 0x4d], al
mov cl, 0x68
call fcn.140001974
lea edx, [rsi + 0x16]
mov byte [rsp + 0x4e], al
mov cl, 0x69
call fcn.140001974
lea edx, [rsi + 0x17]
mov byte [rsp + 0x4f], al
mov cl, 0x70
call fcn.140001974
lea edx, [rsi + 0x18]
mov byte [rsp + 0x50], al
call fcn.140001974
lea edx, [rsi + 0x19]
mov byte [rsp + 0x51], al
mov cl, 0x69
call fcn.140001974
lea edx, [rsi + 0x1a]
mov byte [rsp + 0x52], al
mov cl, WSAGetLastError
call fcn.140001974
lea edx, [rsi + 0x1b]
mov byte [rsp + 0x53], al
mov cl, 0x67
call fcn.140001974
lea edx, [rsi + 0x1c]
mov byte [rsp + 0x54], al
mov cl, 0x2e
call fcn.140001974
lea edx, [rsi + 0x1d]
mov byte [rsp + 0x55], al
mov cl, 0x65
call fcn.140001974
lea edx, [rsi + 0x1e]
mov byte [rsp + 0x56], al
mov cl, 0x78
call fcn.140001974
lea edx, [rsi + 0x1f]
mov byte [rsp + 0x57], al
mov cl, 0x65
call fcn.140001974
mov byte [rsp + 0x58], al
xor eax, eax
mov byte [rsp + 0x59], al
xor edx, edx
lea edi, [rsi - 0x10]
movsxd rcx, edx
lea eax, [rbx + rdx]
add edx, edi
xor byte [rsp + rcx + 0x28], al
cmp edx, 0x31
jb 0x140005890
lea rcx, [rsp + 0x28]
mov byte [rsp + 0x59], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov cl, 0x64
call fcn.140001974
mov edx, edi
mov byte [rsp + 0x60], al
mov cl, WSAStartup
call fcn.140001974
mov edx, 2
mov byte [rsp + 0x61], al
mov cl, 0x69
call fcn.140001974
mov edx, 3
mov byte [rsp + 0x62], al
mov cl, 0x76
call fcn.140001974
mov edx, 4
mov byte [rsp + 0x63], al
mov cl, 0x65
call fcn.140001974
mov edx, 5
mov byte [rsp + 0x64], al
mov cl, WSAStartup
call fcn.140001974
mov edx, 6
mov byte [rsp + 0x65], al
mov cl, 0x20
call fcn.140001974
mov edx, 7
mov byte [rsp + 0x66], al
mov cl, 0x69
call fcn.140001974
mov edx, 8
mov byte [rsp + 0x67], al
mov cl, WSAGetLastError
call fcn.140001974
mov edx, 9
mov byte [rsp + 0x68], al
mov cl, 0x69
call fcn.140001974
mov edx, 0xa
mov byte [rsp + 0x69], al
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
mov edx, ntohs
mov byte [rsp + 0x6a], al
mov cl, 0x69
call fcn.140001974
mov edx, ntohs
mov byte [rsp + 0x6b], al
mov cl, 0x61
call fcn.140001974
mov edx, ntohs
mov byte [rsp + 0x6c], al
mov cl, 0x6c
call fcn.140001974
mov edx, select
mov byte [rsp + 0x6d], al
mov cl, 0x69
call fcn.140001974
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x6e], al
mov cl, 0x7a
call fcn.140001974
mov edx, r15d
mov byte [rsp + 0x6f], al
mov cl, 0x65
call fcn.140001974
mov edx, esi
mov byte [rsp + 0x70], al
mov cl, 0x2e
call fcn.140001974
mov edx, r14d
mov byte [rsp + 0x71], al
call fcn.140001974
mov edx, ebx
mov byte [rsp + 0x72], al
call fcn.140001974
mov byte [rsp + 0x73], al
xor eax, eax
mov byte [rsp + 0x74], al
xor edx, edx
movsxd rcx, edx
lea eax, [rbx + rdx]
add edx, edi
xor byte [rsp + rcx + 0x60], al
cmp edx, 0x14
jb 0x1400059e5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x60]
mov byte [rsp + 0x74], 0
call fcn.140008fac
lea rdx, [0x14000911c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140002c14
call fcn.14000332c
mov rcx, rax
call fcn.140001484
call fcn.14000332c
xor edx, edx
mov cl, 0x64
mov r8, rax
call fcn.140001974
mov edx, edi
mov cl, WSAStartup
mov r9b, al
call fcn.140001974
mov edx, 2
mov cl, 0x69
mov bl, al
call fcn.140001974
mov edx, 3
mov cl, 0x76
mov dil, al
call fcn.140001974
mov edx, 4
mov cl, 0x65
mov sil, al
call fcn.140001974
mov edx, 5
mov cl, WSAStartup
mov r14b, al
call fcn.140001974
mov edx, 6
mov cl, 0x20
mov r15b, al
call fcn.140001974
mov edx, 7
mov cl, 0x69
mov r12b, al
call fcn.140001974
mov edx, 8
mov cl, WSAGetLastError
mov r10b, al
call fcn.140001974
mov edx, 9
mov cl, 0x69
mov r11b, al
call fcn.140001974
mov edx, 0xa
mov byte [rbp + 0xa0], al
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
mov edx, ntohs
mov cl, 0x69
mov r13b, al
call fcn.140001974
mov edx, ntohs
mov byte [rbp + 0xa8], al
mov cl, 0x61
call fcn.140001974
mov edx, ntohs
mov byte [rbp + 0xb0], al
mov cl, 0x6c
call fcn.140001974
mov edx, select
mov byte [rbp + 0xb8], al
mov cl, 0x69
call fcn.140001974
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], al
mov cl, 0x7a
call fcn.140001974
mov edx, reloc.WS2_32.dll_recv
mov byte [rsp + 0x21], al
mov cl, 0x65
call fcn.140001974
cmp qword [r8 + 8], 0xffffffffffffffff
mov cl, al
mov al, byte [rbp + 0xa0]
mov edx, select
je 0x140005c06
mov byte [rsp + 0x69], al
mov al, byte [rbp + 0xa8]
mov byte [rsp + 0x6b], al
mov al, byte [rbp + 0xb0]
mov byte [rsp + 0x6c], al
mov al, byte [rbp + 0xb8]
mov byte [rsp + 0x6d], al
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x6e], al
mov al, byte [rsp + 0x21]
mov byte [rsp + 0x70], cl
mov cl, 0x64
mov byte [rsp + 0x6f], al
mov byte [rsp + 0x60], r9b
mov byte [rsp + 0x61], bl
mov byte [rsp + 0x62], dil
mov byte [rsp + 0x63], sil
mov byte [rsp + 0x64], r14b
mov byte [rsp + 0x65], r15b
mov byte [rsp + 0x66], r12b
mov byte [rsp + 0x67], r10b
mov byte [rsp + 0x68], r11b
mov byte [rsp + 0x6a], r13b
call fcn.140001974
mov edx, reloc.WS2_32.dll_select
mov byte [rsp + 0x71], al
mov cl, 0x21
call fcn.140001974
mov byte [rsp + 0x72], al
xor eax, eax
mov byte [rsp + 0x73], al
xor edx, edx
movsxd rcx, edx
lea eax, [rdx + 0x13]
inc edx
xor byte [rsp + rcx + 0x60], al
cmp edx, 0x13
jb 0x140005be6
mov byte [rsp + 0x73], 0
lea rdx, [rsp + 0x60]
jmp 0x140005d19
mov byte [rsp + 0x31], al
mov al, byte [rbp + 0xa8]
mov byte [rsp + 0x33], al
mov al, byte [rbp + 0xb0]
mov byte [rsp + 0x34], al
mov al, byte [rbp + 0xb8]
mov byte [rsp + 0x35], al
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x36], al
mov al, byte [rsp + 0x21]
mov byte [rsp + 0x38], cl
mov cl, 0x20
mov byte [rsp + 0x37], al
mov byte [rsp + 0x28], r9b
mov byte [rsp + 0x29], bl
mov byte [rsp + 0x2a], dil
mov byte [rsp + 0x2b], sil
mov byte [rsp + 0x2c], r14b
mov byte [rsp + 0x2d], r15b
mov byte [rsp + 0x2e], r12b
mov byte [rsp + 0x2f], r10b
mov byte [rsp + 0x30], r11b
mov byte [rsp + 0x32], r13b
call fcn.140001974
mov edx, reloc.WS2_32.dll_select
mov byte [rsp + 0x39], al
mov cl, 0x65
call fcn.140001974
mov edx, reloc.WS2_32.dll_send
mov byte [rsp + 0x3a], al
mov cl, WSAStartup
call fcn.140001974
mov edx, socket
mov byte [rsp + 0x3b], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_setsockopt
mov byte [rsp + 0x3c], al
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.140001974
mov edx, reloc.WS2_32.dll_shutdown
mov byte [rsp + 0x3d], al
mov cl, WSAStartup
call fcn.140001974
mov edx, reloc.WS2_32.dll_socket
mov byte [rsp + 0x3e], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x18
mov byte [rsp + 0x3f], al
mov cl, 0x3d
call fcn.140001974
mov edx, 0x19
mov byte [rsp + 0x40], al
mov cl, 0x3c
call fcn.140001974
mov byte [rsp + 0x41], al
xor eax, eax
mov byte [rsp + 0x42], al
xor edx, edx
movsxd rcx, edx
lea eax, [rdx + 0x13]
inc edx
xor byte [rsp + rcx + 0x28], al
cmp edx, 0x1a
jb 0x140005cfe
mov byte [rsp + 0x42], 0
lea rdx, [rsp + 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008fac
lea rdx, [0x14000911c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140065370]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov cl, 0xa
call fcn.140001974
mov edx, 1
mov byte [rbp - 0x70], al
mov cl, 0x20
call fcn.140001974
mov edx, 2
mov byte [rbp - 0x6f], al
call fcn.140001974
mov edx, 3
mov byte [rbp - 0x6e], al
call fcn.140001974
mov edx, 4
mov byte [rbp - 0x6d], al
mov cl, 0x5f
call fcn.140001974
mov edx, 5
mov byte [rbp - 0x6c], al
call fcn.140001974
mov edx, 6
mov byte [rbp - 0x6b], al
call fcn.140001974
mov edx, 7
mov byte [rbp - 0x6a], al
mov cl, 0x20
call fcn.140001974
mov edx, 8
mov byte [rbp - 0x69], al
call fcn.140001974
mov edx, 9
mov byte [rbp - 0x68], al
call fcn.140001974
mov edx, 0xa
mov byte [rbp - 0x67], al
call fcn.140001974
mov edx, ntohs
mov byte [rbp - 0x66], al
call fcn.140001974
mov edx, ntohs
mov byte [rbp - 0x65], al
call fcn.140001974
mov edx, ntohs
mov byte [rbp - 0x64], al
call fcn.140001974
mov edx, select
mov byte [rbp - 0x63], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], al
mov byte [rbp - 0x62], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_recv
mov byte [rbp - 0x61], al
call fcn.140001974
mov edx, select
mov byte [rbp - 0x60], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_select
mov byte [rbp - 0x5f], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_send
mov byte [rsp + 0x23], al
mov byte [rbp - 0x5e], al
call fcn.140001974
mov edx, socket
mov byte [rbp - 0x5d], al
mov cl, 0x5f
call fcn.140001974
mov byte [rbp - 0x5c], al
mov edx, reloc.WS2_32.dll_setsockopt
mov cl, 0x20
call fcn.140001974
mov edx, reloc.WS2_32.dll_shutdown
mov byte [rbp - 0x5b], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_socket
mov byte [rbp - 0x5a], al
call fcn.140001974
mov edx, 0x18
mov byte [rbp - 0x59], al
call fcn.140001974
mov edx, 0x19
mov byte [rbp - 0x58], al
call fcn.140001974
mov edx, 0x1a
mov byte [rsp + 0x22], al
mov byte [rbp - 0x57], al
call fcn.140001974
mov edx, 0x1b
mov byte [rbp - 0x56], al
call fcn.140001974
mov edx, 0x1c
mov byte [rbp - 0x55], al
call fcn.140001974
mov edx, 0x1d
mov byte [rbp - 0x54], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x1e
mov byte [rbp - 0x53], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x1f
mov byte [rbp - 0x52], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x20
mov byte [rbp - 0x51], al
call fcn.140001974
mov edx, 0x21
mov byte [rbp - 0x50], al
call fcn.140001974
mov edx, 0x22
mov byte [rbp - 0x4f], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x23
mov byte [rbp - 0x4e], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x24
mov byte [rbp - 0x4d], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x25
mov byte [rbp - 0x4c], al
call fcn.140001974
mov edx, 0x26
mov byte [rbp - 0x4b], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x27
mov byte [rbp - 0x4a], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x28
mov byte [rbp - 0x49], al
mov cl, 0xa
call fcn.140001974
mov edx, 0x29
mov byte [rbp - 0x48], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x2a
mov byte [rbp - 0x47], al
call fcn.140001974
mov edx, 0x2b
mov byte [rbp - 0x46], al
mov cl, 0x2f
call fcn.140001974
mov byte [rbp - 0x45], al
mov edx, 0x2c
mov cl, 0x20
call fcn.140001974
mov edx, 0x2d
mov byte [rbp - 0x44], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x2e
mov byte [rbp - 0x43], al
call fcn.140001974
mov edx, 0x2f
mov byte [rbp - 0x42], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x30
mov byte [rbp - 0x41], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x31
mov byte [rbp - 0x40], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x32
mov byte [rbp - 0x3f], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x33
mov byte [rbp - 0x3e], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x34
mov byte [rbp - 0x3d], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x35
mov byte [rbp - 0x3c], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x36
mov byte [rbp - 0x3b], al
call fcn.140001974
mov edx, 0x37
mov byte [rbp - 0x3a], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x38
mov byte [rbp - 0x39], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x39
mov byte [rbp - 0x38], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x3a
mov byte [rbp - 0x37], al
call fcn.140001974
mov edx, 0x3b
mov byte [rbp - 0x36], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x3c
mov byte [rbp - 0x35], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x3d
mov byte [rbp - 0x34], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x3e
mov byte [rbp - 0x33], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x3f
mov byte [rbp - 0x32], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x40
mov byte [rbp - 0x31], al
mov cl, 0x5f
call fcn.140001974
mov byte [rbp - 0x30], al
mov edx, 0x41
call fcn.140001974
mov edx, 0x42
mov byte [rbp - 0x2f], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x43
mov byte [rbp - 0x2e], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x44
mov byte [rbp - 0x2d], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x45
mov byte [rbp - 0x2c], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x46
mov byte [rbp - 0x2b], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x47
mov byte [rbp - 0x2a], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x48
mov byte [rbp - 0x29], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x49
mov byte [rbp - 0x28], al
call fcn.140001974
mov edx, 0x4a
mov byte [rbp - 0x27], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x4b
mov byte [rbp - 0x26], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x4c
mov byte [rbp - 0x25], al
mov cl, 0x5c
call fcn.140001974
mov edx, 0x4d
mov byte [rbp - 0x24], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x4e
mov byte [rbp - 0x23], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x4f
mov byte [rbp - 0x22], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x50
mov byte [rbp - 0x21], al
mov cl, 0xa
call fcn.140001974
mov edx, 0x51
mov byte [rbp - 0x20], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x52
mov byte [rbp - 0x1f], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x53
mov byte [rbp - 0x1e], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x54
mov byte [rbp - 0x1d], al
mov cl, 0x28
call fcn.140001974
mov edx, 0x55
mov byte [rbp - 0x1c], al
mov cl, 0x5f
call fcn.140001974
mov byte [rbp - 0x1b], al
mov edx, 0x56
call fcn.140001974
mov edx, 0x57
mov byte [rbp - 0x1a], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x58
mov byte [rbp - 0x19], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x59
mov byte [rbp - 0x18], al
mov cl, 0x27
call fcn.140001974
mov edx, 0x5a
mov byte [rbp - 0x17], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x5b
mov byte [rbp - 0x16], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x5c
mov byte [rbp - 0x15], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x5d
mov byte [rbp - 0x14], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x5e
mov byte [rbp - 0x13], al
call fcn.140001974
mov edx, 0x5f
mov byte [rbp - 0x12], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x60
mov byte [rbp - 0x11], al
mov cl, 0x28
call fcn.140001974
mov edx, 0x61
mov byte [rbp - 0x10], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x62
mov byte [rbp - 0xf], al
mov cl, 0x2d
call fcn.140001974
mov edx, 0x63
mov byte [rbp - 0xe], al
mov cl, 0x3c
call fcn.140001974
mov edx, 0x64
mov byte [rbp - 0xd], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x65
mov byte [rbp - 0xc], al
call fcn.140001974
mov edx, 0x66
mov byte [rbp - 0xb], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x67
mov byte [rbp - 0xa], al
mov cl, 0x2f
call fcn.140001974
mov edx, 0x68
mov byte [rbp - 9], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x69
mov byte [rbp - 8], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x6a
mov byte [rbp - 7], al
mov cl, 0x60
call fcn.140001974
mov byte [rbp - 6], al
mov edx, WSAGetLastError
mov cl, 0x20
call fcn.140001974
mov edx, WSAGetLastError
mov byte [rbp - 5], al
mov cl, 0x7c
call fcn.140001974
mov edx, WSAGetLastError
mov byte [rbp - 4], al
mov cl, 0x20
call fcn.140001974
mov edx, WSAGetLastError
mov byte [rbp - 3], al
mov cl, 0x7c
call fcn.140001974
mov edx, reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 2], al
mov cl, 0x20
call fcn.140001974
mov edx, WSACleanup
mov byte [rbp - 1], al
mov cl, 0x5f
call fcn.140001974
mov edx, WSACleanup
mov byte [rbp], al
mov cl, 0x7c
call fcn.140001974
mov edx, WSACleanup
mov byte [rbp + 1], al
call fcn.140001974
mov edx, reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 2], al
mov cl, 0x20
call fcn.140001974
mov edx, reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 3], al
mov cl, 0x2e
call fcn.140001974
mov edx, 0x75
mov byte [rbp + 4], al
mov cl, 0x60
call fcn.140001974
mov edx, 0x76
mov byte [rbp + 5], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x77
mov byte [rbp + 6], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x78
mov byte [rbp + 7], al
mov cl, 0xa
call fcn.140001974
mov edx, 0x79
mov byte [rbp + 8], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x7a
mov byte [rbp + 9], al
call fcn.140001974
mov edx, 0x7b
mov byte [rbp + 0xa], al
mov cl, 0x5c
call fcn.140001974
mov edx, 0x7c
mov byte [rbp + 0xb], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x7d
mov byte [rbp + 0xc], al
call fcn.140001974
mov edx, 0x7e
mov byte [rbp + 0xd], al
call fcn.140001974
mov edx, 0x7f
mov byte [rbp + 0xe], al
mov cl, 0x7c
call fcn.140001974
mov byte [rbp + 0xf], al
mov edx, 0x80
mov cl, 0x5f
call fcn.140001974
mov edx, 0x81
mov byte [rbp + 0x10], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x82
mov byte [rbp + 0x11], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x83
mov byte [rbp + 0x12], al
call fcn.140001974
mov edx, 0x84
mov byte [rbp + 0x13], al
mov cl, 0x5c
call fcn.140001974
mov edx, 0x85
mov byte [rbp + 0x14], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x86
mov byte [rbp + 0x15], al
mov cl, 0x2c
call fcn.140001974
mov edx, 0x87
mov byte [rbp + 0x16], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x88
mov byte [rbp + 0x17], al
mov cl, 0x2f
call fcn.140001974
mov edx, 0x89
mov byte [rbp + 0x18], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x8a
mov byte [rbp + 0x19], al
call fcn.140001974
mov edx, 0x8b
mov byte [rbp + 0x1a], al
mov cl, 0x2f
call fcn.140001974
mov edx, 0x8c
mov byte [rbp + 0x1b], al
mov cl, 0x5c
call fcn.140001974
mov edx, 0x8d
mov byte [rbp + 0x1c], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x8e
mov byte [rbp + 0x1d], al
call fcn.140001974
mov edx, 0x8f
mov byte [rbp + 0x1e], al
mov cl, 0x5c
call fcn.140001974
mov edx, 0x90
mov byte [rbp + 0x1f], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x91
mov byte [rbp + 0x20], al
call fcn.140001974
mov edx, 0x92
mov byte [rbp + 0x21], al
mov cl, 0x2c
call fcn.140001974
mov edx, __WSAFDIsSet
mov byte [rbp + 0x22], al
mov cl, 0x5f
call fcn.140001974
mov edx, __WSAFDIsSet
mov byte [rbp + 0x23], al
mov cl, 0x7c
call fcn.140001974
mov byte [rbp + 0x24], al
mov edx, __WSAFDIsSet
mov cl, 0x5f
call fcn.140001974
mov edx, __WSAFDIsSet
mov byte [rbp + 0x25], al
mov cl, 0x7c
call fcn.140001974
mov edx, reloc.WS2_32.dll___WSAFDIsSet
mov byte [rbp + 0x26], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x98
mov byte [rbp + 0x27], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x99
mov byte [rbp + 0x28], al
mov cl, 0x20
call fcn.140001974
mov edx, 0x9a
mov byte [rbp + 0x29], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x9b
mov byte [rbp + 0x2a], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x9c
mov byte [rbp + 0x2b], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0x9d
mov byte [rbp + 0x2c], al
mov cl, 0x5c
call fcn.140001974
mov edx, 0x9e
mov byte [rbp + 0x2d], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0x9f
mov byte [rbp + 0x2e], al
mov cl, 0x7c
call fcn.140001974
mov edx, 0xa0
mov byte [rbp + 0x2f], al
mov cl, 0xa
call fcn.140001974
mov edx, 0xa1
mov byte [rbp + 0x30], al
mov cl, 0x20
call fcn.140001974
mov edx, 0xa2
mov byte [rbp + 0x31], al
call fcn.140001974
mov edx, 0xa3
mov byte [rbp + 0x32], al
call fcn.140001974
mov edx, 0xa4
mov byte [rbp + 0x33], al
call fcn.140001974
mov edx, 0xa5
mov byte [rbp + 0x34], al
call fcn.140001974
mov edx, 0xa6
mov byte [rbp + 0x35], al
call fcn.140001974
mov edx, 0xa7
mov byte [rbp + 0x36], al
call fcn.140001974
mov edx, 0xa8
mov byte [rbp + 0x37], al
call fcn.140001974
mov edx, 0xa9
mov byte [rbp + 0x38], al
call fcn.140001974
mov edx, 0xaa
mov byte [rbp + 0x39], al
call fcn.140001974
mov edx, 0xab
mov byte [rbp + 0x3a], al
call fcn.140001974
mov byte [rbp + 0x3b], al
mov edx, 0xac
mov cl, 0x7c
call fcn.140001974
mov edx, 0xad
mov byte [rbp + 0x3c], al
mov cl, 0x5f
call fcn.140001974
mov edx, 0xae
mov byte [rbp + 0x3d], al
call fcn.140001974
mov edx, 0xaf
mov byte [rbp + 0x3e], al
mov cl, 0x2f
call fcn.140001974
mov edx, 0xb0
mov byte [rbp + 0x3f], al
mov cl, 0xa
call fcn.140001974
mov byte [rbp + 0x40], al
xor eax, eax
mov byte [rbp + 0x41], al
xor edx, edx
movsxd rcx, edx
lea eax, [rdx + 0x13]
inc edx
xor byte [rbp + rcx - 0x70], al
cmp edx, 0xb1
jb 0x140006752
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x70]
mov byte [rbp + 0x41], 0
call fcn.140008fac
lea rdx, [0x14000911c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.14000332c
xor edx, edx
mov cl, 0x44
mov r8, rax
call fcn.140001974
mov edx, 7
mov cl, 0x53
mov r9b, al
call fcn.140001974
mov edx, 8
mov cl, reloc.WS2_32.dll_WSACleanup
mov r10b, al
call fcn.140001974
mov edx, 9
mov cl, 0x61
mov r11b, al
call fcn.140001974
mov edx, ntohs
mov byte [rbp + 0xa0], al
mov cl, 0x75
call fcn.140001974
mov edx, ntohs
mov byte [rbp + 0xa8], al
mov cl, reloc.WS2_32.dll_WSAStartup
call fcn.140001974
mov edx, ntohs
mov byte [rbp + 0xb0], al
mov cl, 0x3a
call fcn.140001974
cmp qword [r8 + 8], 0xffffffffffffffff
mov cl, al
mov al, byte [rbp + 0xa0]
mov edx, reloc.WS2_32.dll_ntohs
je 0x140006945
mov byte [rsp + 0x31], al
mov al, byte [rbp + 0xa8]
mov byte [rsp + 0x33], al
mov al, byte [rbp + 0xb0]
mov byte [rsp + 0x34], al
mov al, byte [rbp + 0xb8]
mov byte [rsp + 0x35], cl
mov cl, 0x49
mov byte [rsp + 0x36], al
mov byte [rsp + 0x28], r9b
mov byte [rsp + 0x29], bl
mov byte [rsp + 0x2a], dil
mov byte [rsp + 0x2b], sil
mov byte [rsp + 0x2c], r14b
mov byte [rsp + 0x2d], r15b
mov byte [rsp + 0x2e], r12b
mov byte [rsp + 0x2f], r10b
mov byte [rsp + 0x30], r11b
mov byte [rsp + 0x32], r13b
call fcn.140001974
mov edx, reloc.WS2_32.dll_recv
mov byte [rsp + 0x37], al
mov cl, WSAGetLastError
call fcn.140001974
mov edx, select
mov byte [rsp + 0x38], al
mov cl, 0x69
call fcn.140001974
mov edx, reloc.WS2_32.dll_select
mov byte [rsp + 0x39], al
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
mov edx, reloc.WS2_32.dll_send
mov byte [rsp + 0x3a], al
mov cl, 0x69
call fcn.140001974
mov edx, socket
mov byte [rsp + 0x3b], al
mov cl, 0x61
call fcn.140001974
mov edx, reloc.WS2_32.dll_setsockopt
mov byte [rsp + 0x3c], al
mov cl, 0x6c
call fcn.140001974
mov edx, reloc.WS2_32.dll_shutdown
mov byte [rsp + 0x3d], al
mov cl, 0x69
call fcn.140001974
mov edx, reloc.WS2_32.dll_socket
mov byte [rsp + 0x3e], al
mov cl, 0x7a
call fcn.140001974
mov edx, 0x18
mov byte [rsp + 0x3f], al
mov cl, 0x65
call fcn.140001974
mov edx, 0x19
mov byte [rsp + 0x40], al
mov cl, 0x64
call fcn.140001974
mov byte [rsp + 0x41], al
xor eax, eax
mov byte [rsp + 0x42], al
xor r9d, r9d
movsxd r8, r9d
lea eax, [r9 + 0x13]
inc r9d
xor byte [rsp + r8 + 0x28], al
cmp r9d, 0x1a
jb 0x140006921
mov byte [rsp + 0x42], 0
lea rdx, [rsp + 0x28]
jmp 0x140006ac9
mov byte [rsp + 0x69], al
mov al, byte [rbp + 0xa8]
mov byte [rsp + 0x6b], al
mov al, byte [rbp + 0xb0]
mov byte [rsp + 0x6c], al
mov al, byte [rbp + 0xb8]
mov byte [rsp + 0x6d], cl
mov cl, 0x4e
mov byte [rsp + 0x6e], al
mov byte [rsp + 0x60], r9b
mov byte [rsp + 0x61], bl
mov byte [rsp + 0x62], dil
mov byte [rsp + 0x63], sil
mov byte [rsp + 0x64], r14b
mov byte [rsp + 0x65], r15b
mov byte [rsp + 0x66], r12b
mov byte [rsp + 0x67], r10b
mov byte [rsp + 0x68], r11b
mov byte [rsp + 0x6a], r13b
call fcn.140001974
mov edx, reloc.WS2_32.dll_recv
mov byte [rsp + 0x6f], al
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.140001974
mov edx, select
mov byte [rsp + 0x70], al
mov cl, reloc.WS2_32.dll_WSACleanup
call fcn.140001974
mov byte [rsp + 0x71], al
mov edx, reloc.WS2_32.dll_send
mov al, byte [rsp + 0x23]
mov cl, 0x4c
mov byte [rsp + 0x72], al
call fcn.140001974
mov edx, socket
mov byte [rsp + 0x73], al
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.140001974
mov edx, reloc.WS2_32.dll_setsockopt
mov byte [rsp + 0x74], al
mov cl, 0x61
call fcn.140001974
mov edx, reloc.WS2_32.dll_shutdown
mov byte [rsp + 0x75], al
mov cl, 0x64
call fcn.140001974
mov edx, reloc.WS2_32.dll_socket
mov byte [rsp + 0x76], al
mov cl, 0x65
call fcn.140001974
mov edx, 0x18
mov byte [rsp + 0x77], al
mov cl, 0x64
call fcn.140001974
mov byte [rsp + 0x78], al
mov edx, 0x1a
mov al, byte [rsp + 0x22]
mov cl, 0x5b
mov byte [rsp + 0x79], al
call fcn.140001974
mov edx, 0x1b
mov byte [rsp + 0x7a], al
mov cl, 0x45
call fcn.140001974
mov edx, 0x1c
mov byte [rsp + 0x7b], al
mov cl, WSAStartup
call fcn.140001974
mov edx, 0x1d
mov byte [rsp + 0x7c], al
call fcn.140001974
mov edx, 0x1e
mov byte [rsp + 0x7d], al
mov cl, reloc.WS2_32.dll_WSAGetLastError
call fcn.140001974
mov edx, 0x1f
mov byte [rsp + 0x7e], al
mov cl, WSAStartup
call fcn.140001974
mov byte [rsp + 0x7f], al
mov edx, 0x20
mov cl, 0x5d
call fcn.140001974
mov byte [rbp - 0x80], al
xor eax, eax
mov byte [rbp - 0x7f], al
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 0x13]
inc r8d
xor byte [rsp + rdx + 0x60], al
cmp r8d, 0x21
jb 0x140006aac
mov byte [rbp - 0x7f], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008fac
lea rdx, [0x14000911c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret