Function at 0x1800503a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
xor ebx, ebx
cmp byte [0x18020a750], bl
mov r15d, ebx
mov dword [rbp + 0x67], ebx
je 0x1800503f0
mov rax, qword [0x18020a758]
test rax, rax
je 0x180050409
cmp dword [rax + 0x14], ebx
jl 0x180050409
mov rax, qword [rax]
mov rcx, qword [rax]
mov rax, qword [rcx]
jmp 0x18005040c
mov rax, qword [0x18020a760]
test rax, rax
je 0x180050409
cmp dword [rax + 0xc], ebx
jl 0x180050409
mov rax, qword [rax]
mov rax, qword [rax]
jmp 0x18005040c
mov rax, rbx
mov r12, qword [rax]
mov r13d, ebx
mov rsi, qword [rbp + 0x67]
nop word [rax + rax]
mov rdx, qword [r12]
test rdx, rdx
je 0x180050683
mov rax, qword gs:[0x60]
mov r8, qword [rax + 0x10]
cmp rdx, r8
jbe 0x180050683
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x180050683
cmp byte [rdx], 0xe9
jne 0x18005048b
mov rax, qword gs:[0x60]
movsxd rdi, dword [rdx + 1]
add rdi, 5
add rdi, rdx
mov r8, qword [rax + 0x10]
cmp rdi, r8
jbe 0x18005048b
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdi, rcx
jb 0x18005048e
mov rdi, rdx
mov eax, dword [0x18020a748]
xorps xmm0, xmm0
mov ecx, 0x28
mov dword [rbp - 0x29], 0xf7
movdqu xmmword [rbp - 0x1d], xmm0
mov dword [rbp - 0x25], 0xffffffff
mov dword [rbp - 0x21], eax
mov qword [rbp - 0xd], 4
mov dword [rbp - 5], ebx
call fcn.1800b31c4
mov r8d, 0x28
lea rdx, [rbp - 0x29]
mov rcx, rax
mov r14, rax
call fcn.1800daaf0
or r15d, 1
mov r10, rbx
mov r9d, ebx
mov eax, ebx
mov rcx, rbx
nop word [rax + rax]
mov r8d, dword [r14 + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rdi]
cmp ecx, r8d
je 0x18005050b
cmp r8d, 0xffffffff
jne 0x1800505f3
inc eax
mov ecx, eax
cmp rcx, 0xa
jb 0x1800504f0
lea rax, [r10 + rdi]
test rax, rax
je 0x180050606
mov rdx, qword [r12]
cmp byte [rdx], 0xe9
jne 0x180050559
mov rax, qword gs:[0x60]
movsxd rdi, dword [rdx + 1]
add rdi, 5
add rdi, rdx
mov r8, qword [rax + 0x10]
cmp rdi, r8
jbe 0x180050559
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdi, rcx
jb 0x18005055c
mov rdi, rdx
mov eax, dword [0x18020a748]
xorps xmm0, xmm0
mov ecx, 0x28
mov dword [rbp + 7], 0xf7
movdqu xmmword [rbp + 0x13], xmm0
mov dword [rbp + 0xb], 0xffffffff
mov dword [rbp + 0xf], eax
mov dword [rbp + 0x23], ebx
mov qword [rbp + 0x27], 0x40
call fcn.1800b31c4
mov rsi, rax
lea rdx, [rbp + 7]
add rax, 0x28
mov rcx, rsi
mov r8d, 0x28
mov qword [rbp + 0x67], rax
call fcn.1800daaf0
or r15d, 2
mov r10, rbx
mov r9d, ebx
mov edx, ebx
mov rax, rbx
nop dword [rax]
mov r8d, dword [rsi + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x1800505db
cmp r8d, 0xffffffff
jne 0x18005075c
inc edx
mov eax, edx
cmp rax, 0xa
jb 0x1800505c0
lea rax, [r10 + rdi]
test rax, rax
je 0x180050606
mov dil, 1
jmp 0x180050609
inc r9d
inc r10
cmp r9d, 0x3f6
jb 0x1800504e1
xor dil, dil
test r15b, 2
je 0x180050650
and r15d, 0xfffffffd
test rsi, rsi
je 0x180050650
mov rdx, qword [rbp + 0x67]
mov rcx, rsi
sub rdx, rsi
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18005064b
mov rcx, qword [rsi - 8]
mov rax, rsi
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005096c
call fcn.1800b31bc
and r15d, 0xfffffffe
test r14, r14
je 0x180050666
mov edx, 0x28
mov rcx, r14
call fcn.1800b31bc
test dil, dil
jne 0x180050774
inc r13d
add r12, 8
cmp r13d, 0x150
jl 0x180050420
movups xmm0, xmmword [str.tUT_JIX]
mov eax, dword [0x1800ea3b0]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x11], eax
movaps xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [0x1800ea3a8]
movsd qword [rbp - 0x19], xmm0
call fcn.180056d60
mov r10, rax
mov r8, rbx
test rax, rax
je 0x180050737
mov r9d, ebx
nop dword [rax + rax]
movsxd r11, r9d
cmp byte [r11 + r10], 0xc3
lea rdx, [r11 + r10]
jne 0x180050701
mov rcx, rdx
mov rax, rdx
and ecx, 0xf
sub rax, rcx
cmp byte [rax + 0x10], 0x40
jne 0x180050701
movzx ecx, byte [rdx - 1]
lea eax, [rcx - 0x58]
cmp al, 7
jbe 0x180050783
cmp byte [rdx - 2], 0x41
jne 0x180050701
sub cl, 0x58
cmp cl, 7
jbe 0x180050783
test dl, 0xf
jne 0x180050725
cmp byte [r8 + r10], 0x40
jne 0x180050725
movzx eax, byte [r10 + r8 + 1]
sub al, 0x50
cmp al, 7
ja 0x180050725
movzx eax, byte [r10 + r8 + 2]
sub al, 0x50
cmp al, 7
jbe 0x180050798
inc r9d
inc r8
cmp r9d, 0xffff
jl 0x1800506c0
mov r8, rbx
cmp byte [0x18020a750], bl
je 0x1800507ac
mov rax, qword [0x18020a758]
test rax, rax
je 0x1800507d0
cmp dword [rax + 0x14], ebx
jge 0x18005079e
mov r10, rbx
mov r10, qword [rbx]
jmp 0x1800507d8
inc r9d
inc r10
cmp r9d, 0x3f6
jae 0x180050606
jmp 0x1800505b7
movsxd rax, r13d
mov qword [0x18020ab48], rax
jmp 0x18005094b
lea r8, [r11 + r10]
mov rax, r8
and eax, 0xf
je 0x180050737
sub r8, rax
add r8, 0x10
jmp 0x180050737
lea r8, [r11 + r10]
jmp 0x180050737
mov rax, qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx]
mov r10, qword [r10]
jmp 0x1800507d8
mov rax, qword [0x18020a760]
test rax, rax
je 0x1800507d0
cmp dword [rax + 0xc], ebx
jge 0x1800507c5
mov r10, rbx
mov r10, qword [rbx]
jmp 0x1800507d8
mov rax, qword [rax]
mov r10, qword [rax]
mov r10, qword [r10]
jmp 0x1800507d8
mov r1pe_dos_header, qword [0]
cmp dword [0x18010b088], 2
mov eax, dword [0x1800ea920]
movsd xmm0, qword [str.eDX_IHyK_Q4A]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x1800ea924]
mov byte [rbp - 0x2d], al
movsd qword [rbp - 0x39], xmm0
jl 0x1800508fd
movdqa xmm2, xmmword [0x1800f9b20]
mov ebx, 8
movdqa xmm4, xmmword [0x1800f9d80]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800f9b40]
movdqa xmm0, xmm2
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 [0x1800f9b90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.eDX_IHyK_Q4A]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f9ce0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x39], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
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 [0x1800f9b90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x35]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f9ce0]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
movsxd rax, ebx
lea r9, [rbp - 0x39]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, bl
inc ebx
xor byte [r9 - 1], cl
cmp ebx, 0xd
jl 0x180050910
mov rdx, r10
lea rcx, [rbp - 0x39]
call fcn.18004dff0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800b9e6c
int3