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

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rbp - 0x39], rax
mov rcx, qword [0x1400628b0]
mov edx, 0x43
mov rdi, qword [0x1400627d0]
call fcn.140001c50
test al, al
je 0x140047863
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rsi
xor esi, esi
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0xc0], xmm8
movss xmm8, dword [0x140056658]
movaps xmmword [rsp + 0xb0], xmm9
movss xmm9, dword [0x1400566b4]
movaps xmmword [rsp + 0xa0], xmm10
movss xmm10, dword [0x1400566f8]
movaps xmmword [rsp + 0x90], xmm11
movsd xmm11, qword [0x1400566f0]
movaps xmmword [rsp + 0x80], xmm12
movss xmm12, dword [0x140056900]
movaps xmmword [rsp + 0x70], xmm13
movsd xmm13, qword [0x1400566e8]
nop dword [rax + rax]
mov rax, qword [rdi]
lea r9, [rbp - 0x49]
mov edx, dword [0x140061150]
mov rcx, qword [0x1400628c8]
mov qword [rsp + 0x30], 1
mov rbx, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rbp - 0x49], esi
mov dword [rsp + 0x20], 4
lea r8, [rbx + 0x2098]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
jne 0x140047484
lea rdx, [rbx + 0x2098]
lea rcx, str.____Failed_to_read_Memory_at_0x_p_n
call fcn.140001e70
mov rax, qword [rdi]
lea r9, [rbp - 0x51]
mov edx, dword [0x140061150]
mov rcx, qword [0x1400628c8]
mov qword [rsp + 0x30], 1
mov rbx, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rbp - 0x51], esi
mov dword [rsp + 0x20], 4
lea r8, [rbx + 0x2b80]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
jne 0x1400474d8
lea rdx, [rbx + 0x2b80]
lea rcx, str.____Failed_to_read_Memory_at_0x_p_n
call fcn.140001e70
mov rax, qword [rdi]
lea r9, [rbp - 0x59]
mov edx, dword [0x140061150]
mov rcx, qword [0x1400628c8]
mov qword [rsp + 0x30], 1
mov rbx, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rbp - 0x59], esi
mov dword [rsp + 0x20], 4
lea r8, [rbx + 0x2b7c]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
jne 0x14004752c
lea rdx, [rbx + 0x2b7c]
lea rcx, str.____Failed_to_read_Memory_at_0x_p_n
call fcn.140001e70
movss xmm6, dword [rbp - 0x51]
xorps xmm0, xmm0
movss xmm7, dword [rbp - 0x49]
subss xmm6, xmm7
xorps xmm6, xmm12
cvtss2sd xmm0, xmm6
comisd xmm0, xmm13
jbe 0x14004755d
comisd xmm11, xmm0
jbe 0x14004755d
mov ecx, 0x2c
call fcn.140041bc0
cmp byte [0x1400628a0], sil
jne 0x1400475aa
movss xmm0, dword [rbp - 0x59]
comiss xmm0, xmm9
jbe 0x14004757d
comiss xmm6, xmm8
jbe 0x14004757d
comiss xmm10, xmm6
ja 0x14004759b
mov rcx, qword [0x1400628b0]
mov edx, 0x43
call fcn.140001c50
test al, al
jne 0x140047430
jmp 0x140047810
movss dword [0x1400628a4], xmm7
mov byte [0x1400628a0], 1
mov ecx, 0x2c
call fcn.140041940
lea rcx, [rbp - 0x49]
call fcn.1400026d0
mov rax, qword [rdi]
lea r9, [rbp - 0x59]
mov edx, dword [0x140061150]
mov rcx, qword [0x1400628c8]
mov qword [rsp + 0x30], 1
mov rbx, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rbp - 0x59], esi
mov dword [rsp + 0x20], 4
lea r8, [rbx + 0x2098]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
jne 0x140047611
lea rdx, [rbx + 0x2098]
lea rcx, str.____Failed_to_read_Memory_at_0x_p_n
call fcn.140001e70
movss xmm0, dword [rbp - 0x59]
subss xmm0, dword [0x1400628a4]
movsd xmm1, qword [0x1400566d0]
cvtps2pd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x14004773c
lea rcx, [rbp - 0x59]
call fcn.1400026d0
movsxd rbx, dword [rdi + 8]
movabs rax, 0x431bde82d7b634db
mov rcx, qword [rbp - 0x59]
movabs rdi, 0x7fffffffffffffff
sub rcx, qword [rbp - 0x49]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rbx
jge 0x1400476be
lea rcx, [rbp - 0x59]
sub rbx, rdx
call fcn.1400026d0
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x59], rax
cmp rbx, 1
jl 0x1400476ac
imul rdx, rbx, 0xf4240
mov rcx, rdi
sub rcx, rdx
cmp rax, rcx
jge 0x1400476a8
lea rcx, [rax + rdx]
mov qword [rbp - 0x59], rcx
jmp 0x1400476ac
mov qword [rbp - 0x59], rdi
lea rcx, [rbp - 0x59]
call fcn.140008b20
lea rcx, [rbp - 0x59]
call fcn.1400026d0
mov ecx, 0xe0
call fcn.140041940
lea rcx, [rbp - 0x59]
call fcn.1400026d0
mov rax, qword [rbp - 0x59]
movabs rcx, 0x7ffffffffff0bdbe
cmp rax, rcx
jg 0x1400476f0
add rax, 0xf4240
mov qword [rbp - 0x59], rax
jmp 0x1400476f4
mov qword [rbp - 0x59], rdi
lea rcx, [rbp - 0x59]
call fcn.140008b20
mov ecx, 0x2c
call fcn.140041bc0
lea rcx, [rbp - 0x59]
call fcn.1400026d0
mov rax, qword [rbp - 0x59]
movabs rcx, 0x7fffffffdc3cb9fe
cmp rax, rcx
jg 0x14004772f
add rax, 0x23c34600
mov qword [rbp - 0x59], rax
jmp 0x140047733
mov qword [rbp - 0x59], rdi
lea rcx, [rbp - 0x59]
call fcn.140008b20
and byte [0x140062310], 0xfe
cmp qword [0x140061ef8], rsi
jbe 0x140047809
inc dword [0x140061f08]
mov dword [0x140061f0c], 0x123c2c2f
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsd xmm0, qword [0x140062311]
lea rdx, [0x140061f00]
mov rcx, qword [0x140061ef8]
xor r9d, r9d
mov dword [0x140061f04], eax
movzx eax, byte [0x140062310]
mov byte [0x140061f10], al
movzx eax, word [0x140062319]
lea r8d, [r9 + 0x1c]
mov word [0x140061f19], ax
movzx eax, byte [0x14006231b]
mov byte [0x140061f1b], al
lea rax, [0x140062740]
mov dword [rsp + 0x28], sendto
mov qword [rsp + 0x20], rax
movsd qword [0x140061f11], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140061ef8]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rdx, [0x140062320]
lea rax, [rbp - 0x49]
mov dword [rbp - 0x59], sendto
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
mov byte [0x1400628a0], sil
movaps xmm12, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
movaps xmm13, xmmword [rsp + 0x70]
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.14004b1a0
mov rdi, qword [rsp + 0x110]
add rsp, 0xf0
pop rbp
ret