Function at 0x140047140
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x1401210c0]
xor rax, rsp
mov qword [rbp - 0x31], rax
movzx r14d, r9b
movaps xmm7, xmm2
movaps xmm10, xmm1
movaps xmm11, xmm0
xorps xmm3, xmm3
movups xmmword [rbp - 0x49], xmm3
lea r12, [rbp + 0x5f]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r12
mov rsi, qword [r12]
xor rsi, r13
mov qword [rbp - 0x49], rsi
xor r15d, r15d
mov qword [r12], r15
mov rax, qword [0x14010cf28]
mov qword [rbp - 0x51], rax
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], r15b
jne 0x140047320
cmp ebx, 2
jl 0x1400472e7
movdqa xmm4, xmmword [0x14010da40]
movdqa xmm2, xmmword [0x14010d810]
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, xmmword [0x14010d860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010d920]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
movd xmm0, dword [rbp - 0x51]
xorps xmm2, xmm0
movd dword [rbp - 0x51], xmm2
movdqa xmm3, xmmword [0x14010d830]
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, xmmword [0x14010d860]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010d920]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
movd xmm0, dword [rbp - 0x4d]
xorps xmm2, xmm0
movd dword [rbp - 0x4d], xmm2
jmp 0x140047320
lea r9, [rbp - 0x51]
mov r8d, r15d
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400472f0
mov rax, qword [0x140128f00]
mov qword [rax + 0x47c8], r15
mov qword [rax + 0x47d0], r15
mov dword [rax + 0x47bc], 2
or dword [rax + 0x47b8], 3
movsd xmm0, qword [rax + 0x10]
movsd qword [rax + 0x47d8], xmm0
mov dword [rax + 0x47c0], 2
cmp byte [rbp - 0x4a], 0
je 0x1400474a0
cmp ebx, 2
jl 0x140047468
movdqa xmm4, xmmword [0x14010da40]
movdqa xmm2, xmmword [0x14010d810]
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, xmmword [0x14010d860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010d920]
packuswb xmm2, xmm2
mov eax, dword [str.5555555555555555]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x51]
xorps xmm2, xmm1
movd dword [rbp - 0x51], xmm2
movdqa xmm3, xmmword [0x14010d830]
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, xmmword [0x14010d860]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010d920]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x4d]
xorps xmm2, xmm1
movd dword [rbp - 0x4d], xmm2
jmp 0x1400474a0
lea r9, [rbp - 0x51]
mov r8d, r15d
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140047470
xor edx, edx
mov r8d, 0x209f
lea rcx, [rbp - 0x51]
call fcn.14000da90
cmp byte [rbp - 0x4a], 0
jne 0x140047600
cmp ebx, 2
jl 0x1400475bc
movdqa xmm4, xmmword [0x14010da40]
movdqa xmm2, xmmword [0x14010d810]
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, xmmword [0x14010d860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010d920]
packuswb xmm2, xmm2
mov eax, dword [str.5555555555555555]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x51]
xorps xmm2, xmm1
movd dword [rbp - 0x51], xmm2
movdqa xmm3, xmmword [0x14010d830]
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, xmmword [0x14010d860]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010d920]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x4d]
xorps xmm2, xmm1
movd dword [rbp - 0x4d], xmm2
jmp 0x140047600
lea r9, [rbp - 0x51]
mov r8d, r15d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400475d0
mov rdi, qword [0x140128f00]
mov rax, qword [rdi + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rdi + 0x3ed8]
mov rbx, qword [rax + 0x298]
movss xmm0, dword [rdi + 0x37d0]
lea rcx, [rbp - 0x69]
test r14b, r14b
je 0x140047a1c
mov dword [rbp - 0x69], 0x3e051eb8
mov dword [rbp - 0x65], 0x3e051eb8
mov dword [rbp - 0x61], 0x3e051eb8
mulss xmm0, dword [0x14010d504]
movss dword [rbp - 0x5d], xmm0
call fcn.140003f90
movaps xmm6, xmm7
addss xmm6, xmm11
movss dword [rbp - 0x59], xmm6
addss xmm7, xmm10
movss dword [rbp - 0x55], xmm7
movss dword [rbp - 0x69], xmm11
movss dword [rbp - 0x65], xmm10
mov dword [rsp + 0x28], r15d
xorps xmm8, xmm8
movss dword [rsp + 0x20], xmm8
mov r9d, eax
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.1400276f0
mov rax, qword [0x140128f00]
mov qword [rbp - 0x69], 0
mov dword [rbp - 0x61], 0
movss xmm0, dword [rax + 0x37d0]
movss dword [rbp - 0x5d], xmm0
lea rcx, [rbp - 0x69]
call fcn.140003f90
movss dword [rbp - 0x69], xmm6
movss dword [rbp - 0x65], xmm7
movss dword [rbp - 0x59], xmm11
movss dword [rbp - 0x55], xmm10
movss xmm6, dword [0x14010d53c]
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x20], xmm8
mov r9d, eax
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.1400275e0
mov rax, qword [0x140128f00]
mov rax, qword [rax + 0x48b8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007aa0
mov r10, rax
mov rcx, qword [0x140128f00]
mov dword [rbp - 0x69], 0x40233333
mov dword [rbp - 0x65], 0x3f800000
mov dword [rbp - 0x61], 0x3f800000
movss xmm0, dword [rcx + 0x37d0]
movss dword [rbp - 0x5d], xmm0
lea rcx, [rbp - 0x69]
call fcn.140003f90
mov r9d, eax
mov dword [rbp - 0x69], 0x42c8fcee
mov dword [rbp - 0x65], 0x429bae98
mov rcx, qword [0x140129628]
mov rdx, qword [rcx + 8]
mov rax, qword [rdx + 0x10]
mov eax, dword [rax + 4]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
addss xmm0, dword [0x14010d664]
addss xmm1, dword [0x14010d67c]
movss dword [rbp - 0x59], xmm1
movss dword [rbp - 0x55], xmm0
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x59]
mov rcx, r10
call fcn.140027480
mov rax, qword [0x140128f00]
mov rax, qword [rax + 0x48b8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007aa0
mov r10, rax
mov rcx, qword [0x140128f00]
mov dword [rbp - 0x69], 0x40233333
mov dword [rbp - 0x65], 0x3f800000
mov dword [rbp - 0x61], 0x3f800000
movss xmm0, dword [rcx + 0x37d0]
movss dword [rbp - 0x5d], xmm0
lea rcx, [rbp - 0x69]
call fcn.140003f90
mov r9d, eax
mov rcx, qword [0x140129628]
mov rdx, qword [rcx + 8]
mov rcx, qword [rdx + 0x10]
mov eax, dword [rcx + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x14010d67c]
movss dword [rbp - 0x69], xmm0
mov dword [rbp - 0x65], 0x429bae98
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
addss xmm0, dword [0x14010d664]
addss xmm1, dword [0x14010d67c]
movss dword [rbp - 0x59], xmm1
movss dword [rbp - 0x55], xmm0
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x59]
mov rcx, r10
call fcn.140027480
mov rax, qword [0x140128f00]
mov rax, qword [rax + 0x48b8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007aa0
mov r10, rax
mov rcx, qword [0x140128f00]
mov dword [rbp - 0x69], 0x40233333
mov dword [rbp - 0x65], 0x3f800000
mov dword [rbp - 0x61], 0x3f800000
movss xmm0, dword [rcx + 0x37d0]
movss dword [rbp - 0x5d], xmm0
lea rcx, [rbp - 0x69]
call fcn.140003f90
mov r9d, eax
mov rcx, qword [0x140129628]
mov rdx, qword [rcx + 8]
mov rcx, qword [rdx + 0x10]
mov eax, dword [rcx + 4]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, dword [0x14010d664]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
addss xmm0, dword [0x14010d67c]
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm2
addss xmm1, dword [0x14010d664]
movss dword [rbp - 0x59], xmm0
movss dword [rbp - 0x55], xmm1
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x59]
mov rcx, r10
call fcn.140027480
mov rax, qword [0x140128f00]
mov rax, qword [rax + 0x48b8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007aa0
mov rbx, rax
movaps xmm0, xmmword [0x14010da20]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.140003f90
mov edi, eax
mov rcx, qword [0x140129628]
mov rdx, qword [rcx + 8]
mov rax, qword [rdx + 0x10]
mov eax, dword [rax + 4]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
addss xmm0, dword [0x14010d664]
addss xmm1, dword [0x14010d67c]
movss dword [rbp - 0x69], xmm1
movss dword [rbp - 0x65], xmm0
test edi, 0xff000000
je 0x140047c0f
mov dword [rsp + 0x28], listen
movss xmm0, dword [0x14010d5f4]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
movss xmm2, dword [0x14010d5b0]
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.140026ae0
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140025fe0
jmp 0x140047c0b
mov qword [rbp - 0x69], 0
mov dword [rbp - 0x61], 0
movss xmm8, dword [0x14010d504]
mulss xmm0, xmm8
movss dword [rbp - 0x5d], xmm0
call fcn.140003f90
mov r14d, eax
movaps xmm6, xmm7
mulss xmm6, xmm8
movaps xmm9, xmm6
addss xmm9, xmm10
addss xmm6, xmm11
movss dword [rbp - 0x69], xmm6
movss dword [rbp - 0x65], xmm9
movss xmm10, dword [0x14010d604]
test eax, 0xff000000
je 0x140047abf
comiss xmm8, xmm7
ja 0x140047abf
mov dword [rsp + 0x28], 0x1ff
movss dword [rsp + 0x20], xmm10
xorps xmm3, xmm3
movaps xmm2, xmm7
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.140026ae0
mov r9d, r14d
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140025fe0
mov dword [rbx + 0x78], r15d
mov rdi, qword [0x140128f00]
mov dword [rbp - 0x69], 0x3f800000
mov dword [rbp - 0x65], 0x3f800000
mov dword [rbp - 0x61], 0x3f800000
movss xmm0, dword [rdi + 0x37d0]
movss dword [rbp - 0x5d], xmm0
lea rcx, [rbp - 0x69]
call fcn.140003f90
mov r14d, eax
xorps xmm0, xmm0
movsd xmm1, qword [0x14010d580]
ucomisd xmm0, xmm1
ja 0x140047b04
sqrtpd xmm0, xmm1
jmp 0x140047b0c
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mulsd xmm0, qword [0x14010d588]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss dword [rbp - 0x69], xmm6
movss dword [rbp - 0x65], xmm9
test r14d, 0xff000000
je 0x140047b74
comiss xmm8, xmm2
ja 0x140047b74
mov dword [rsp + 0x28], 0x1ff
movss dword [rsp + 0x20], xmm10
xorps xmm3, xmm3
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.140026ae0
mov r9d, r14d
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140025fe0
mov dword [rbx + 0x78], r15d
mov rdi, qword [0x140128f00]
mov dword [rbp - 0x69], 0x3dcccccd
mov dword [rbp - 0x65], 0x3dcccccd
mov dword [rbp - 0x61], 0x3dcccccd
movss xmm0, dword [rdi + 0x37d0]
movss dword [rbp - 0x5d], xmm0
lea rcx, [rbp - 0x69]
call fcn.140003f90
mov edi, eax
movss dword [rbp - 0x69], xmm6
movss dword [rbp - 0x65], xmm9
test eax, 0xff000000
je 0x140047c0f
comiss xmm8, xmm7
ja 0x140047c0f
subss xmm7, xmm8
mov dword [rsp + 0x28], 0x1ff
movss dword [rsp + 0x20], xmm10
xorps xmm3, xmm3
movaps xmm2, xmm7
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.140026ae0
movss xmm0, dword [0x14010d5ec]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140025090
mov dword [rbx + 0x78], r15d
call fcn.14000fcd0
nop
xor rsi, r13
mov qword [r12], rsi
mov rcx, qword [rbp - 0x31]
xor rcx, rsp
call fcn.1400eaeb0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret