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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov dword [rsp + 0x2c], r9d
mov qword [rsp + 0x30], r8
mov rbp, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
mov rcx, qword [0x140443578]
test rcx, rcx
jne 0x140034fc2
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400353b8
mov rcx, rax
mov qword [0x140443578], rax
mov r8d, 0x50
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400353b8
mov r12, rax
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x1400989e0]
movups xmmword [rsp + 0x48], xmm0
xor esi, esi
lea rdi, [rsp + 0xb0]
mov r15, qword [sym.imp.ws2_32.dll_recv]
mov r14, qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor r13d, r13d
mov qword [rsp + 0x38], rsi
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rcx, qword [rbp]
mov rdx, rdi
mov r8d, 0x50
xor r9d, r9d
call r15
cmp eax, 0xffffffff
jne 0x140035060
call r14
cmp eax, 0x274a
je 0x14003515a
mov ebx, eax
mov ecx, eax
call fcn.140084604
cmp al, 0x23
je 0x140035020
jmp 0x1400351be
movsxd rbx, eax
test rbx, rbx
je 0x14003515a
cmp rbx, 0x51
jae 0x1400353b4
mov rax, qword [rsp + 0x48]
sub rax, r13
cmp rax, rbx
jb 0x14003513b
lea rcx, [r12 + r13]
mov rdx, rdi
mov r8, rbx
call fcn.1400931b0
add r13, rbx
mov qword [rsp + 0x50], r13
cmp r13, 5
jb 0x1400350f0
lea rax, [r13 - 4]
xor ecx, ecx
xor edx, edx
nop dword [rax]
test dl, dl
jne 0x1400350f0
cmp rcx, rax
ja 0x1400350f0
lea rbx, [rcx + 4]
cmp rbx, r13
ja 0x1400353b4
cmp rcx, rax
setae dl
mov rsi, rcx
adc rsi, 0
cmp dword [r12 + rcx], 0xa0d0a0d
mov rcx, rsi
jne 0x1400350b0
jmp 0x14003534e
mov rax, qword [rsp + 0x38]
add rax, 1
mov esi, 0
cmp rax, 0x64
cmovne rsi, rax
jne 0x14003500c
call fcn.14008fea3
xor ecx, ecx
cmp rax, qword [rsp + 0x30]
setne cl
mov eax, 0xff
cmovb ecx, eax
cmp edx, dword [rsp + 0x2c]
sbb eax, eax
test cl, cl
cmovne eax, ecx
cmp al, 2
jae 0x14003500c
jmp 0x14003538a
lea rcx, [rsp + 0x40]
mov rdx, r13
mov r8, rbx
call fcn.1400945d0
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x50]
jmp 0x140035087
mov ebp, 1
mov rsi, qword [rsp + 0x40]
xor ebx, ebx
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.1400931b0
sub r13, rbx
je 0x140035202
mov rcx, qword [0x140443578]
test rcx, rcx
jne 0x14003519d
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400351af
mov rcx, rax
mov qword [0x140443578], rax
xor edx, edx
mov r8, r13
call sub.kernel32.dll_HeapAlloc
mov rdi, rax
test rax, rax
jne 0x140035207
mov edx, 1
mov rcx, r13
call fcn.1400949bf
ud2
shl rbx, 0x20
cmp qword [rsp + 0x48], 0
je 0x1400351e2
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400351e2
mov rcx, qword [0x140443578]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0
movaps xmm0, xmmword [0x1400988e0]
movups xmmword [rax], xmm0
jmp 0x140035339
mov edi, 1
lea rdx, [rsi + rbx]
mov rcx, rdi
mov r8, r13
call fcn.1400931b0
cmp qword [rsp + 0x48], 0
je 0x140035234
test rsi, rsi
je 0x140035234
mov rcx, qword [0x140443578]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.1400244cc
cmp dword [rsp + 0xb0], 1
jne 0x14003529f
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x20]
movups xmmword [rax + 0x18], xmm1
movups xmmword [rax + 8], xmm0
mov qword [rax], 1
test r13, r13
je 0x14003531e
test rdi, rdi
je 0x14003531e
mov rcx, qword [0x140443578]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
jmp 0x14003531e
mov rax, qword [rsi + 0x68]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsi + 0x58]
movaps xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rsi + 0x48]
movaps xmmword [rsp + 0x80], xmm1
movups xmm2, xmmword [rsi + 8]
movups xmm3, xmmword [rsi + 0x18]
movups xmm4, xmmword [rsi + 0x28]
movups xmm5, xmmword [rsi + 0x38]
movaps xmmword [rsp + 0x70], xmm5
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x68], rax
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x48], xmm1
movups xmmword [rcx + 0x38], xmm5
movups xmmword [rcx + 0x28], xmm4
movups xmmword [rcx + 0x18], xmm3
movups xmmword [rcx + 8], xmm2
mov qword [rcx + 0x70], rdi
mov qword [rcx + 0x78], r13
mov qword [rcx + 0x80], r13
mov qword [rcx], 0
test rbx, rbx
je 0x140035339
test rbp, rbp
je 0x140035339
mov rcx, qword [0x140443578]
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapFree
nop
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x40]
mov rcx, qword [0x140443578]
test rcx, rcx
jne 0x140035373
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400353c9
mov rcx, rax
mov qword [0x140443578], rax
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400353c9
mov rbp, rax
jmp 0x140035166
mov rsi, qword [rsp + 0x40]
test r13, r13
je 0x1400353a5
mov rbx, r13
mov rcx, qword [0x140443578]
test rcx, rcx
jne 0x140035373
jmp 0x14003535f
mov ebp, 1
xor ebx, ebx
xor r13d, r13d
jmp 0x140035166
ud2
mov ecx, 0x50
mov edx, 1
call fcn.1400949bf
ud2
mov edx, 1
mov rcx, rbx
call fcn.1400949bf
ud2