Function at 0x1400018c0
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x4f]
sub rsp, 0xb8
lea r9, [rbp + 0x5f]
mov r13, rcx
mov r8, qword [r9]
lea rax, [rbp + 0x5f]
mov qword [r9], 0
mov rdx, qword [rax]
mov qword [rbp + 7], r8
test rcx, rcx
je 0x140001914
mov ecx, 0x5a4d
cmp word [r13], cx
jne 0x140001914
movsxd rcx, dword [r13 + 0x3c]
cmp ecx, 0x400
jg 0x140001914
add rcx, r13
cmp dword [rcx], 0x4550
je 0x140001927
mov qword [rax], rdx
xor al, al
mov qword [r9], r8
add rsp, 0xb8
pop r13
pop rbp
ret
cmp dword [rcx + 0x90], 0
jne 0x140001940
xor al, al
mov qword [r9], r8
add rsp, 0xb8
pop r13
pop rbp
ret
mov edx, dword [rcx + 0x94]
mov eax, dword [rcx + 0x90]
mov qword [rbp - 1], rdx
test rdx, rdx
je 0x1400021a1
mov qword [rsp + 0xd8], rbx
lea rdx, [r13 + 0x10]
mov qword [rsp + 0xe0], rsi
add rdx, rax
mov qword [rsp + 0xe8], rdi
mov rcx, 0xfffffffffffffff0
mov qword [rsp + 0xb0], r12
sub rcx, r13
mov qword [rsp + 0xa8], r14
sub rcx, rax
mov r14d, dword [0x14000b050]
movabs r8, 0x8000000080000000
mov qword [rsp + 0xa0], r15
movaps xmmword [rsp + 0x90], xmm6
mov qword [rbp - 9], rcx
mov qword [rbp - 0x19], rdx
nop
mov ecx, dword [rdx - 0x10]
test ecx, ecx
jne 0x1400019cf
cmp dword [rdx], ecx
je 0x140002161
mov r12d, dword [rdx]
mov r15d, dword [rdx - 4]
mov edx, r12d
add r15, r13
test ecx, ecx
lea rbx, [r12 + r13]
cmovne rdx, rcx
neg r12
mov qword [rbp - 0x11], rdx
nop dword [rax]
lea rdi, [rdx + r12]
mov rsi, qword [rdi + rbx]
test r8, rsi
je 0x140001a1f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
movzx edx, si
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
movabs r8, 0x8000000080000000
mov rax, qword [rbx]
test rax, rax
je 0x140002144
mov rcx, qword [rdi + rbx]
cmp rax, rcx
jne 0x14000212d
lea rdi, [r13 + 2]
add rdi, rcx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x140122924], 0
mov rsi, rax
je 0x14000212a
movups xmm0, xmmword [0x140008758]
movups xmmword [rbp - 0x29], xmm0
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x140001c01
cmp r14d, 2
jl 0x140001bc1
movdqa xmm0, xmmword [str.7777777777777777O]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x140008850]
xor edx, edx
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmmword [rbp + 0x17], xmm0
mov r8d, dword [rbp + 0x17]
nop dword [rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x140001ac0
jmp 0x140001c01
lea r9, [rbp - 0x29]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140001bd0
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001c21
lea rax, [0x140001870]
mov qword [rbx], rax
jmp 0x14000212d
cmp byte [0x140122924], 0
je 0x14000212a
movups xmm0, xmmword [str.p_MyTQP_Q__r__]
movups xmmword [rbp - 0x29], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140001dd1
cmp r14d, 2
jl 0x140001d91
movdqa xmm0, xmmword [str.7777777777777777O]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x140008850]
xor edx, edx
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmmword [rbp + 0x17], xmm0
mov r8d, dword [rbp + 0x17]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x140001c90
jmp 0x140001dd1
lea r9, [rbp - 0x29]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140001da0
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001df1
lea rax, [0x140001860]
mov qword [rbx], rax
jmp 0x14000212d
cmp byte [0x140122924], 0
je 0x14000212a
mov eax, dword [0x140008740]
xor r8d, r8d
movsd xmm0, qword [str.hgN_HP_V._0_7E]
mov dword [rbp - 0x41], eax
movzx eax, word [0x140008744]
mov word [rbp - 0x3d], ax
movzx eax, byte [0x140008746]
mov byte [rbp - 0x3b], al
movsd qword [rbp - 0x49], xmm0
cmp r14d, 2
jl 0x140001f35
movdqa xmm2, xmmword [0x140008850]
mov r8d, 8
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140008860]
movdqa xmm0, xmm2
mov eax, dword [str.7777777777777777O]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.hgN_HP_V._0_7E]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x49], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
movd xmm1, dword [rbp - 0x45]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x45], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x140001f40
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001f91
lea rax, [0x140001880]
mov qword [rbx], rax
jmp 0x14000212d
cmp byte [0x140122924], 0
je 0x14000212a
cmp byte [0x140008735], 0
mov eax, dword [0x140008730]
movsd xmm0, qword [str.hg_OQWQ_3_0D]
mov dword [rbp - 0x31], eax
movzx eax, word [0x140008734]
mov word [rbp - 0x2d], ax
movsd qword [rbp - 0x39], xmm0
je 0x14000210d
xor ecx, ecx
cmp r14d, 2
jl 0x1400020d6
movdqa xmm2, xmmword [0x140008850]
mov ecx, 8
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140008860]
movdqa xmm0, xmm2
mov eax, dword [str.7777777777777777O]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.hg_OQWQ_3_0D]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x39], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
movd xmm1, dword [rbp - 0x35]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x1400020e0
lea rdx, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000212a
lea rax, [0x1400018a0]
mov qword [rbx], rax
jmp 0x14000212d
mov qword [rbx], rsi
mov rdx, qword [rbp - 0x11]
add rbx, 8
movabs r8, 0x8000000080000000
jmp 0x1400019f0
mov rdx, qword [rbp - 0x19]
mov rax, qword [rbp - 9]
add rdx, 0x14
add rax, rdx
mov qword [rbp - 0x19], rdx
cmp rax, qword [rbp - 1]
jb 0x1400019c0
mov r8, qword [rbp + 7]
lea r9, [rbp + 0x5f]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov al, 1
mov qword [r9], r8
add rsp, 0xb8
pop r13
pop rbp
ret