Function at 0x14004cbc0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xf8]
sub rsp, 0x1f0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1401160c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
lea rdx, [0x1401178e0]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14004cc23
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x14011795c], rsi
mov qword [0x140117968], 1
mov qword [0x140117984], rsi
mov dword [0x140117978], 1
mov r9, qword [0x1401178d8]
mov qword [0x140117970], r9
mov dword [0x140117964], esi
mov dword [0x140117958], 0x15
mov eax, dword [0x1401179ec]
mov dword [0x140117950], eax
mov eax, dword [0x1401179e8]
mov dword [0x140117954], eax
mov dword [0x14011797c], 1
mov dword [0x140117980], 0x50
mov dword [0x14011798c], esi
cmp byte [0x1401178fc], sil
je 0x14004ccab
mov dword [0x14011798c], 1
mov rcx, qword [0x1401178e0]
mov rax, qword [rcx]
lea rdx, [0x140117990]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x140117950]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x14004cd05
mov rcx, qword [0x1401178e0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x140117840]
mov ecx, 0x63e8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140117840]
test r8, r8
je 0x14004cd85
mov r10d, dword [r8 + 0x3fe8]
movsx rax, word [r8 + 0x6258]
lea rdx, [r8 + 0x625c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14004cd7a
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6258], cx
movsx rax, cx
lea rdx, [r8 + 0x625c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r8 + 0x6250]
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x40]
mov qword [rbp], rax
mov qword [rsp + 0x60], r9
test r9, r9
je 0x14004cda9
xor edx, edx
mov rcx, r9
call fcn.140001e50
jmp 0x14004cdac
mov rax, rsi
mov qword [0x140117840], rax
call fcn.140006c00
test rbx, rbx
je 0x14004cdc4
mov qword [0x140117840], rbx
mov rcx, qword [0x1401178d8]
call fcn.1400320e0
mov rdi, qword [0x140117990]
mov rbx, qword [0x140117840]
mov ecx, Ordinal_41
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rax
mov r9, qword [0x140117840]
test r9, r9
je 0x14004ce58
mov r10d, dword [r9 + 0x3fe8]
movsx r11, word [r9 + 0x6258]
lea rdx, [r9 + 0x625c]
lea rdx, [rdx + r11*8]
cmp dword [rdx], r10d
je 0x14004ce4d
lea ecx, [r11 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r9 + 0x6258], cx
movsx rax, cx
lea rdx, [r9 + 0x625c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r9 + 0x6250]
test r8, r8
je 0x14004ce7e
mov qword [r8], rsi
mov qword [r8 + 8], rsi
mov qword [r8 + 0x10], rsi
mov qword [r8 + 0x18], rsi
mov dword [r8 + 0x20], 0x1388
mov dword [r8 + 0x24], 0x2710
jmp 0x14004ce81
mov r8, rsi
mov qword [rbx + 0xa0], r8
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0x90], rax
or dword [rbx + 0xc], 8
mov qword [r8], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
xor ecx, ecx
call fcn.140027b80
mov rax, qword [0x140117840]
mov rdi, qword [rax + 0x38]
movsd xmm0, qword [0x1401024d8]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [0x1401024e0]
mov dword [rsp + 0x50], ecx
movzx eax, byte [0x1401024e4]
mov byte [rsp + 0x54], al
mov r8d, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004d02e
movdqa xmm5, xmmword [0x140102fa0]
movdqa xmm6, xmmword [str.1111]
movdqa xmm7, xmmword [0x140102a40]
movdqa xmm2, xmmword [0x140102990]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140102a00]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [0x1401024d8]
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
movdqa xmm2, xmmword [0x1401029a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rsp + 0x4c]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
movdqa xmm3, xmmword [0x1401029b0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rsp + 0x50], xmm3
mov r8d, recv
mov eax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x14004d040
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.140004130
mov rbx, rax
test rax, rax
je 0x14004d213
xorps xmm2, xmm2
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 2
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov dword [rbp - 0x3c], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x38], ax
movups xmm3, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x10], xmm3
movups xmm4, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x20], xmm4
movups xmmword [rbp + 0x30], xmm2
xorps xmm5, xmm5
movups xmmword [rbp + 0x40], xmm5
movups xmm6, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x50], xmm6
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x60], xmm1
xorps xmm7, xmm7
movups xmmword [rbp + 0x70], xmm7
xorps xmm8, xmm8
movups xmmword [rbp + 0x80], xmm8
xorps xmm9, xmm9
movups xmmword [rbp + 0x90], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 0xa
movd eax, xmm0
test al, al
jne 0x14004d1cb
lea rcx, [rsp + 0x48]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14004d141
lea r9, [rsp + 0x48]
add r9, rax
lea rax, [rsp + 0x48]
cmp r9, rax
jbe 0x14004d17c
nop dword [rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14004d17c
cmp al, 0x5c
je 0x14004d17c
mov r9, rcx
lea rax, [rsp + 0x48]
cmp rcx, rax
ja 0x14004d160
movsd xmm0, qword [0x140102780]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, Ordinal_41
lea rcx, [rbp + 0x6a]
call fcn.140003cb0
movups xmm9, xmmword [rbp + 0x90]
movups xmm8, xmmword [rbp + 0x80]
movups xmm7, xmmword [rbp + 0x70]
movups xmm1, xmmword [rbp + 0x60]
movups xmm6, xmmword [rbp + 0x50]
movups xmm5, xmmword [rbp + 0x40]
movups xmm2, xmmword [rbp + 0x30]
movups xmm4, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x10]
movups xmmword [rsp + 0x70], xmm3
movups xmmword [rbp - 0x80], xmm4
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm5
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm7
movups xmmword [rbp - 0x20], xmm8
movups xmmword [rbp - 0x10], xmm9
mov qword [rsp + 0x70], rbx
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x78], eax
mov dword [rbp - 0x7c], 0x41900000
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14002c680
mov rcx, qword [0x1401178e0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400d2720
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret