Function at 0x180048020
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, 0x1d8
mov rax, qword [0x1800ee0f8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r12, qword [rcx + 8]
mov r11, rcx
mov eax, dword [rcx + 0x18]
mov rsi, rdx
mov r15, qword [rcx + 0x38]
mov r13, r8
mov r14d, dword [rcx + 0x34]
mov ebp, 1
mov rdi, qword [r11 + 0xf8]
mov ebx, 3
mov dword [rsp + 0x68], eax
add rax, r12
mov qword [rsp + 0xb8], rax
mov eax, edx
sub eax, r12d
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x58], r8
mov r8d, edx
sub r8d, r12d
mov qword [rsp + 0xa0], r9
mov r9, qword [rcx + 0x70]
mov edx, ebp
mov ecx, dword [rcx + 0x100]
mov eax, r8d
shl edx, cl
mov r10d, r8d
mov ecx, dword [r11 + 0x1c]
sub r10d, edx
sub eax, ecx
mov qword [rsp + 0x78], r9
cmp eax, edx
mov qword [rsp + 0x60], r15
mov eax, dword [r11 + 0x10c]
mov edx, 0x38
cmovbe r10d, ecx
mov dword [rsp + 0x48], r14d
cmp dword [r11 + 0x28], 0
mov qword [rsp + 0x80], r12
cmovne r10d, ecx
mov dword [rsp + 0x4c], r8d
mov ecx, 4
mov dword [rsp + 0x50], r10d
mov r10, qword [rsi]
cmp eax, ecx
mov qword [rsp + 0xa8], rdi
cmovb ecx, eax
mov rax, qword [r11 + 0x60]
mov qword [rsp + 0x40], rax
movabs rax, 0xcf1bbcdcbb000000
imul r10, rax
shl ebp, cl
mov ecx, edx
sub ecx, dword [rdi + 0x34]
mov rax, r10
shr rax, cl
mov ecx, eax
mov qword [rsp + 0x88], r10
mov qword [rsp + 0x88], rax
mov rax, qword [rdi + 0x38]
shr rcx, 4
and ecx, 0xffffff0
mov dword [rsp + 0x34], ebp
add rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rdi + 0x70]
lea rax, [rax + rcx*4]
mov qword [rsp + 0xb0], rax
prefetcht0 byte [rax]
mov rax, qword [rsp + 0x98]
prefetcht0 byte [rax]
xor edi, edi
mov dword [rsp + 0x3c], 0xf
cmp dword [r11 + 0x12c], edi
jne 0x180048484
mov r10d, dword [r11 + 0x2c]
mov r14, r9
mov eax, dword [rsp + 0x30]
mov rcx, r12
mov r8d, dword [rsp + 0x48]
sub eax, r10d
cmp eax, 0x180
jbe 0x18004835f
lea ecx, [r10 + 0x60]
mov qword [rsp + 0x90], r12
cmp r10d, ecx
jae 0x180048294
lea r15, [r12 + 8]
mov r13d, edx
mov r12, qword [rsp + 0x60]
sub r13d, r8d
add r15, r10
mov r14d, r10d
mov rbp, r9
mov ebx, ecx
movabs rsi, 0xcf1bbcdcbb000000
mov rdx, qword [r15]
mov ecx, r13d
imul rdx, rsi
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rbp + rax*4]
prefetcht0 byte [r12 + rax]
mov rax, r14
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, edi
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r12]
lea rdx, [r8 + r12]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x3c]
inc r14
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rbp + rax*4], r10d
inc r10d
cmp r10d, ebx
jb 0x1800481f0
mov rax, qword [r11 + 8]
mov ebx, 3
mov rsi, qword [rsp + 0x70]
mov ebp, dword [rsp + 0x34]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x80]
lea edx, [rbx + 0x35]
mov qword [rsp + 0x90], rax
mov r10d, dword [rsp + 0x30]
lea rax, [rsi + 1]
mov ecx, dword [r11 + 0x34]
add r10d, 0xffffffe0
mov r14, qword [r11 + 0x70]
mov r15, qword [r11 + 0x38]
mov dword [rsp + 0x38], ecx
mov ecx, eax
sub ecx, r10d
mov r8d, r10d
sub ecx, r12d
lea r9, [r10 + r12]
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, edi
cmp ecx, eax
cmova ecx, eax
lea eax, [r10 + rcx]
cmp r10d, eax
jae 0x180048349
mov ebp, edx
mov r13d, ecx
sub ebp, dword [rsp + 0x38]
movabs rsi, 0xcf1bbcdcbb000000
nop
mov rdx, qword [r9]
mov ecx, ebp
imul rdx, rsi
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r15 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r13, 1
jne 0x1800482f0
mov r14, qword [r11 + 0x70]
mov r15, qword [r11 + 0x38]
mov rcx, qword [r11 + 8]
mov rsi, qword [rsp + 0x70]
mov ebp, dword [rsp + 0x34]
mov r13, qword [rsp + 0x58]
jmp 0x180048351
mov rcx, qword [rsp + 0x90]
mov r8d, dword [r11 + 0x34]
mov edx, 0x38
mov r9, qword [rsp + 0x78]
mov eax, dword [rsp + 0x30]
cmp r10d, eax
jae 0x18004842d
mov ebp, edx
mov r12d, r10d
sub ebp, r8d
lea r13, [rcx + 8]
add r13, r12
mov ebx, eax
movabs rsi, 0xcf1bbcdcbb000000
nop word [rax + rax]
mov rdx, qword [r13]
mov ecx, ebp
imul rdx, rsi
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [rax + r15]
mov rax, r12
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, edi
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r15 + r8]
lea rdx, [r15 + r8]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x3c]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r14 + rax*4], r10d
inc r10d
cmp r10d, ebx
jb 0x180048390
mov rsi, qword [rsp + 0x70]
mov ebx, 3
mov ebp, dword [rsp + 0x34]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x80]
mov r9, qword [rsp + 0x78]
mov eax, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x4c]
mov ecx, 0x38
sub ecx, dword [rsp + 0x48]
mov dword [r11 + 0x2c], eax
movabs rax, 0xcf1bbcdcbb000000
mov rdx, qword [r8 + r12 + 8]
imul rdx, rax
xor rdx, qword [rsp + 0x40]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r9 + rax*4]
mov r15, qword [rsp + 0x60]
prefetcht0 byte [rax + r15]
and r8d, 7
mov r10d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x180048496
xor r10, qword [rsp + 0x40]
sub edx, r14d
movzx ecx, dl
mov dword [r11 + 0x2c], r8d
shr r10, cl
add dword [r11 + 0x68], r10d
mov eax, r10d
shr rax, 4
mov r14, rdi
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + r15]
lea rcx, [r9 + rax*4]
mov qword [rsp + 0x40], rcx
lea rcx, [rax + r15]
movzx eax, byte [rax + r15]
mov r15, rdi
mov dword [rsp + 0x3c], eax
and eax, 0xf
mov r8d, eax
mov qword [rsp + 0x60], rcx
movsx eax, r10b
mov ecx, r8d
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, r8b
movzx r9d, ax
movzx eax, dx
shr rax, cl
or r9, rax
jbe 0x18004855e
mov r13d, dword [rsp + 0x50]
mov edx, r8d
mov r8, qword [rsp + 0x40]
nop
test ebp, ebp
je 0x180048553
bsf rcx, r9
add ecx, edx
and ecx, 0xf
je 0x18004854a
mov ecx, dword [r8 + rcx*4]
cmp ecx, r13d
jb 0x180048553
prefetcht0 byte [rcx + r12]
mov dword [rsp + r15*4 + 0xc0], ecx
inc r15
dec ebp
lea rax, [r9 - 1]
and r9, rax
ja 0x180048520
mov r13, qword [rsp + 0x58]
mov dword [rsp + 0x34], ebp
jmp 0x180048563
mov r8, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov eax, edi
dec ecx
mov edx, 0xf
and ecx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x60]
mov byte [rax], cl
mov byte [rcx + rax], r10b
mov eax, dword [r11 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r11 + 0x2c]
test r15, r15
je 0x1800485f6
mov rdi, qword [rsp + 0x80]
mov ebp, dword [rsp + 0x4c]
mov r12d, dword [rsp + r14*4 + 0xc0]
mov eax, dword [rbx + rsi - 3]
lea rdx, [rdi + r12]
cmp dword [rdx + rbx - 3], eax
jne 0x1800485e8
mov r8, r13
mov rcx, rsi
call fcn.180038ab0
mov rcx, rax
cmp rax, rbx
jbe 0x1800485e8
mov rdx, qword [rsp + 0xa0]
mov rbx, rax
mov eax, ebp
sub eax, r12d
add eax, 3
mov qword [rdx], rax
lea rax, [rbx + rsi]
cmp rax, r13
je 0x1800485f0
inc r14
cmp r14, r15
jb 0x1800485a0
mov ebp, dword [rsp + 0x34]
xor edi, edi
mov r11, qword [rsp + 0xa8]
mov r14, rdi
mov rcx, qword [rsp + 0x98]
mov eax, dword [r11 + 0x18]
movdqu xmm0, xmmword [rcx]
movzx r10d, byte [rcx]
mov r15, qword [r11 + 8]
and r10d, 0xf
mov r11, qword [r11]
mov ecx, r10d
mov dword [rsp + 0x50], eax
neg ecx
movsx eax, byte [rsp + 0x88]
and ecx, 0xf
mov r12d, r15d
mov qword [rsp + 0x40], r11
sub r12d, r11d
add r12d, dword [rsp + 0x68]
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, r10b
movzx r9d, ax
movzx eax, dx
shr rax, cl
or r9, rax
jbe 0x18004872b
mov edx, dword [rsp + 0x50]
mov r8, qword [rsp + 0xb0]
test ebp, ebp
je 0x1800486b8
bsf rcx, r9
add ecx, r10d
and ecx, 0xf
je 0x1800486af
mov ecx, dword [r8 + rcx*4]
cmp ecx, edx
jb 0x1800486b8
prefetcht0 byte [rcx + r15]
mov dword [rsp + rdi*4 + 0xc0], ecx
inc rdi
dec ebp
lea rax, [r9 - 1]
and r9, rax
ja 0x180048686
test rdi, rdi
je 0x18004872b
nop dword [rax]
mov ebp, dword [rsp + r14*4 + 0xc0]
mov eax, dword [rsi]
lea rdx, [r15 + rbp]
cmp dword [rdx], eax
jne 0x180048723
mov rax, qword [rsp + 0xb8]
lea rcx, [rsi + 4]
add rdx, 4
mov qword [rsp + 0x20], rax
mov r9, r11
mov r8, r13
call fcn.180038b50
add rax, 4
cmp rax, rbx
jbe 0x18004871e
mov ecx, dword [rsp + 0x4c]
mov rbx, rax
mov rdx, qword [rsp + 0xa0]
sub ecx, ebp
sub ecx, r12d
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rsi]
cmp rcx, r13
je 0x18004872e
mov r11, qword [rsp + 0x40]
inc r14
cmp r14, rdi
jb 0x1800486c0
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800b2e20
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret