Function at 0x14001fd10
Capabilities:
Check if file exists
Encode data using xor
Enumerate process modules
Get graphical window text
Print debug messages
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5e8]
sub rsp, 0x6b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov qword [rbp - 0x28], r9
mov r15, rdx
mov qword [rbp - 0x58], rdx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x30], edi
mov r8d, 0x100
lea rdx, [rbp + 0x310]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x310]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov r8d, eax
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x14001fffa
movups xmm0, xmmword [0x1400d6910]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400d6920]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [0x1400d6930]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x1400d6938]
mov dword [rbp - 0x68], eax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001ff32
movdqa xmm4, xmmword [0x1400d7300]
movdqa xmm3, xmmword [0x1400d7410]
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmmword [0x1400d7420]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x74]
movdqa xmm6, xmmword [0x1400d73f0]
mov edx, dword [rsp + 0x40]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x28
jl 0x14001fe50
cmp edi, 0x2c
jge 0x14001ff6c
movsxd rax, edi
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, dil
sub al, cl
add al, 0x39
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x2c
jl 0x14001ff40
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rsp + 0x70]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rax + r14], sil
jne 0x14001ff87
mov r8, r14
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x40]
call fcn.140045100
nop
mov r8d, 0xff
lea rdx, [rbp + 0x40]
mov rcx, r15
call fcn.14000a6c0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14001fff3
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ffee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ffee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
xor al, al
jmp 0x140021913
movsd xmm0, qword [str._unknown_]
movsd qword [rbp + 0x200], xmm0
movzx eax, word [0x1400d2e60]
mov word [rbp + 0x208], ax
xor edx, edx
mov r8d, 0xfa
lea rcx, [rbp + 0x20a]
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0xa8]
mov r8d, 8
lea rdx, [rbp - 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140020064
mov r9d, 0x104
lea r8, [rbp + 0x200]
mov rdx, qword [rbp - 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0x200]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x140020084
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x40]
call fcn.140045100
nop
mov r8d, 4
lea rdx, str..dmp
lea rcx, [rbp + 0x40]
call fcn.140040090
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or esi, 1
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14002012e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020129
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
movdqa xmm0, xmmword [0x1400d72f0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rdx, qword [rbp + 0x88]
lea r8, [0x1400d2e6c]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400218b8
cmp qword [rbp - 0x20], 0
je 0x1400218b8
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x68], xmm1
mov qword [rbp + 0x78], rdi
movabs rdx, 0x100000000
lea rcx, [rbp + 0x68]
call fcn.140046f10
movabs rbx, 0x100000000
mov rcx, qword [rbp + 0x68]
add rbx, rcx
xor edx, edx
movabs r8, 0x100000000
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x70], rbx
cmp qword [rbp + 0x68], 0
jne 0x1400201e0
xor r9d, r9d
mov r8, qword [rbp - 0x20]
mov rdx, r13
mov rcx, r15
call fcn.140017970
movzx ebx, al
jmp 0x14002186d
mov r12, rdi
mov rbx, rdi
mov r9d, Ordinal_50
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x14002023d
mov rcx, qword [rbp + 8]
cmp dword [rbp + 0x10], 0x1000
jne 0x14002021e
mov eax, dword [rbp + 0x14]
test al, 1
jne 0x14002021e
bt eax, 8
jb 0x14002021e
add r12, rcx
add rbx, rcx
mov r9d, Ordinal_50
lea r8, [rbp - 0x10]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
je 0x140020201
mov r15, rdi
mov qword [rbp - 0x50], rdi
mov r13, rdi
mov r9d, Ordinal_50
lea r8, [rbp - 0x10]
xor edx, edx
mov rbx, qword [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
movdqa xmm8, xmmword [0x1400d73f0]
movdqa xmm10, xmmword [0x1400d7360]
movdqa xmm11, xmmword [0x1400d7340]
movdqa xmm12, xmmword [0x1400d7320]
movdqa xmm7, xmmword [0x1400d7300]
movdqa xmm13, xmmword [0x1400d7420]
movdqa xmm9, xmmword [str.7777]
movdqa xmm6, xmmword [0x1400d7410]
cmp rax, 0x30
jne 0x1400214b8
movsd xmm14, qword [0x1400d72c8]
nop dword [rax]
cmp dword [rbp + 0x10], 0x1000
jne 0x140021490
mov eax, dword [rbp + 0x14]
test al, 1
jne 0x140021490
bt eax, 8
jb 0x140021490
mov r9, qword [rbp + 8]
movabs rax, 0x100000000
cmp r9, rax
cmova r9, rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp + 0x68]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140020e2f
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp + 0x80]
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x80]
cmp rax, rcx
jne 0x14002183f
add r13, rcx
xorps xmm0, xmm0
js 0x140020354
cvtsi2sd xmm0, r13
jmp 0x14002036c
mov rcx, r13
shr rcx, 1
mov rax, r13
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
xorps xmm1, xmm1
test r12, r12
js 0x14002037b
cvtsi2sd xmm1, r12
jmp 0x140020393
mov rcx, r12
shr rcx, 1
mov rax, r12
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
divsd xmm0, xmm1
mulsd xmm0, xmm14
cvttsd2si ebx, xmm0
movsxd r8, ebx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400d6794]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or esi, 0x10
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x120], rdi
mov dword [rbp + 0x128], 4
movups xmm0, xmmword [0x1400d7180]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [str.______]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1400d7198]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x1400d719c]
mov byte [rbp - 0x74], al
mov r8d, edi
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp r15d, 2
jl 0x1400205ab
movdqa xmmword [rsp + 0x40], xmm13
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
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, 0x18
jl 0x1400204c0
cmp r8d, 0x1d
jge 0x1400205ef
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x1400205c0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.140043540
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400d2e70]
call fcn.140043540
movups xmm2, xmmword [0x1400d60d8]
movups xmmword [rsp + 0x40], xmm2
movdqa xmm0, xmm2
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140020822
mov r8d, edi
cmp r15d, 2
jl 0x1400207e4
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm6
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd ecx, xmm13
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x40], xmm1
movdqa xmm1, xmm12
punpckldq xmm1, xmm12
pmuldq xmm1, xmm6
movdqa xmm0, xmm12
punpckhdq xmm0, xmm12
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm12
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm6
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm11
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x48]
xorps xmm2, xmm1
movd dword [rsp + 0x48], xmm2
movdqa xmm1, xmm10
punpckldq xmm1, xmm10
pmuldq xmm1, xmm6
movdqa xmm0, xmm10
punpckhdq xmm0, xmm10
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm10
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x4c]
xorps xmm2, xmm1
movd dword [rsp + 0x4c], xmm2
jmp 0x140020822
lea r9, [rsp + 0x40]
nop dword [rax]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x1400207f0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xb0]
call fcn.140043540
mov rdx, r13
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov r10, rax
movups xmm2, xmmword [0x1400d5a20]
movups xmmword [rsp + 0x60], xmm2
movdqa xmm0, xmm2
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x140020a43
mov r8d, edi
cmp r15d, 2
jl 0x140020a0c
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm6
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd ecx, xmm13
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x60], xmm1
movdqa xmm1, xmm12
punpckldq xmm1, xmm12
pmuldq xmm1, xmm6
movdqa xmm0, xmm12
punpckhdq xmm0, xmm12
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm12
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x64]
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm6
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm11
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x68]
xorps xmm2, xmm1
movd dword [rsp + 0x68], xmm2
movdqa xmm1, xmm10
punpckldq xmm1, xmm10
pmuldq xmm1, xmm6
movdqa xmm0, xmm10
punpckhdq xmm0, xmm10
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm10
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x6c]
xorps xmm2, xmm1
movd dword [rsp + 0x6c], xmm2
jmp 0x140020a43
lea r9, [rsp + 0x60]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140020a11
lea rdx, [rsp + 0x60]
mov rcx, r10
call fcn.140043540
mov rdx, r12
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rdi
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x58], rcx
mov byte [rbp + 0x40], 0
or esi, 0x40
mov dword [rsp + 0x30], esi
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov edx, dword [rbp + 0x128]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140020ac3
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x140020ac3
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x120]
cmovb r8, qword [rbp + 0x120]
sub r8, rdx
jmp 0x140020afd
test dl, 4
jne 0x140020af3
mov rax, qword [rbp + 0xf0]
mov r9, qword [rax]
test r9, r9
je 0x140020af3
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x108]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x140020afd
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140020b0f
lea rcx, [rbp + 0x40]
call fcn.140042b40
mov rcx, qword [rbp + 0x58]
and esi, 0xffffffbf
or esi, 0x20
lea r8, [rbp + 0x40]
cmp rcx, 0xf
cmova r8, qword [rbp + 0x40]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movsxd r15, eax
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rdi
test eax, eax
je 0x140020bca
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x14002196d
add r15, r15
jne 0x140020b6c
mov rax, rdi
jmp 0x140020ba9
cmp r15, 0x1000
jb 0x140020ba1
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140021973
call fcn.1400bbb28
mov rcx, rax
test rax, rax
je 0x140021831
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140020ba9
mov rcx, r15
call fcn.1400bbb28
mov qword [rbp + 0x20], rax
lea rbx, [r15 + rax]
mov qword [rbp + 0x30], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x28], rbx
mov eax, dword [rsp + 0x30]
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r8, qword [rbp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r9d, r9d
mov r8, r14
mov edx, 0xbb
mov rbx, qword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, r14
mov r8, rax
mov edx, 0xb1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [0x1400d2c28]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov rdx, qword [rbp + 0x20]
mov r8, r14
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140020c50
lea rcx, [rsp + 0x70]
call fcn.140044cf0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], rax
mov dword [rbp + 0x1f8], eax
mov dword [rbp + 0x1a0], 0x5c
mov dword [rbp + 0x1a4], 0x40000000
mov dword [rbp + 0x1b4], 0xff00
lea r9, [rbp + 0x1a0]
mov edx, 0x444
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r9, qword [rsp + 0x70]
xor r8d, r8d
mov edx, 0xc2
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140020d36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020d30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002182a
call fcn.1400bbb20
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140020d83
mov rax, qword [rbp + 0x30]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021831
call fcn.1400bbb20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rdi
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140020dbe
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021838
call fcn.1400bbb20
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.14003fb30
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov r15, qword [rbp - 0x50]
jmp 0x14002148c
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400d6794]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or esi, 2
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x120], rdi
mov dword [rbp + 0x128], 4
movups xmm0, xmmword [str.k_ZXmLP_10_t__:0j____4q3t423____]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [0x1400d6e40]
movups xmmword [rbp + 0x50], xmm1
mov eax, dword [0x1400d6e50]
mov dword [rbp + 0x60], eax
movzx eax, byte [0x1400d6e54]
mov byte [rbp + 0x64], al
mov r8d, edi
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp ebx, 2
jl 0x14002101b
movdqa xmmword [rsp + 0x40], xmm13
lea rcx, [rbp + 0x44]
mov edx, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
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 0x140020f30
cmp r8d, 0x25
jge 0x14002105f
movsxd rax, r8d
lea r9, [rbp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x140021030
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xb0]
call fcn.140043540
mov rdx, r15
mov rcx, rax
call fcn.140043540
mov r9, rax
movzx eax, word [0x1400d49e8]
mov word [rbp + 0x30], ax
movzx eax, byte [0x1400d49ea]
movups xmm2, xmmword [0x1400d49d8]
mov byte [rbp + 0x32], al
movups xmmword [rbp + 0x20], xmm2
mov ecx, edi
cmp ebx, 2
jl 0x140021240
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm6
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd ecx, xmm13
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rbp + 0x20], xmm1
movdqa xmm1, xmm12
punpckldq xmm1, xmm12
pmuldq xmm1, xmm6
movdqa xmm0, xmm12
punpckhdq xmm0, xmm12
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm12
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x24]
xorps xmm2, xmm1
movd dword [rbp + 0x24], xmm2
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm6
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm11
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x28]
xorps xmm2, xmm1
movd dword [rbp + 0x28], xmm2
movdqa xmm1, xmm10
punpckldq xmm1, xmm10
pmuldq xmm1, xmm6
movdqa xmm0, xmm10
punpckhdq xmm0, xmm10
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm10
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x2c]
xorps xmm2, xmm1
movd dword [rbp + 0x2c], xmm2
mov ecx, reloc.WS2_32.dll_recv
mov eax, ecx
lea r8, [rbp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x140021250
lea rdx, [rbp + 0x20]
mov rcx, r9
call fcn.140043540
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov r9, rdi
mov qword [rbp - 0x38], rdi
mov r10d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], r10
mov byte [rbp - 0x48], r9b
or esi, 8
mov dword [rsp + 0x30], esi
xor eax, eax
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
mov ecx, dword [rbp + 0x128]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140021304
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x140021304
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x120]
cmovb r8, qword [rbp + 0x120]
sub r8, rdx
jmp 0x14002133c
test cl, 4
jne 0x140021334
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140021334
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x108]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14002133c
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x140021352
lea rcx, [rbp - 0x48]
call fcn.140042b40
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x38]
and esi, 0xfffffff7
or esi, 4
lea rax, [rbp - 0x48]
cmp r10, 0xf
cmova rax, qword [rbp - 0x48]
add r9, rax
lea rdx, [rbp - 0x48]
cmp r10, 0xf
cmova rdx, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rdi
lea rcx, [rbp + 0x40]
cmp rdx, r9
jne 0x14002139b
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], di
jmp 0x1400213b1
sub r9, rdx
call fcn.14004a530
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x1400213f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400213f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021858
call fcn.1400bbb20
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140021434
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002142e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002185f
call fcn.1400bbb20
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.14003fb30
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [rbp - 0x60]
add r15, qword [rbp + 8]
mov qword [rbp - 0x50], r15
mov r9d, Ordinal_50
lea r8, [rbp - 0x10]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
je 0x1400202c0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400214cb
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbp - 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm2, xmmword [0x1400d6400]
movups xmmword [rbp + 0x20], xmm2
movsd xmm0, qword [0x1400d6410]
movsd qword [rbp + 0x30], xmm0
movzx eax, word [0x1400d6418]
mov word [rbp + 0x38], ax
movzx eax, byte [0x1400d641a]
mov byte [rbp + 0x3a], al
mov r8d, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14002176f
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm6
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm7, xmm0
andps xmm7, xmm8
packuswb xmm7, xmm7
packuswb xmm7, xmm7
movd ecx, xmm13
movd xmm0, ecx
paddb xmm7, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm7, xmm0
movd dword [rbp + 0x20], xmm7
movdqa xmm1, xmm12
punpckldq xmm1, xmm12
pmuldq xmm1, xmm6
movdqa xmm0, xmm12
punpckhdq xmm0, xmm12
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm12, xmm0
andps xmm12, xmm8
packuswb xmm12, xmm12
packuswb xmm12, xmm12
movd xmm0, ecx
paddb xmm12, xmm0
movd xmm1, dword [rbp + 0x24]
xorps xmm12, xmm1
movd dword [rbp + 0x24], xmm12
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm6
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm11, xmm0
andps xmm11, xmm8
packuswb xmm11, xmm11
packuswb xmm11, xmm11
movd xmm0, ecx
paddb xmm11, xmm0
movd xmm1, dword [rbp + 0x28]
xorps xmm11, xmm1
movd dword [rbp + 0x28], xmm11
movdqa xmm1, xmm10
punpckldq xmm1, xmm10
pmuldq xmm1, xmm6
movdqa xmm0, xmm10
punpckhdq xmm0, xmm10
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm10, xmm0
andps xmm10, xmm8
packuswb xmm10, xmm10
packuswb xmm10, xmm10
movd xmm0, ecx
paddb xmm10, xmm0
movd xmm1, dword [rbp + 0x2c]
xorps xmm10, xmm1
movd dword [rbp + 0x2c], xmm10
movdqa xmm2, xmmword [0x1400d7370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x30]
xorps xmm2, xmm1
movd dword [rbp + 0x30], xmm2
movdqa xmm3, xmmword [0x1400d7380]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm6
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm3, xmm0
andps xmm3, xmm8
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp + 0x34]
xorps xmm3, xmm1
movd dword [rbp + 0x34], xmm3
mov r8d, Ordinal_27
mov eax, r8d
lea r9, [rbp + 0x20]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1b
jl 0x140021780
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0x20]
inc r14
cmp byte [rax + r14], 0
jne 0x1400217c2
mov r8, r14
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.140045100
nop
mov r8d, 0xff00
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x58]
call fcn.14000a6c0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14002186b
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021866
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp - 0x20]
mov rdx, rbx
mov rcx, qword [rbp - 0x58]
call fcn.140017970
movzx ebx, al
jmp 0x14002186d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400bbb20
mov bl, 1
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1400218cc
mov rdx, qword [rbp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400218a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400218a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rdi
jmp 0x1400218cc
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call fcn.140017970
movzx ebx, al
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x140021910
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002190b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002190b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
movzx eax, bl
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x50]
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]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140042da0
nop
call fcn.1400024f0
int3