Function at 0x180029830
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 [0x1801561e0]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor esi, esi
movss xmm8, dword [0x180137b54]
cmp byte [0x180180848], sil
jne 0x180029893
cmp byte [0x180180879], sil
jne 0x180029893
cmp byte [0x180180b59], sil
je 0x180029a87
mov rax, qword [0x180184730]
mov rax, qword [rax + 0x48c8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.180066950
mov rbx, rax
movss xmm6, dword [0x180137b1c]
movss xmm7, dword [0x180137c2c]
cmp byte [0x180180848], sil
je 0x18002995d
lea rcx, [0x180180590]
call fcn.180063930
mov edi, eax
movss xmm0, dword [0x180184880]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x180184884]
movss dword [rsp + 0x34], xmm1
test eax, 0xff000000
je 0x18002995d
movss xmm2, dword [0x18018084c]
comiss xmm6, xmm2
ja 0x18002995d
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.180085090
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.1800836e0
mov dword [rbx + 0x78], esi
cmp byte [0x180180879], sil
je 0x1800299f2
lea rcx, [0x1801805b0]
call fcn.180063930
mov edi, eax
movss xmm0, dword [0x180184880]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x180184884]
movss dword [rsp + 0x34], xmm1
test eax, 0xff000000
je 0x1800299f2
movss xmm2, dword [0x18018087c]
comiss xmm6, xmm2
ja 0x1800299f2
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.180085090
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.1800836e0
mov dword [rbx + 0x78], esi
cmp byte [0x180180b59], sil
je 0x180029a87
lea rcx, [0x1801805a0]
call fcn.180063930
mov edi, eax
movss xmm0, dword [0x180184880]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x180184884]
movss dword [rsp + 0x34], xmm1
test eax, 0xff000000
je 0x180029a87
movss xmm2, dword [0x180180b5c]
comiss xmm6, xmm2
ja 0x180029a87
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.180085090
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.1800836e0
mov dword [rbx + 0x78], esi
cmp byte [0x180180824], sil
je 0x180029c95
cmp byte [reloc.WS2_32.dll_accept], sil
jne 0x180029adc
mov rax, qword [0x180184730]
or dword [rax + 0x47c8], 1
movss xmm0, dword [0x180185ec8]
movss dword [rax + 0x47d8], xmm0
movss xmm1, dword [0x180185ecc]
movss dword [rax + 0x47dc], xmm1
mov qword [rax + 0x47e0], rsi
mov dword [rax + 0x47cc], 1
movdqa xmm0, xmmword [0x180139190]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x9baa8586
mov dword [rsp + 0x44], 0xa38081aa
mov dword [rsp + 0x48], 0x99b491
mov byte [rsp + 0x4c], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1b
jb 0x180029b10
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.18006d250
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x180029b6d
mov rax, qword [0x180184730]
mov rcx, qword [rax + 0x3ef0]
movss xmm0, dword [rcx + 0x20]
movss xmm1, dword [rcx + 0x24]
movss dword [0x180185ec8], xmm0
movss dword [0x180185ecc], xmm1
mov edx, 0xc8ffffff
xor ecx, ecx
call fcn.180064380
mov rcx, qword [0x180184730]
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 [0x180137c3c]
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm0, dword [0x180137c14]
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
mov byte [rax + 0x141], 1
movdqa xmm0, xmmword [0x180139620]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xbee9ebf0
mov dword [rsp + 0x44], 0xf4f0b3ee
mov word [rsp + 0x48], 0xa1
mov byte [rsp + 0x4a], 1
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x19
jb 0x180029c10
mov byte [rsp + 0x4a], sil
movaps xmm0, xmmword [0x1801809e0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [0x1801809f0]
movaps xmmword [rbp - 0x40], xmm1
lea r8, str.Feb_22_2024
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.180092b30
mov r8, qword [0x180184730]
cmp dword [r8 + 0x4838], 1
jl 0x180029c90
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.18006f8e0
cmp byte [0x180180823], sil
je 0x180029dc6
mov rax, qword [0x180184730]
mov rax, qword [rax + 0x48c8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180066950
mov r10, rax
movaps xmm0, xmmword [0x1801385c0]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.180063930
movss xmm2, dword [0x180184880]
movaps xmm0, xmm2
addss xmm0, dword [0x180137c24]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x180184884]
movss dword [rsp + 0x34], xmm1
subss xmm2, dword [0x180137c14]
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm1
movss xmm7, dword [0x180137b40]
movss dword [rsp + 0x20], xmm7
mov r9d, eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, r10
call fcn.180085a20
mov rax, qword [0x180184730]
mov rax, qword [rax + 0x48c8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180066950
mov r10, rax
movaps xmm0, xmmword [0x1801385c0]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.180063930
movss xmm2, dword [0x180184884]
movaps xmm0, xmm2
addss xmm0, dword [0x180137c24]
movss xmm1, dword [0x180184880]
movss dword [rsp + 0x30], xmm1
movss dword [rsp + 0x34], xmm0
subss xmm2, dword [0x180137c14]
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.180085a20
cmp byte [0x180180822], sil
je 0x18002a0f4
movss xmm1, dword [0x180184884]
subss xmm1, xmm8
movd xmm0, dword [0x180185f34]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
mov rax, qword [0x180184730]
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 [0x180139920]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x8bbba198
mov dword [rsp + 0x44], 0x85b9bbad
mov dword [rsp + 0x48], 0xb0a988
mov byte [rsp + 0x4c], 1
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1b
jb 0x180029e70
mov byte [rsp + 0x4c], sil
xor edx, edx
mov r8d, 0x83
lea rcx, [rsp + 0x30]
call fcn.18006d250
test al, al
je 0x18002a0ef
cmp byte [0x180180840], sil
je 0x180029edf
mov dword [rsp + 0x30], 0xdfd1d2fb
mov dword [rsp + 0x34], 0x100cbd1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x180029ec0
mov byte [rsp + 0x37], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
cmp byte [0x180180b58], sil
je 0x180029f1f
mov dword [rsp + 0x30], 0xd8d0d2e9
mov dword [rsp + 0x34], 0x100cbd0
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x180029f00
mov byte [rsp + 0x37], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
cmp byte [0x180180878], sil
je 0x180029f5f
mov dword [rsp + 0x30], 0xdad5c9ee
mov dword [rsp + 0x34], 0xb2dad9
mov byte [rsp + 0x38], 1
mov rcx, rsi
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x180029f40
mov byte [rsp + 0x38], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
cmp byte [0x180180a08], sil
je 0x180029f9f
mov dword [rsp + 0x50], 0x100f8f4
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 2
jb 0x180029f80
mov byte [rsp + 0x53], sil
lea rcx, [rsp + 0x50]
call fcn.180092b30
cmp byte [0x180180a11], sil
je 0x180029fdf
mov dword [rsp + 0x30], 0xd0d8d4fd
mov dword [rsp + 0x34], 0xa5dbd1
mov byte [rsp + 0x38], 1
mov rcx, rsi
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x180029fc0
mov byte [rsp + 0x38], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
cmp byte [0x180180a12], sil
je 0x18002a02f
mov dword [rsp + 0x30], 0xd4cad5f3
mov dword [rsp + 0x34], 0xada2d6cd
mov word [rsp + 0x38], 0xa7
mov byte [rsp + 0x3a], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x18002a010
mov byte [rsp + 0x3a], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
cmp byte [0x1801807f0], sil
je 0x18002a06f
mov dword [rsp + 0x30], 0xece8ff
mov byte [rsp + 0x34], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 3
jb 0x18002a050
mov byte [rsp + 0x34], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
cmp byte [0x180180abd], sil
je 0x18002a0af
mov dword [rsp + 0x30], 0xd2d0d5ef
mov dword [rsp + 0x34], 0x100d4dd
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x18002a090
mov byte [rsp + 0x37], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
cmp byte [0x180180abf], sil
je 0x18002a0ef
mov dword [rsp + 0x30], 0xc4d2fc
mov byte [rsp + 0x34], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 3
jb 0x18002a0d0
mov byte [rsp + 0x34], sil
lea rcx, [rsp + 0x30]
call fcn.180092b30
call fcn.18006f8e0
cmp byte [0x180180a17], sil
je 0x18002a456
mov ebx, esi
movss xmm6, dword [0x180137d0c]
mov rdx, qword [0x1801848d8]
mov rcx, qword [0x1801848d0]
cmp rcx, rdx
je 0x18002a456
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 0x18002a144
cvtpd2ps xmm6, xmm1
add rcx, 0x110
cmp rcx, rdx
jne 0x18002a122
test ebx, ebx
je 0x18002a456
movss xmm1, dword [0x180184878]
divss xmm1, dword [0x180137c38]
addss xmm1, dword [0x180184880]
movss xmm0, dword [0x180184884]
mov rax, qword [0x180184730]
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 [0x180138b50]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xacb4b88b
mov dword [rsp + 0x44], 0xb7b2ad9f
mov dword [rsp + 0x48], 0xbb809d
mov byte [rsp + 0x4c], 1
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1b
jb 0x18002a200
mov byte [rsp + 0x4c], sil
xor edx, edx
lea r8d, [rdx + 0x23]
lea rcx, [rsp + 0x30]
call fcn.18006d250
test al, al
je 0x18002a451
mov dword [rsp + 0x30], 0xe1d694
mov byte [rsp + 0x34], 1
cvttss2si edx, xmm6
lea rcx, [rbp + 0x10]
call fcn.18000eac0
mov rdi, rax
movdqa xmm0, xmmword [0x180139080]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x180139980]
movdqu xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], 0xfdaebea9
mov word [rbp - 0x5c], 0x85
mov byte [rbp - 0x5a], 1
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.18000eac0
mov rbx, rax
cmp byte [rbp - 0x5a], 0
je 0x18002a2a4
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0x25
jb 0x18002a290
mov byte [rbp - 0x5a], 0
mov qword [rsp + 0x60], rsi
movdqa xmm0, xmmword [0x180137e20]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r8d, Ordinal_41
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.180040f40
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x18002a2df
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180051fc0
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.180040e40
nop
mov r9, rdi
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.1800520d0
nop
cmp byte [rsp + 0x34], 0
je 0x18002a355
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 3
jb 0x18002a340
mov byte [rsp + 0x34], 0
mov qword [rsp + 0x60], rsi
movdqa xmm0, xmmword [0x180137e20]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r8d, 3
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.180040f40
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.180051fc0
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.180040e40
nop
lea rcx, [rbp - 0x30]
call fcn.180040e40
nop
lea rcx, [rbp - 0x50]
call fcn.180040e40
nop
lea rcx, [rbp - 0x10]
call fcn.180040e40
nop
lea rcx, [rbp + 0x10]
call fcn.180040e40
mov rcx, qword [0x1801804c8]
call fcn.18006feb0
mov word [rsp + 0x50], 0x41
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x50]
call fcn.180092b30
call fcn.18006ff50
movss xmm1, dword [0x180137d74]
xorps xmm0, xmm0
call fcn.180073010
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
call fcn.180092b30
nop
lea rcx, [rbp + 0x30]
call fcn.180040e40
call fcn.18006f8e0
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180112f90
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