Function at 0x140033e20
Capabilities:
Encode data using xor
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x1400eb0c0]
xor rax, rsp
mov qword [rbp + 0x440], rax
xor r12d, r12d
mov rcx, qword [0x1400ecf88]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea ebx, [rax + 1]
movsxd r8, ebx
lea rcx, [rbp - 0x50]
call fcn.140044bc0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
mov r8d, ebx
mov rcx, qword [0x1400ecf88]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x40]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x50]
cmova rdx, qword [rbp - 0x50]
lea r9, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140043cb0
nop
mov r8d, 0x104
lea rdx, [rbp + 0x330]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea rax, [rbp + 0x330]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140033f06
lea rdx, [rbp + 0x330]
lea rcx, [rbp - 0x70]
call fcn.140045100
nop
lea rbx, [rbp - 0x70]
mov rsi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x58]
cmp r14, 0xf
cmova rbx, rsi
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x140033fd0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
mov qword [rbp + 0x280], rax
mov dword [rbp + 0x288], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x28d]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x28c], 1
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x230], 0
jne 0x140033fcb
cmp r8, rbx
je 0x140033fd0
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x230], 0
je 0x140033fb5
sub r8, rbx
jmp 0x140033fd7
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
inc r8
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x70]
cmp r14, 0xf
cmova rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140045100
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140034043
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003403e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003465d
call fcn.1400bbb20
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x60], xmm1
movabs rax, 0x7fffffffffffffff
movq rcx, xmm1
sub rax, rcx
mov rdx, qword [rbp - 0x20]
cmp rax, rdx
jb 0x14003477c
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400473a0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_memset
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x120]
call fcn.14003f170
nop
cmp qword [rbp + 0x1b0], 0
jne 0x1400340f1
mov ebx, 1
jmp 0x1400345d2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x120]
movsxd rbx, dword [rax + 4]
mov rbx, qword [rbp + rbx + 0x168]
test rbx, rbx
sete r14b
mov byte [rsp + 0x50], r14b
mov byte [rsp + 0x51], 0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov rsi, qword [rsp + 0x50]
shr rsi, 8
mov r15b, 1
mov rdi, r12
test rbx, rbx
je 0x14003418e
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140034161
movzx esi, al
jmp 0x140034164
mov rbx, r12
mov r14b, 1
test r15b, r15b
jne 0x140034185
test rdi, rdi
je 0x14003417f
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x140034182
mov rdi, r12
mov r15b, 1
test rbx, rbx
jne 0x1400343d8
test rdi, rdi
jne 0x1400343e1
lea rcx, [rbp + 0x130]
call fcn.140041980
test rax, rax
jne 0x1400341cb
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x120]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
movsd xmm0, qword [str.OVLbF4_l7_1F]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [0x1400d6770]
mov dword [rsp + 0x50], ecx
movzx eax, word [0x1400d6774]
mov word [rsp + 0x54], ax
cmp byte [0x1400d6775], 0
je 0x1400343af
mov r8d, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140034368
movdqa xmm5, xmmword [0x1400d7410]
movdqa xmm2, xmmword [0x1400d7300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x1400d73f0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d7420]
movd xmm0, dword [str.OVLbF4_l7_1F]
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
movdqa xmm2, xmmword [0x1400d7320]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d7420]
movd xmm0, dword [rsp + 0x4c]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
movdqa xmm3, xmmword [0x1400d7340]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1400d7420]
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rsp + 0x50], xmm3
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov eax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [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, 0xe
jl 0x140034380
mov r8d, 2
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x10]
call fcn.14003e3f0
nop
cmp qword [rbp + 0x98], 0
jne 0x14003444c
mov ebx, 1
jmp 0x140034540
test rdi, rdi
jne 0x140034197
test r14b, r14b
jne 0x140034401
test rbx, rbx
je 0x1400343fe
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400343fe
movzx esi, al
jmp 0x140034401
mov rbx, r12
mov byte [rsp + 0x40], sil
mov rax, qword [rbp - 0x80]
cmp rax, qword [rbp - 0x78]
je 0x140034419
mov byte [rax], sil
inc qword [rbp - 0x80]
jmp 0x14003442c
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x78]
call fcn.14004f310
test rbx, rbx
je 0x140034161
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
jne 0x14003414e
jmp 0x140034161
mov rdi, r12
mov rax, qword [rbp - 0x80]
cmp rax, qword [rsp + 0x78]
je 0x140034512
nop
lea rdx, [0x1400d32f8]
lea rcx, [rbp + 0x10]
call fcn.140043540
lea rdx, [0x1400030b0]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x140003090]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov edx, 2
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rbx + 0x58], Ordinal_50
mov rax, qword [rsp + 0x78]
movzx edx, byte [rax + rdi]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400d32f4]
call fcn.140043540
lea rax, [rdi + 1]
mov rdi, rax
test al, 0xf
jne 0x140034500
lea rdx, [0x140043710]
lea rcx, [rbp + 0x10]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp - 0x80]
sub rax, qword [rsp + 0x78]
cmp rdi, rax
jb 0x140034460
lea rcx, [rbp + 0x18]
call fcn.140041980
test rax, rax
jne 0x14003453d
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov ebx, r12d
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.14003f100
lea rcx, [rbp + 0x20]
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 + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400345d2
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400345c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400345c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x120], rax
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x130]
call fcn.14003f100
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140034669
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034664
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034664
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], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400346b8
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400346b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400346b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140034707
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034701
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034701
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14003474a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034745
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034745
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbb20
mov eax, ebx
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1400bbb00
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400026b0
nop
int3