Function at 0x180042570
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov rax, qword [0x1800ec0f8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r12, qword [rcx + 8]
mov r10, rcx
mov r13d, dword [rcx + 0x34]
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov esi, 1
mov qword [rsp + 0xa8], r9
mov r15, r8
mov r9, qword [rcx + 0x38]
mov r11d, edi
mov eax, dword [r10 + 0x18]
sub r11d, r12d
mov dword [rsp + 0x38], eax
mov r14d, edi
sub r14d, r12d
mov dword [rsp + 0x44], r11d
mov qword [rsp + 0x58], r8
mov ebp, 3
mov r8, qword [rcx + 0x70]
lea rdx, [rax + r12]
mov rcx, qword [rcx + 0x10]
add rax, rcx
mov qword [rsp + 0x90], rcx
mov ecx, dword [r10 + 0x100]
mov qword [rsp + 0xa0], rax
mov eax, r11d
mov qword [rsp + 0x98], rdx
mov edx, esi
shl edx, cl
mov ecx, dword [r10 + 0x1c]
sub r11d, edx
sub eax, ecx
mov qword [rsp + 0x70], r8
cmp eax, edx
mov qword [rsp + 0x50], r9
mov eax, dword [r10 + 0x10c]
cmovbe r11d, ecx
mov dword [rsp + 0x40], r13d
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x68], r12
cmovne r11d, ecx
mov dword [rsp + 0x34], r14d
mov ecx, 4
mov dword [rsp + 0x60], r11d
cmp eax, ecx
mov dword [rsp + 0x4c], 0xf
cmovb ecx, eax
mov rax, qword [r10 + 0x60]
shl esi, cl
xor ebx, ebx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x3c], esi
cmp dword [r10 + 0x12c], ebx
jne 0x18004296c
mov r11d, dword [r10 + 0x2c]
lea edx, [rbp + 0x35]
mov rcx, qword [rsp + 0x68]
mov eax, r14d
sub eax, r11d
mov r12, r8
mov r13, r9
mov r9d, dword [rsp + 0x40]
mov r8, rcx
movabs r14, 0xcf1bbcdcbb000000
cmp eax, 0x180
jbe 0x180042855
lea r8d, [r11 + 0x60]
mov qword [rsp + 0x88], rcx
cmp r11d, r8d
jae 0x18004278f
mov rdi, qword [rsp + 0x70]
lea r13, [rcx + 8]
mov rbp, qword [rsp + 0x50]
mov r15d, edx
sub r15d, r9d
mov r12d, r11d
add r13, r11
mov esi, r8d
nop dword [rax]
mov rdx, qword [r13]
mov ecx, r15d
imul rdx, r14
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rax + rbp]
mov rax, r12
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + rbp]
lea rdx, [r8 + rbp]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x4c]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, esi
jb 0x1800426f0
mov rax, qword [r10 + 8]
mov ebp, 3
mov rdi, qword [rsp + 0x78]
mov esi, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
lea edx, [rbp + 0x35]
mov qword [rsp + 0x88], rax
mov r11d, dword [rsp + 0x34]
lea rax, [rdi + 1]
mov r8d, dword [r10 + 0x34]
add r11d, 0xffffffe0
mov r12, qword [r10 + 0x70]
mov r13, qword [r10 + 0x38]
mov dword [rsp + 0x30], eax
sub dword [rsp + 0x30], r11d
lea r9, [r11 + rcx]
sub dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x30]
inc ecx
mov dword [rsp + 0x48], r8d
cmp r9, rax
mov r8d, r11d
mov eax, 8
cmova ecx, ebx
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x180042844
mov esi, edx
mov r15d, ecx
sub esi, dword [rsp + 0x48]
nop dword [rax]
mov rdx, qword [r9]
mov ecx, esi
imul rdx, r14
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rax + r13]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r15, 1
jne 0x1800427f0
mov r12, qword [r10 + 0x70]
mov r13, qword [r10 + 0x38]
mov r8, qword [r10 + 8]
mov esi, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x58]
jmp 0x18004284c
mov r8, qword [rsp + 0x88]
mov r9d, dword [r10 + 0x34]
mov edx, 0x38
mov eax, dword [rsp + 0x34]
cmp r11d, eax
jae 0x180042910
mov esi, edx
mov r15d, r11d
sub esi, r9d
lea rbp, [r8 + 8]
add rbp, r15
mov edi, eax
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbp]
mov ecx, esi
imul rdx, r14
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rax + r13]
mov rax, r15
lea rbp, [rbp + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r13]
lea rdx, [r8 + r13]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x4c]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r12 + rax*4], r11d
inc r11d
cmp r11d, edi
jb 0x180042880
mov rdi, qword [rsp + 0x78]
mov ebp, 3
mov esi, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x58]
mov eax, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x44]
mov ecx, 0x38
sub ecx, dword [rsp + 0x40]
mov r12, qword [rsp + 0x68]
mov dword [r10 + 0x2c], eax
mov rdx, qword [r8 + r12 + 8]
imul rdx, r14
xor rdx, qword [rsp + 0x80]
shr rdx, cl
mov rcx, qword [rsp + 0x70]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r9, qword [rsp + 0x50]
prefetcht0 byte [rax + r9]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
mov r8, rcx
jmp 0x180042993
mov r11, qword [rdi]
movabs r14, 0xcf1bbcdcbb000000
imul r11, r14
mov ecx, 0x38
xor r11, rax
sub ecx, r13d
mov eax, dword [rsp + 0x44]
shr r11, cl
mov dword [r10 + 0x2c], eax
add dword [r10 + 0x68], r11d
mov eax, r11d
shr rax, 4
mov r14, rbx
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + r9]
lea rcx, [r8 + rax*4]
mov qword [rsp + 0x50], rcx
lea rcx, [rax + r9]
movzx eax, byte [rax + r9]
mov r13d, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x80], rcx
and r13d, 0xf
movsx eax, r11b
mov ecx, r13d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb edx, xmm1
movzx eax, dx
shl ax, cl
movzx ecx, r13b
movzx r9d, ax
movzx eax, dx
mov rdx, qword [rsp + 0x50]
shr rax, cl
or r9, rax
jbe 0x180042a6d
mov r8d, dword [rsp + 0x38]
mov r15, qword [rsp + 0x90]
mov edi, dword [rsp + 0x60]
test esi, esi
je 0x180042a63
bsf rcx, r9
add ecx, r13d
and ecx, 0xf
mov ecx, dword [rdx + rcx*4]
je 0x180042a5a
cmp ecx, edi
jb 0x180042a63
cmp ecx, r8d
jb 0x180042a48
prefetcht0 byte [rcx + r12]
jmp 0x180042a4d
prefetcht0 byte [rcx + r15]
mov dword [rsp + r14*4 + 0xb0], ecx
inc r14
dec esi
lea rax, [r9 - 1]
and r9, rax
ja 0x180042a25
mov rdi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x48]
mov eax, ebx
dec ecx
mov r8d, 0xf
and ecx, 0xf
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x80]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x180042b44
mov ecx, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x44]
nop
mov esi, dword [rsp + rbx*4 + 0xb0]
cmp esi, ecx
jb 0x180042ad6
mov eax, dword [rdi + rbp - 3]
lea rdx, [rsi + r12]
cmp dword [rdx + rbp - 3], eax
jne 0x180042b38
mov r8, r15
mov rcx, rdi
call fcn.180036af0
jmp 0x180042b10
mov rdx, qword [rsp + 0x90]
mov eax, dword [rdi]
add rdx, rsi
cmp dword [rdx], eax
jne 0x180042b38
mov rax, qword [rsp + 0x98]
lea rcx, [rdi + 4]
mov r9, qword [rsp + 0xa0]
add rdx, 4
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.180036b90
add rax, 4
cmp rax, rbp
jbe 0x180042b34
mov rdx, qword [rsp + 0xa8]
mov ecx, r13d
sub ecx, esi
mov rbp, rax
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rdi]
cmp rcx, r15
je 0x180042b47
mov ecx, dword [rsp + 0x38]
inc rbx
cmp rbx, r14
jb 0x180042ab0
mov rax, rbp
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1800b1550
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret