Function at 0x140002330
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8f8]
sub rsp, 0x9d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14010a0d0]
xor rax, rsp
mov qword [rbp + 0x8a0], rax
mov rbx, rcx
movsxd rdi, dword [rcx + 0x28]
cmp byte [rcx + 0x2c], 0
je 0x140002676
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor r13d, r13d
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
mov r15d, eax
lea rax, [rbx + 0x30]
test r15d, r15d
jle 0x140002659
lea r14, [rbx + 0xc8]
lea rsi, [r13 - 1]
movsd xmm7, qword [0x1400ff1d0]
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x20], 0x41
mov al, 0x32
mov cl, 0x38
movzx edx, al
xor r8d, r8d
xor al, 0x41
mov byte [rsp + 0x21], al
xor cl, 0x41
mov byte [rsp + 0x22], cl
xor dl, 0x41
mov byte [rsp + 0x23], dl
mov byte [rsp + 0x24], r8b
lea rcx, [rsp + 0x21]
mov rax, rsi
inc rax
cmp byte [rcx + rax], r8b
jne 0x140002400
mov rdi, qword [r14 + 0x10]
mov rcx, r14
mov r12, qword [r14 + 0x18]
cmp r12, 0x10
jb 0x14000241d
mov rcx, qword [r14]
cmp rdi, rax
jne 0x140002458
mov r8, rdi
lea rdx, [rsp + 0x21]
call fcn.14004adb0
test eax, eax
jne 0x140002458
mov edi, r15d
mov rdx, qword [rbx + 0xf0]
lea rcx, [rbx + 0xe8]
mov r9d, r15d
lea r8, [rbp + 0xa0]
call fcn.140008bd0
jmp 0x140002560
mov byte [rsp + 0x28], 0x2f
mov al, 0x4a
mov cl, 0x57
movzx edx, al
xor r8d, r8d
xor al, 0x2f
mov byte [rsp + 0x29], al
xor cl, 0x2f
mov byte [rsp + 0x2a], cl
xor dl, 0x2f
mov byte [rsp + 0x2b], dl
mov byte [rsp + 0x2c], r8b
lea rcx, [rsp + 0x29]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r8b
jne 0x140002490
mov rcx, r14
cmp r12, 0x10
jb 0x1400024a5
mov rcx, qword [r14]
cmp rdi, rax
jne 0x1400024e0
mov r8, rdi
lea rdx, [rsp + 0x29]
call fcn.14004adb0
test eax, eax
jne 0x1400024e0
mov edi, r15d
mov rdx, qword [rbx + 0x108]
lea rcx, [rbx + 0x100]
mov r9d, r15d
lea r8, [rbp + 0xa0]
call fcn.140008bd0
jmp 0x140002560
mov byte [rsp + 0x30], 0x2a
mov al, 0x4e
mov cl, 0x46
movzx edx, cl
xor r8d, r8d
xor al, 0x2a
mov byte [rsp + 0x31], al
xor cl, 0x2a
mov byte [rsp + 0x32], cl
xor dl, 0x2a
mov byte [rsp + 0x33], dl
mov byte [rsp + 0x34], r8b
lea rcx, [rsp + 0x31]
mov rax, rsi
inc rax
cmp byte [rcx + rax], r8b
jne 0x140002510
mov rcx, r14
cmp r12, 0x10
jb 0x140002525
mov rcx, qword [r14]
cmp rdi, rax
jne 0x14000255d
mov r8, rdi
lea rdx, [rsp + 0x31]
call fcn.14004adb0
test eax, eax
jne 0x14000255d
mov edi, r15d
mov rdx, qword [rbx + 0x120]
lea rcx, [rbx + 0x118]
mov r9d, r15d
lea r8, [rbp + 0xa0]
call fcn.140008bd0
jmp 0x140002560
mov edi, r15d
mov r12, qword [rsp + 0x58]
add r12, rdi
mov qword [rsp + 0x58], r12
mov rax, qword [rbp - 0x78]
add rax, r12
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
movd xmm0, dword [rbx + 0x30]
cvtdq2pd xmm0, xmm0
divsd xmm6, xmm0
mulsd xmm6, xmm7
inc r13d
cmp r13d, 0xa
jge 0x1400025a6
ucomisd xmm6, xmm7
jp 0x140002630
jne 0x140002630
xor r13d, r13d
movdqa xmm1, xmmword [0x1400ff370]
movdqu xmmword [rsp + 0x38], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x39], al
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
xor byte [rsp + 0x40], cl
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
mov byte [rsp + 0x48], r13b
lea rdx, [rsp + 0x39]
lea rcx, [0x14012bd70]
call fcn.1400075a0
cvttsd2si edx, xmm6
mov rcx, rax
call fcn.1400042a0
mov rcx, rax
call fcn.140007860
movsxd rcx, dword [rbx + 0x28]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0xa0]
call qword [sym.imp.WS2_32.dll_recv]
mov r15d, eax
test eax, eax
jg 0x1400023d0
lea rax, [rbx + 0x30]
movsxd rcx, dword [rax]
xorps xmm0, xmm0
movq rax, xmm0
add rcx, rax
je 0x140002bd3
mov byte [rbx + 0x2c], 0
jmp 0x140002bd3
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x4a0]
call fcn.14004a970
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x4a0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
xor r14d, r14d
mov qword [rsp + 0x78], r14
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call fcn.14004a970
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp + 0x4a0]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400026e4
mov r8, rsi
lea rdx, [rbp + 0x4a0]
lea rcx, [rsp + 0x38]
call fcn.140007a70
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140004030
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000274e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002749
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c0d
call fcn.140047b20
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400ff200]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], 0
mov r8b, 0x3a
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140008840
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1400027d3
mov rax, qword [rsp + 0x70]
cmp rax, qword [rsp + 0x78]
je 0x1400027a4
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140004790
add qword [rsp + 0x70], 0x20
jmp 0x1400027b5
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400090b0
mov r8b, 0x3a
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140008840
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140002784
mov rdi, qword [rsp + 0x68]
cmp rdi, qword [rsp + 0x70]
je case.default.0x140002846
cmp qword [rdi + 0x30], 0
je case.default.0x140002846
call fcn.140052f60
mov rsi, rax
cmp qword [rdi + 0x18], 0x10
jb 0x140002800
mov rdi, qword [rdi]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140053a60
cmp rdi, qword [rsp + 0x58]
je 0x140002c13
cmp dword [rsi], 0x22
je 0x140002c20
cmp eax, 5
ja case.default.0x140002846
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x2c64]
add rcx, rdx
jmp rcx
mov ebx, 0x47
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov byte [rsp + 0x58], 0x25
mov al, 0x7e
mov cl, 4
mov dl, 0x78
mov r8b, 5
mov r9b, 0x43
mov r10b, 0x44
mov r11b, 0x4c
mov bl, 0x49
mov dil, 0x40
mov sil, 0x41
mov r14b, 0x1f
movzx r15d, r8b
xor r12d, r12d
xor al, 0x25
mov byte [rsp + 0x59], al
xor cl, 0x25
mov byte [rsp + 0x5a], cl
xor dl, 0x25
mov byte [rsp + 0x5b], dl
xor r8b, 0x25
mov byte [rsp + 0x5c], r8b
xor r9b, 0x25
mov byte [rsp + 0x5d], r9b
xor r10b, 0x25
mov byte [rsp + 0x5e], r10b
xor r11b, 0x25
mov byte [rsp + 0x5f], r11b
xor bl, 0x25
mov byte [rsp + 0x60], bl
xor dil, 0x25
mov byte [rsp + 0x61], dil
xor sil, 0x25
mov byte [rsp + 0x62], sil
xor r14b, 0x25
mov byte [rsp + 0x63], r14b
xor r15b, 0x25
mov byte [rsp + 0x64], r15b
mov byte [rsp + 0x65], r12b
lea rdx, [rsp + 0x59]
lea rcx, [0x14012bd70]
call fcn.1400075a0
mov rdx, qword [rsp + 0x68]
add rdx, 0x20
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000291d
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140008e10
mov rcx, rax
call fcn.140007860
nop dword [rax]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002930
mov byte [rsp + 0x58], 0x37
mov al, 0x6c
mov cl, reloc.WS2_32.dll_send
mov dl, 0x6a
mov r8b, reloc.WS2_32.dll_socket
mov r9b, 0x44
mov r10b, 0x42
mov r11b, 0x54
movzx ebx, r11b
mov dil, 0x52
movzx esi, r9b
movzx r14d, r9b
mov r15b, 0xd
movzx r12d, r8b
xor r13d, r13d
xor al, 0x37
mov byte [rsp + 0x59], al
xor cl, 0x37
mov byte [rsp + 0x5a], cl
xor dl, 0x37
mov byte [rsp + 0x5b], dl
xor r8b, 0x37
mov byte [rsp + 0x5c], r8b
xor r9b, 0x37
mov byte [rsp + 0x5d], r9b
xor r10b, 0x37
mov byte [rsp + 0x5e], r10b
xor r11b, 0x37
mov byte [rsp + 0x5f], r11b
xor bl, 0x37
mov byte [rsp + 0x60], bl
xor dil, 0x37
mov byte [rsp + 0x61], dil
xor sil, 0x37
mov byte [rsp + 0x62], sil
xor r14b, 0x37
mov byte [rsp + 0x63], r14b
xor r15b, 0x37
mov byte [rsp + 0x64], r15b
xor r12b, 0x37
mov byte [rsp + 0x65], r12b
mov byte [rsp + 0x66], r13b
lea rdx, [rsp + 0x59]
lea rcx, [0x14012bd70]
call fcn.1400075a0
mov rdx, qword [rsp + 0x68]
add rdx, 0x20
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140002a06
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140008e10
mov rcx, rax
call fcn.140007860
jmp case.default.0x140002846
mov rdi, qword [rsp + 0x68]
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x38]
cmp rcx, rdx
je 0x140002a45
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140002a3b
mov rdx, qword [rdx]
call fcn.140005af0
mov rdi, qword [rsp + 0x68]
add rdi, 0x40
call fcn.140052f60
mov rsi, rax
cmp qword [rdi + 0x18], 0x10
jb 0x140002a5b
mov rdi, qword [rdi]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140053a60
cmp rdi, qword [rsp + 0x58]
je 0x140002c2d
cmp dword [rsi], 0x22
je 0x140002c3a
mov dword [rbx + 0xa0], eax
mov byte [rbx + 0x34], 1
jmp case.default.0x140002846
mov rdx, qword [rsp + 0x68]
add rdx, 0x20
lea rcx, [rbx + 0xa8]
cmp rcx, rdx
je case.default.0x140002846
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140002abb
mov rdx, qword [rdx]
call fcn.140005af0
jmp case.default.0x140002846
mov byte [rbx + 0x2c], 1
mov rdi, qword [rsp + 0x68]
add rdi, 0x20
call fcn.140052f60
mov rsi, rax
cmp qword [rdi + 0x18], 0x10
jb 0x140002ae4
mov rdi, qword [rdi]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140053a60
cmp rdi, qword [rsp + 0x58]
je 0x140002c47
cmp dword [rsi], 0x22
je 0x140002c54
mov dword [rbx + 0x30], eax
jmp case.default.0x140002846
mov edi, 1
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
sub rax, rdx
sar rax, 5
cmp rax, rdi
jbe case.default.0x140002846
mov ecx, edi
shl rcx, 5
lea r8, [rcx + rdx]
mov rax, qword [rbx + 0x138]
cmp rax, qword [rbx + 0x140]
je 0x140002b5d
mov rdx, r8
mov rcx, rax
call fcn.140004790
add qword [rbx + 0x138], 0x20
jmp 0x140002b6c
mov rdx, rax
lea rcx, [rbx + 0x130]
call fcn.1400090b0
inc edi
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
sub rax, rdx
sar rax, 5
movsxd rcx, edi
cmp rcx, rax
jb 0x140002b30
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140002bbf
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c0d
call fcn.140047b20
nop
lea rcx, [rbp - 0x60]
call fcn.140002c80
nop
lea rcx, [rsp + 0x68]
call fcn.140005a60
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140047b00
lea r11, [rsp + 0x9d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140053fc8
nop
lea rcx, str.invalid_stoi_argument
call fcn.140046324
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.14004636c
int3
lea rcx, str.invalid_stoi_argument
call fcn.140046324
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.14004636c
int3
lea rcx, str.invalid_stoi_argument
call fcn.140046324
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.14004636c
int3