Function at 0x180029350
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
lea rbp, [rax - 0x98]
sub rsp, 0x190
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1801551e0]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor esi, esi
movss xmm8, dword [0x180136b14]
cmp byte [0x18017f828], sil
jne 0x1800293b3
cmp byte [0x18017f859], sil
jne 0x1800293b3
cmp byte [0x18017fae1], sil
je 0x1800295a7
mov rax, qword [0x180183668]
mov rax, qword [rax + 0x48c8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.180065d30
mov rbx, rax
movss xmm6, dword [0x180136adc]
movss xmm7, dword [0x180136be4]
cmp byte [0x18017f828], sil
je 0x18002947d
lea rcx, [0x18017f5b0]
call fcn.180062d10
mov edi, eax
movss xmm0, dword [0x180183768]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x18018376c]
movss dword [rsp + 0x34], xmm1
test eax, 0xff000000
je 0x18002947d
movss xmm2, dword [0x18017f82c]
comiss xmm6, xmm2
ja 0x18002947d
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x63
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180084470
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.180082ac0
mov dword [rbx + 0x78], esi
cmp byte [0x18017f859], sil
je 0x180029512
lea rcx, [0x18017f5d0]
call fcn.180062d10
mov edi, eax
movss xmm0, dword [0x180183768]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x18018376c]
movss dword [rsp + 0x34], xmm1
test eax, 0xff000000
je 0x180029512
movss xmm2, dword [0x18017f85c]
comiss xmm6, xmm2
ja 0x180029512
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x63
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180084470
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.180082ac0
mov dword [rbx + 0x78], esi
cmp byte [0x18017fae1], sil
je 0x1800295a7
lea rcx, [0x18017f5c0]
call fcn.180062d10
mov edi, eax
movss xmm0, dword [0x180183768]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x18018376c]
movss dword [rsp + 0x34], xmm1
test eax, 0xff000000
je 0x1800295a7
movss xmm2, dword [0x18017fae4]
comiss xmm6, xmm2
ja 0x1800295a7
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x63
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180084470
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.180082ac0
mov dword [rbx + 0x78], esi
cmp byte [0x18017f804], sil
je 0x1800297b5
cmp byte [reloc.WS2_32.dll_accept], sil
jne 0x1800295fc
mov rax, qword [0x180183668]
or dword [rax + 0x47c8], 1
movss xmm0, dword [0x180184dc8]
movss dword [rax + 0x47d8], xmm0
movss xmm1, dword [0x180184dcc]
movss dword [rax + 0x47dc], xmm1
mov qword [rax + 0x47e0], rsi
mov dword [rax + 0x47cc], 1
movdqa xmm0, xmmword [0x180137bb0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xbe81a8a9
mov dword [rsp + 0x44], 0x9ebba48d
mov dword [rsp + 0x48], 0xa289ae
mov byte [rsp + 0x4c], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1b
jb 0x180029630
mov byte [rsp + 0x4c], sil
mov r8d, reloc.WLDAP32.dll_Ordinal_35
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x30]
call fcn.18006c630
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x18002968d
mov rax, qword [0x180183668]
mov rcx, qword [rax + 0x3ef0]
movss xmm0, dword [rcx + 0x20]
movss xmm1, dword [rcx + 0x24]
movss dword [0x180184dc8], xmm0
movss dword [0x180184dcc], xmm1
mov edx, 0xc8ffffff
xor ecx, ecx
call fcn.180063760
mov rcx, qword [0x180183668]
mov rax, qword [rcx + 0x3ef0]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ef0]
movss xmm1, dword [rax + 0x24]
subss xmm1, dword [rax + 0x88]
addss xmm1, dword [0x180136bf4]
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm0, dword [0x180136bcc]
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
mov byte [rax + 0x141], 1
movdqa xmm0, xmmword [0x1801377e0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x9bc2c6df
mov dword [rsp + 0x44], 0xc9cb96c9
mov word [rsp + 0x48], 0x9e
mov byte [rsp + 0x4a], 1
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x19
jb 0x180029730
mov byte [rsp + 0x4a], sil
movaps xmm0, xmmword [0x18017f9c0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [0x18017f9d0]
movaps xmmword [rbp - 0x40], xmm1
lea r8, str.Dec_27_2023
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.180091f10
mov r8, qword [0x180183668]
cmp dword [r8 + 0x4838], 1
jl 0x1800297b0
movsxd rax, dword [r8 + 0x4838]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4840]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38d8], xmm0
dec dword [r8 + 0x4838]
call fcn.18006ecc0
cmp byte [0x18017f803], sil
je 0x1800298e6
mov rax, qword [0x180183668]
mov rax, qword [rax + 0x48c8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180065d30
mov r10, rax
movaps xmm0, xmmword [0x1801375b0]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.180062d10
movss xmm2, dword [0x180183768]
movaps xmm0, xmm2
addss xmm0, dword [0x180136bdc]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x18018376c]
movss dword [rsp + 0x34], xmm1
subss xmm2, dword [0x180136bcc]
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm1
movss xmm7, dword [0x180136b00]
movss dword [rsp + 0x20], xmm7
mov r9d, eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, r10
call fcn.180084e00
mov rax, qword [0x180183668]
mov rax, qword [rax + 0x48c8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180065d30
mov r10, rax
movaps xmm0, xmmword [0x1801375b0]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.180062d10
movss xmm2, dword [0x18018376c]
movaps xmm0, xmm2
addss xmm0, dword [0x180136bdc]
movss xmm1, dword [0x180183768]
movss dword [rsp + 0x30], xmm1
movss dword [rsp + 0x34], xmm0
subss xmm2, dword [0x180136bcc]
movss dword [rsp + 0x50], xmm1
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x20], xmm7
mov r9d, eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, r10
call fcn.180084e00
cmp byte [0x18017f802], sil
je 0x180029c14
movss xmm1, dword [0x18018376c]
subss xmm1, xmm8
movd xmm0, dword [0x180184f28]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
mov rax, qword [0x180183668]
mov dword [rax + 0x47d8], 0x40400000
movss dword [rax + 0x47dc], xmm1
mov qword [rax + 0x47e0], rsi
mov dword [rax + 0x47cc], 1
or dword [rax + 0x47c8], 3
mov dword [rax + 0x47e8], 0x43160000
mov dword [rax + 0x47ec], 0x42f00000
mov dword [rax + 0x47d0], 1
movdqa xmm0, xmmword [0x180138460]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xae908cb7
mov dword [rsp + 0x44], 0xb8829e8a
mov dword [rsp + 0x48], 0x8b94b7
mov byte [rsp + 0x4c], 1
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1b
jb 0x180029990
mov byte [rsp + 0x4c], sil
xor edx, edx
mov r8d, 0x83
lea rcx, [rsp + 0x30]
call fcn.18006c630
test al, al
je 0x180029c0f
cmp byte [0x18017f820], sil
je 0x1800299ff
mov dword [rsp + 0x30], 0xbababf94
mov dword [rsp + 0x34], 0x100aeb6
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x1800299e0
mov byte [rsp + 0x37], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
cmp byte [0x18017fae0], sil
je 0x180029a3f
mov dword [rsp + 0x30], 0xbdbbbf86
mov dword [rsp + 0x34], 0x100aeb7
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x180029a20
mov byte [rsp + 0x37], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
cmp byte [0x18017f858], sil
je 0x180029a7f
mov dword [rsp + 0x30], 0xbfbea481
mov dword [rsp + 0x34], 0xa9bfbe
mov byte [rsp + 0x38], 1
mov rcx, rsi
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x180029a60
mov byte [rsp + 0x38], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
cmp byte [0x18017f9e7], sil
je 0x180029abf
mov dword [rsp + 0x50], 0x100959b
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 2
jb 0x180029aa0
mov byte [rsp + 0x53], sil
lea rcx, [rsp + 0x50]
call fcn.180091f10
cmp byte [0x18017f9f1], sil
je 0x180029aff
mov dword [rsp + 0x30], 0xb5b3b992
mov dword [rsp + 0x34], 0xbebeb6
mov byte [rsp + 0x38], 1
mov rcx, rsi
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x180029ae0
mov byte [rsp + 0x38], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
cmp byte [0x18017f9f2], sil
je 0x180029b4f
mov dword [rsp + 0x30], 0xb1a1b89c
mov dword [rsp + 0x34], 0xb0b9b3aa
mov word [rsp + 0x38], 0xb8
mov byte [rsp + 0x3a], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x180029b30
mov byte [rsp + 0x3a], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
cmp byte [0x18017f7d0], sil
je 0x180029b8f
mov dword [rsp + 0x30], 0x878590
mov byte [rsp + 0x34], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 3
jb 0x180029b70
mov byte [rsp + 0x34], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
cmp byte [0x18017fa4d], sil
je 0x180029bcf
mov dword [rsp + 0x30], 0xb7bbb880
mov dword [rsp + 0x34], 0x100b1ba
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x180029bb0
mov byte [rsp + 0x37], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
cmp byte [0x18017fa4f], sil
je 0x180029c0f
mov dword [rsp + 0x30], 0xafbf93
mov byte [rsp + 0x34], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 3
jb 0x180029bf0
mov byte [rsp + 0x34], sil
lea rcx, [rsp + 0x30]
call fcn.180091f10
call fcn.18006ecc0
cmp byte [0x18017f9f7], sil
je 0x180029f76
mov ebx, esi
movss xmm6, dword [0x180136cc4]
mov rdx, qword [0x1801837d8]
mov rcx, qword [0x1801837d0]
cmp rcx, rdx
je 0x180029f76
lea eax, [rbx + 1]
cmp byte [rcx + 0x72], sil
cmove eax, ebx
mov ebx, eax
movsd xmm1, qword [rcx + 0x18]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
comisd xmm0, xmm1
jb 0x180029c64
cvtpd2ps xmm6, xmm1
add rcx, 0x110
cmp rcx, rdx
jne 0x180029c42
test ebx, ebx
je 0x180029f76
movss xmm1, dword [0x180183760]
divss xmm1, dword [0x180136bf0]
addss xmm1, dword [0x180183768]
movss xmm0, dword [0x18018376c]
mov rax, qword [0x180183668]
movss dword [rax + 0x47d8], xmm1
movss dword [rax + 0x47dc], xmm0
mov qword [rax + 0x47e0], rsi
mov dword [rax + 0x47cc], 1
or dword [rax + 0x47c8], 3
mov dword [rax + 0x47e8], 0x435c0000
mov dword [rax + 0x47ec], 0x42480000
mov dword [rax + 0x47d0], 1
movdqa xmm0, xmmword [0x1801384e0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x899f95a4
mov dword [rsp + 0x44], 0x8a8988b8
mov dword [rsp + 0x48], 0x80bda2
mov byte [rsp + 0x4c], 1
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1b
jb 0x180029d20
mov byte [rsp + 0x4c], sil
xor edx, edx
lea r8d, [rdx + 0x23]
lea rcx, [rsp + 0x30]
call fcn.18006c630
test al, al
je 0x180029f71
mov dword [rsp + 0x30], 0x8abbfb
mov byte [rsp + 0x34], 1
cvttss2si edx, xmm6
lea rcx, [rbp + 0x10]
call fcn.18000eac0
mov rdi, rax
movdqa xmm0, xmmword [0x180137e20]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x180138380]
movdqu xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], 0xd8859386
mov word [rbp - 0x5c], 0xa2
mov byte [rbp - 0x5a], 1
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.18000eac0
mov rbx, rax
cmp byte [rbp - 0x5a], 0
je 0x180029dc4
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0x25
jb 0x180029db0
mov byte [rbp - 0x5a], 0
mov qword [rsp + 0x60], rsi
movdqa xmm0, xmmword [0x180136dd0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r8d, Ordinal_41
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.180040510
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180029dff
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180051530
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.180040410
nop
mov r9, rdi
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.180051640
nop
cmp byte [rsp + 0x34], 0
je 0x180029e75
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 3
jb 0x180029e60
mov byte [rsp + 0x34], 0
mov qword [rsp + 0x60], rsi
movdqa xmm0, xmmword [0x180136dd0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r8d, 3
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.180040510
nop
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x20]
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180051530
mov qword [rbp + 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.180040410
nop
lea rcx, [rbp - 0x30]
call fcn.180040410
nop
lea rcx, [rbp - 0x50]
call fcn.180040410
nop
lea rcx, [rbp - 0x10]
call fcn.180040410
nop
lea rcx, [rbp + 0x10]
call fcn.180040410
mov rcx, qword [0x18017f4e8]
call fcn.18006f290
mov word [rsp + 0x50], 0x41
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x50]
call fcn.180091f10
call fcn.18006f330
movss xmm1, dword [0x180136d24]
xorps xmm0, xmm0
call fcn.1800723f0
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
call fcn.180091f10
nop
lea rcx, [rbp + 0x30]
call fcn.180040410
call fcn.18006ecc0
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180112370
lea r11, [rsp + 0x190]
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]
mov rsp, r11
pop rbp
ret