Function at 0x180098e80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180126040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
cmp dword [0x180127da4], 5
jge 0x180099180
movups xmm0, xmmword [0x18010a220]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010a230]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18010a240]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x18010a250]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x18010a260]
movups xmmword [rbp - 0x30], xmm0
mov eax, dword [0x18010a270]
mov dword [rbp - 0x20], eax
movzx eax, word [0x18010a274]
mov word [rbp - 0x1c], ax
mov r8d, r15d
cmp dword [0x180126018], 2
jl 0x180099055
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmm0, xmmword [0x18010fd40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x50
jl 0x180098f50
cmp r8d, 0x56
jge 0x180099090
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x56
jl 0x180099060
mov r14d, r15d
mov rdi, r15
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x30]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rbx, r10
je 0x18009913b
mov edx, r15d
test r10, r10
je 0x180099120
mov rax, r15
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x180099117
cmp r8d, 0xffffffff
jne 0x180099128
inc edx
mov eax, edx
cmp rax, r10
jb 0x180099100
test r14d, r14d
jle 0x180099135
dec r14d
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x1800990f2
jmp 0x18009913b
mov edi, r9d
add rdi, rsi
test r11, r11
je 0x18009943c
mov rdx, qword [rsp + 0x40]
sub rdx, r11
and rdx, 0xfffffffffffffffc
mov rax, r11
cmp rdx, 0x1000
jb 0x180099434
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180099434
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp dword [0x180127da4], 0xb
jge 0x180099458
movups xmm0, xmmword [0x18010a1d0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010a1e0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18010a1f0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x18010a200]
movups xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [0x18010a210]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x18010a218]
mov word [rbp - 0x28], ax
mov r8d, r15d
cmp dword [0x180126018], 2
jl 0x180099315
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmm0, xmmword [0x18010fd40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rsp + 0x70]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x48
jl 0x180099210
cmp r8d, 0x4a
jge 0x180099350
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x4a
jl 0x180099320
mov r14d, r15d
mov rdi, r15
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x30]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rbx, r10
je 0x1800993fb
mov edx, r15d
test r10, r10
je 0x1800993e0
mov rax, r15
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x1800993d7
cmp r8d, 0xffffffff
jne 0x1800993e8
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800993c0
test r14d, r14d
jle 0x1800993f5
dec r14d
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x1800993b2
jmp 0x1800993fb
mov edi, r9d
add rdi, rsi
test r11, r11
je 0x18009943c
mov rdx, qword [rsp + 0x40]
sub rdx, r11
and rdx, 0xfffffffffffffffc
mov rax, r11
cmp rdx, 0x1000
jb 0x180099434
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180099434
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d2cf0
test rdi, rdi
je 0x18009944c
movsxd rax, dword [rdi + 1]
add rdi, 5
add rdi, rax
mov qword [0x180128770], rdi
jmp 0x180099c22
cmp dword [0x180127da4], 0x10
jge 0x180099710
movups xmm0, xmmword [0x18010a1a8]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010a1b8]
movups xmmword [rbp - 0x60], xmm1
mov eax, dword [0x18010a1c8]
mov dword [rbp - 0x50], eax
movzx eax, word [0x18010a1cc]
mov word [rbp - 0x4c], ax
movzx eax, byte [0x18010a1ce]
mov byte [rbp - 0x4a], al
mov r8d, r15d
cmp dword [0x180126018], 2
jl 0x1800995e5
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmm0, xmmword [0x18010fd40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1800994e0
cmp r8d, 0x27
jge 0x180099620
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x27
jl 0x1800995f0
mov r14d, r15d
mov rdi, r15
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x30]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rbx, r10
je 0x1800996cb
mov edx, r15d
test r10, r10
je 0x1800996b0
mov rax, r15
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x1800996a7
cmp r8d, 0xffffffff
jne 0x1800996b8
inc edx
mov eax, edx
cmp rax, r10
jb 0x180099690
test r14d, r14d
jle 0x1800996c5
dec r14d
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x180099682
jmp 0x1800996cb
mov edi, r9d
add rdi, rsi
test r11, r11
je 0x1800999cc
mov rdx, qword [rsp + 0x40]
sub rdx, r11
and rdx, 0xfffffffffffffffc
mov rax, r11
cmp rdx, 0x1000
jb 0x1800999c4
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800999c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp dword [0x180127da4], 0x18
jge 0x1800999d8
movups xmm0, xmmword [0x18010a160]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010a170]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18010a180]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x18010a190]
movups xmmword [rbp - 0x40], xmm1
mov eax, dword [0x18010a1a0]
mov dword [rbp - 0x30], eax
movzx eax, word [0x18010a1a4]
mov word [rbp - 0x2c], ax
mov r8d, r15d
cmp dword [0x180126018], 2
jl 0x1800998a5
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmm0, xmmword [0x18010fd40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x1800997a0
cmp r8d, 0x46
jge 0x1800998e0
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x46
jl 0x1800998b0
mov r14d, r15d
mov rdi, r15
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x30]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rbx, r10
je 0x18009998b
mov edx, r15d
test r10, r10
je 0x180099970
mov rax, r15
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x180099967
cmp r8d, 0xffffffff
jne 0x180099978
inc edx
mov eax, edx
cmp rax, r10
jb 0x180099950
test r14d, r14d
jle 0x180099985
dec r14d
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x180099942
jmp 0x18009998b
mov edi, r9d
add rdi, rsi
test r11, r11
je 0x1800999cc
mov rdx, qword [rsp + 0x40]
sub rdx, r11
and rdx, 0xfffffffffffffffc
mov rax, r11
cmp rdx, 0x1000
jb 0x1800999c4
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800999c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d2cf0
mov qword [0x180128770], rdi
jmp 0x180099c22
movsd xmm0, qword [0x180127c98]
comisd xmm0, xmmword [0x18010f830]
jb 0x180099c1b
lea rdx, [0x180128e88]
lea rcx, [rbp - 0x70]
call fcn.18003ad50
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1800a1ea0
mov rsi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov ebx, 1
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.180035990
mov rcx, qword [rsp + 0x58]
mov byte [rcx], 0xe8
lea r11, [rcx + 1]
mov qword [rsp + 0x60], r11
lea rax, [rsp + 0x58]
mov qword [rbp - 0x80], rax
mov rdi, qword [rsi]
test rdi, rdi
jne 0x180099aa0
mov rdi, r15
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180099bfe
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180099be6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180099bdc
jmp 0x180099be6
lea r10, [rdi + 1]
mov r9, qword [rsp + 0x58]
nop dword [rax]
cmp ebx, 0x800
jge 0x180099ba6
mov edx, r15d
mov rcx, r15
mov r8, r11
sub r8, r9
je 0x180099af0
nop word [rax + rax]
movzx eax, byte [rcx + r9]
cmp al, 0xff
je 0x180099ae3
cmp byte [r10 + rcx], al
jne 0x180099b9c
inc edx
inc rcx
movsxd rax, edx
cmp rax, r8
jb 0x180099ad0
movsxd rax, ebx
add rax, rdi
mov qword [rsi], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rdx, qword [rsp + 0x60]
sub rdx, qword [rsp + 0x58]
je 0x180099b43
lea rcx, [rsp + 0x30]
call fcn.180035990
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], r15d
mov r9b, 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1800a2c10
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180099bf9
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180099be6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180099be6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
inc ebx
inc r10
jmp 0x180099ab0
mov rdi, r15
mov qword [rsp + 0x50], r15
test r9, r9
je 0x180099bfe
mov rdx, qword [rsp + 0x68]
sub rdx, r9
mov rax, r9
cmp rdx, 0x1000
jb 0x180099be3
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180099be3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1800d2cf0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x18009944c
movsxd rax, dword [rdi + 1]
add rdi, 5
add rdi, rax
mov qword [0x180128770], rdi
jmp 0x180099c22
mov rdi, qword [0x180128770]
cmp dword [0x180127da4], 0x18
jl 0x180099c41
movsd xmm0, qword [0x180127c98]
comisd xmm0, xmmword [0x18010f830]
jb 0x180099cf0
mov qword [rsp + 0x48], socket
test rdi, rdi
jne 0x180099cae
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
lea ecx, [rdi + 0x20]
call fcn.1800d2d00
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], socket
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.Couldnt_find_Free_]
movups xmmword [rax], xmm0
movzx ecx, word [0x180108ff0]
mov word [rax + 0x10], cx
movzx ecx, byte [0x180108ff2]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], dil
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180098070
xor al, al
jmp 0x180099cf2
mov dword [rsp + 0x3c], r15d
mov qword [rsp + 0x40], reloc.WS2_32.dll_inet_addr
movsd xmm0, qword [str.Found_Free_]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x180109000]
mov word [rsp + 0x38], ax
movzx eax, byte [0x180109002]
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
lea rcx, [rsp + 0x30]
call fcn.180097d70
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800d2960
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret