Function at 0x140057830
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov ecx, dword [0x14043a3f0]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x14043a1fc], eax
jg 0x140057f76
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14043a1f8]
cmp eax, 0x3e8
jbe 0x1400578a6
mov byte [0x1401224e4], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14043a1f8]
cmp eax, 0x7d0
jbe 0x1400578c0
mov byte [0x14043a1f4], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14043a1f8]
cmp eax, 0xfa0
jbe 0x1400578da
mov byte [0x14043a1f4], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14043a1f8]
cmp eax, 0x1388
jbe 0x1400578f4
mov byte [0x14043a1f5], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14043a1f8]
cmp eax, 0x1770
jbe 0x14005790e
mov byte [0x14043a1f6], 1
mov rcx, qword [0x1404395f0]
movss xmm1, dword [0x1400f0430]
movss xmm7, dword [0x1400fad60]
mov rax, qword [rcx + 0x3eb0]
mov byte [rax + 0x98], 1
cmp byte [0x1401224e4], 0
mov rax, qword [rcx + 0x3eb0]
subss xmm1, dword [0x1401224d8]
mov rbx, qword [rax + 0x278]
movss xmm9, dword [rax + 0x18]
movss xmm8, dword [rax + 0x1c]
mulss xmm1, xmm7
addss xmm1, dword [0x1401224d8]
movss dword [0x1401224d8], xmm1
je 0x140057996
movss xmm1, dword [0x1400fadcc]
subss xmm1, dword [0x1401224dc]
mulss xmm1, xmm7
addss xmm1, dword [0x1401224dc]
movss dword [0x1401224dc], xmm1
movaps xmm0, xmmword [0x1400faf20]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call fcn.140008d20
cmp byte [0x1401224e4], 0
movss xmm2, dword [0x1401224d8]
movss xmm10, dword [0x1400f02d8]
jne 0x1400579d0
movaps xmm1, xmm2
subss xmm1, xmm10
jmp 0x1400579d8
movss xmm1, dword [0x1401224dc]
movss xmm12, dword [0x1400f02e0]
subss xmm2, xmm10
movaps xmm0, xmm9
lea r8, [rbp + 0x30]
addss xmm0, xmm1
xor edi, edi
movaps xmm1, xmm8
mov dword [rsp + 0x28], edi
addss xmm1, dword [0x1400fad84]
addss xmm2, xmm9
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea rdx, [rbp + 0x38]
movss dword [rbp + 0x30], xmm0
mov rcx, rbx
movaps xmm0, xmm8
addss xmm0, dword [0x1400f0424]
movss dword [rbp + 0x34], xmm1
movss dword [rbp + 0x38], xmm2
movss dword [rbp + 0x3c], xmm0
call fcn.1400219d0
movaps xmm0, xmmword [0x1400faf30]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call fcn.140008d20
cmp byte [0x1401224e4], dil
movss xmm11, dword [0x1400f02b0]
movss xmm2, dword [0x1401224d8]
movss xmm3, dword [0x1400f041c]
jne 0x140057a80
movaps xmm1, xmm2
subss xmm1, xmm3
jmp 0x140057a8d
movss xmm1, dword [0x1401224dc]
addss xmm1, xmm11
movaps xmm0, xmm9
movss dword [rsp + 0x30], xmm11
addss xmm0, xmm1
mov dword [rsp + 0x28], edi
subss xmm2, xmm3
movss dword [rsp + 0x20], xmm12
movaps xmm1, xmm8
lea r8, [rbp + 0x30]
addss xmm1, dword [0x1400fad88]
mov r9d, eax
lea rdx, [rbp + 0x38]
movss dword [rbp + 0x30], xmm0
mov rcx, rbx
movaps xmm0, xmm8
addss xmm2, xmm9
addss xmm0, dword [0x1400f0420]
movss dword [rbp + 0x34], xmm1
movss dword [rbp + 0x38], xmm2
movss dword [rbp + 0x3c], xmm0
call fcn.1400218c0
movaps xmm0, xmmword [0x1400f5dd0]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call fcn.140008d20
movss xmm2, dword [0x1400fad78]
lea rdx, [rbp + 0x30]
movaps xmm0, xmm9
mov dword [rsp + 0x20], edi
addss xmm0, dword [0x1401224d8]
movaps xmm6, xmm8
mov r9d, eax
addss xmm6, dword [0x1400f0430]
mov rcx, rbx
movss dword [rbp + 0x30], xmm0
movss dword [rbp + 0x34], xmm6
call fcn.14001f080
movaps xmm0, xmmword [0x1400faf40]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call fcn.140008d20
movss xmm2, dword [0x1400f0428]
lea rdx, [rbp + 0x30]
movaps xmm0, xmm9
movss dword [rsp + 0x28], xmm11
addss xmm0, dword [0x1401224d8]
mov r9d, eax
movss dword [rbp + 0x34], xmm6
mov rcx, rbx
mov dword [rsp + 0x20], edi
movss dword [rbp + 0x30], xmm0
call fcn.14001ef90
movss xmm0, dword [0x1401224d8]
lea rcx, [rbp + 0x30]
subss xmm0, xmm10
addss xmm0, xmm9
movss dword [rbp + 0x30], xmm0
movaps xmm0, xmm8
addss xmm0, xmm12
movss dword [rbp + 0x34], xmm0
call fcn.140018750
movaps xmm1, xmmword [0x1400f0360]
lea rax, [rsp + 0x50]
mov rcx, qword [0x1404397a8]
lea r9, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x38]
lea rax, [rsp + 0x60]
mov dword [rbp + 0x30], 0x3f800000
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x40]
mov dword [rbp + 0x34], 0x3f800000
movups xmmword [rsp + 0x50], xmm0
mov qword [rbp + 0x38], rdi
movups xmmword [rsp + 0x60], xmm1
mov dword [rbp + 0x40], 0x41a00000
xorps xmm12, xmm12
mov dword [rbp + 0x44], 0x41a00000
call fcn.140039f20
movups xmm0, xmmword [str.bS__VW]
movups xmmword [rsp + 0x70], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, edi
movups xmm1, xmmword [0x1400f6c40]
movzx eax, byte [0x1400f6c50]
mov byte [rbp - 0x70], al
movups xmmword [rbp - 0x80], xmm1
jl 0x140057da7
movdqa xmm0, xmmword [str.5555555555555555R]
lea rcx, [rsp + 0x74]
movdqa xmm5, xmmword [0x1400f5690]
mov eax, 4
movdqa xmm4, xmmword [0x1400faf80]
movdqa xmm10, xmmword [0x1400fae20]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movd xmm6, eax
mov eax, Ordinal_35
movd xmm11, eax
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm11
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400fae90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm11
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fae90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x140057ca0
cmp r8d, 0x21
jge 0x140057df1
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x21
jl 0x140057dc0
movd xmm0, dword [0x1401224e0]
lea rcx, [rsp + 0x50]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x50], 0x3f800000
mov dword [rsp + 0x54], 0x3f800000
mov dword [rsp + 0x58], 0x3f800000
mulss xmm0, dword [0x1400f0264]
movss dword [rsp + 0x5c], xmm0
call fcn.140008d20
movss xmm0, dword [0x1401224d8]
lea rcx, [rsp + 0x70]
addss xmm0, dword [0x1400f0430]
addss xmm8, dword [0x1400fad80]
movss xmm2, dword [0x1400f0424]
lea r9, [rbp + 0x30]
mov rdx, qword [0x140439788]
mov qword [rsp + 0x40], rdi
movss dword [rsp + 0x38], xmm12
addss xmm0, xmm9
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rcx
mov rcx, rbx
movss dword [rbp + 0x34], xmm8
mov dword [rsp + 0x20], eax
movss dword [rbp + 0x30], xmm0
call fcn.140023440
cmp byte [0x14043a1f4], dil
je 0x140057ec7
mov ecx, dword [0x1401224e0]
mov eax, 0xff
sub eax, ecx
movd xmm0, ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x1401224e0], eax
jmp 0x140057f44
cmp byte [0x14043a1f5], dil
movd xmm1, dword [0x1401224e0]
movss xmm2, dword [0x1401224d8]
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm7
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x1401224e0], eax
je 0x140057f1f
movaps xmm1, xmm2
subss xmm1, dword [0x1400fadcc]
subss xmm1, dword [0x1401224dc]
mulss xmm1, xmm7
addss xmm1, dword [0x1401224dc]
movss dword [0x1401224dc], xmm1
cmp byte [0x14043a1f6], dil
je 0x140057f44
movss xmm0, dword [0x1400fade8]
subss xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, xmm2
movss dword [0x1401224d8], xmm0
lea r11, [rsp + 0x110]
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]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop rdi
pop rbx
pop rbp
ret
lea rcx, [0x14043a1fc]
call fcn.1400e521c
cmp dword [0x14043a1fc], 0xffffffff
jne 0x14005788c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x14043a1fc]
mov dword [0x14043a1f8], eax
call fcn.1400e51b0
jmp 0x14005788c