Function at 0x1400d3090
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 [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r15, qword [rcx + 8]
mov r10, rcx
mov rax, qword [rcx + 0x38]
mov r13d, edx
mov r14, qword [rcx + 0x70]
sub r13d, r15d
mov qword [rsp + 0x78], rax
mov rsi, rdx
mov eax, dword [rcx + 0x34]
mov rbp, r8
mov dword [rsp + 0x30], eax
mov r11d, 1
mov eax, dword [rcx + 0x18]
mov r12d, r11d
mov ecx, dword [rcx + 0x100]
mov dword [rsp + 0x4c], eax
add rax, r15
mov qword [rsp + 0xb0], rax
lea edi, [r11 + 2]
mov eax, edx
mov qword [rsp + 0x50], r8
sub eax, r15d
mov qword [rsp + 0x98], r9
mov r9d, dword [r10 + 0x10c]
mov edx, r11d
shl edx, cl
mov r8d, r13d
mov ecx, dword [r10 + 0x1c]
sub r8d, edx
mov dword [rsp + 0x34], eax
mov eax, r13d
sub eax, ecx
mov qword [rsp + 0x60], r14
cmp eax, edx
mov qword [rsp + 0x80], r15
mov rax, qword [r10 + 0x60]
cmovbe r8d, ecx
mov qword [rsp + 0x70], rax
cmp dword [r10 + 0x28], 0
mov dword [rsp + 0x44], r13d
cmovne r8d, ecx
mov ecx, 6
cmp r9d, ecx
mov dword [rsp + 0x90], r8d
mov r8, qword [r10 + 0xf8]
cmovb ecx, r9d
mov qword [rsp + 0x68], r8
imul ebx, dword [rsi], 0x9e3779b1
shl r12d, cl
mov ecx, 0x22
sub ecx, dword [r8 + 0x108]
mov dword [rsp + 0x38], r12d
mov edx, ebx
shr rdx, cl
lea rax, [rdx*4]
lea rcx, [rax*4]
mov qword [rsp + 0xa8], rax
mov rax, qword [r8 + 0x70]
mov qword [rsp + 0x88], rcx
prefetcht0 byte [rcx + rax]
xor r11d, r11d
mov qword [rsp + 0xa0], r11
cmp r9d, 6
jbe 0x1400d31e6
lea ecx, [r9 - 6]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x40], eax
jmp 0x1400d31eb
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x3c], 0x3f
cmp dword [r10 + 0x12c], r11d
jne 0x1400d34f9
mov ebx, dword [r10 + 0x2c]
mov eax, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x78]
sub eax, ebx
mov r8d, dword [rsp + 0x30]
mov r15, rdx
mov ecx, r8d
cmp eax, 0x180
jbe 0x1400d33c1
lea eax, [rbx + 0x60]
mov dword [rsp + 0x48], r8d
cmp ebx, eax
jae 0x1400d330d
mov r15, qword [rsp + 0x80]
mov r13d, 0x18
mov r12, qword [rsp + 0x60]
sub r13d, r8d
add r15, 8
mov r14d, ebx
add r15, rbx
mov ebp, eax
mov rdi, rdx
nop word [rax + rax]
mov eax, dword [r10 + 0x60]
mov rcx, r13
imul edx, dword [r15], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [rdi + rax]
prefetcht0 byte [rdi + rax + 0x20]
mov rax, r14
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [rdi + r8]
lea rdx, [rdi + r8]
dec ecx
and ecx, 0x3f
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 [r12 + rax*4], ebx
inc ebx
cmp ebx, ebp
jb 0x1400d3260
mov eax, dword [r10 + 0x34]
mov edi, 3
mov r14, qword [r10 + 0x70]
mov r15, qword [r10 + 0x38]
mov rbp, qword [rsp + 0x50]
mov r12d, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov ebx, dword [rsp + 0x34]
lea rax, [rsi + 1]
mov rdx, qword [rsp + 0x80]
add ebx, 0xffffffe0
mov ecx, eax
mov r8d, ebx
sub ecx, ebx
sub ecx, edx
inc ecx
lea r9, [rdx + rbx]
cmp r9, rax
mov eax, 8
cmova ecx, r11d
cmp ecx, eax
cmova ecx, eax
lea eax, [rcx + rbx]
cmp ebx, eax
jae 0x1400d33bd
mov eax, 0x18
mov r12d, ecx
sub eax, dword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov ecx, eax
nop word [rax + rax]
mov eax, dword [r10 + 0x60]
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
prefetcht0 byte [r15 + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r12, 1
jne 0x1400d3360
mov r14, qword [r10 + 0x70]
mov r15, qword [r10 + 0x38]
mov ecx, dword [r10 + 0x34]
mov r12d, dword [rsp + 0x38]
jmp 0x1400d33c1
mov ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x34]
mov rdx, qword [r10 + 8]
cmp ebx, eax
jae 0x1400d3495
mov ebp, 0x18
mov r13d, ebx
sub ebp, ecx
lea r12, [rdx + 8]
add r12, r13
mov edi, eax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10 + 0x60]
mov rcx, rbp
imul edx, dword [r12], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
prefetcht0 byte [r15 + rax + 0x20]
mov rax, r13
lea r12, [r12 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r15 + r8]
lea rdx, [r15 + r8]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x3c]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r14 + rax*4], ebx
inc ebx
cmp ebx, edi
jb 0x1400d33f0
mov rbp, qword [rsp + 0x50]
mov edi, 3
mov r12d, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x44]
mov eax, dword [rsp + 0x34]
mov r15, qword [rsp + 0x80]
mov ecx, 0x18
sub ecx, dword [rsp + 0x30]
mov r14, qword [rsp + 0x60]
mov dword [r10 + 0x2c], eax
mov eax, dword [rsp + 0x70]
mov r8d, r13d
imul edx, dword [r8 + r15 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
mov rcx, qword [rsp + 0x78]
prefetcht0 byte [rax + rcx]
prefetcht0 byte [rax + rcx + 0x20]
and r8d, 7
mov r9d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1400d3513
mov r9d, dword [rsp + 0x70]
mov ecx, 0x18
sub ecx, dword [rsp + 0x30]
mov eax, ebx
xor r9, rax
mov dword [r10 + 0x2c], r13d
shr r9, cl
add dword [r10 + 0x68], r9d
mov eax, r9d
shr rax, 2
mov rbx, r11
and eax, 0x3fffffc0
mov qword [rsp + 0x58], r9
lea rcx, [r14 + rax*4]
mov r14, r11
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov qword [rsp + 0x60], rcx
movzx eax, byte [rcx]
movdqu xmm0, xmmword [rcx]
mov dword [rsp + 0x30], eax
movsx eax, r9b
movd xmm2, eax
mov rax, qword [rsp + 0x60]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
pmovmskb r8d, xmm1
movdqu xmm1, xmmword [rcx + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [rax + 0x30]
pmovmskb ecx, xmm1
pcmpeqb xmm0, xmm2
pmovmskb eax, xmm0
movsxd r9, eax
shl r9, 0x10
movsxd rax, ecx
or r9, rax
movsxd rax, edx
mov edx, dword [rsp + 0x30]
shl r9, 0x10
and edx, 0x3f
or r9, rax
mov ecx, edx
movsxd rax, r8d
neg ecx
shl r9, 0x10
and ecx, 0x3f
or r9, rax
mov r8, r9
shl r8, cl
mov ecx, edx
mov rdx, qword [rsp + 0x70]
shr r9, cl
or r8, r9
jbe 0x1400d362e
mov r9d, dword [rsp + 0x30]
mov ebp, dword [rsp + 0x90]
nop dword [rax]
test r12d, r12d
je 0x1400d3624
bsf rcx, r8
add ecx, r9d
and ecx, 0x3f
je 0x1400d361b
mov ecx, dword [rdx + rcx*4]
cmp ecx, ebp
jb 0x1400d3624
prefetcht0 byte [rcx + r15]
mov dword [rsp + r14*4 + 0xc0], ecx
inc r14
dec r12d
lea rax, [r8 - 1]
and r8, rax
ja 0x1400d35f0
mov rbp, qword [rsp + 0x50]
mov dword [rsp + 0x38], r12d
mov ecx, dword [rsp + 0x30]
mov eax, r11d
dec ecx
mov r8d, 0x3f
and ecx, 0x3f
cmove eax, r8d
mov r8, qword [rsp + 0x60]
add ecx, eax
mov rax, qword [rsp + 0x58]
mov byte [r8], cl
mov byte [rcx + r8], al
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x1400d36c5
mov r12, qword [rsp + 0x80]
nop
mov r15d, dword [rsp + rbx*4 + 0xc0]
mov eax, dword [rsi + rdi - 3]
lea rdx, [r12 + r15]
cmp dword [rdx + rdi - 3], eax
jne 0x1400d36b5
mov r8, rbp
mov rcx, rsi
call fcn.1400c02e0
cmp rax, rdi
jbe 0x1400d36b5
mov rdx, qword [rsp + 0x98]
mov ecx, r13d
sub ecx, r15d
mov rdi, rax
add ecx, 3
add rax, rsi
mov qword [rdx], rcx
cmp rax, rbp
je 0x1400d36bd
inc rbx
cmp rbx, r14
jb 0x1400d3670
mov r12d, dword [rsp + 0x38]
xor r11d, r11d
mov r9, qword [rsp + 0x68]
mov r14d, 3
mov r13d, dword [rsp + 0x40]
mov ebx, r14d
mov rdx, qword [rsp + 0x88]
add r13d, r12d
mov r8, qword [r9]
mov r15, qword [r9 + 8]
mov r10, qword [r9 + 0x70]
mov eax, r15d
sub eax, r8d
mov qword [rsp + 0x50], r8
add eax, dword [rsp + 0x4c]
cmp r13d, ebx
mov dword [rsp + 0x3c], eax
lea rcx, [rdx + r10]
cmovb ebx, r13d
mov dword [rsp + 0x4c], ebx
mov eax, dword [rcx]
prefetcht0 byte [rax + r15]
lea rcx, [rcx + 4]
sub r14, 1
jne 0x1400d3710
mov rax, qword [rsp + 0xa8]
mov ecx, dword [r10 + rax*4 + 0xc]
mov rax, qword [r9 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov dword [rsp + 0x40], r11d
mov r12d, r11d
test ebx, ebx
je 0x1400d382f
nop dword [rax]
mov rax, qword [r9 + 0x70]
mov r12d, dword [rdx + rax]
lea rbx, [r15 + r12]
test r12d, r12d
je 0x1400d390a
mov eax, dword [rsi]
cmp dword [rbx], eax
jne 0x1400d37f6
add rbx, 4
lea rcx, [rsi + 4]
sub rcx, rbx
mov rdx, rbx
add rcx, r8
mov r8, rbp
cmp rcx, rbp
cmovb r8, rcx
lea rcx, [rsi + 4]
call fcn.1400c02e0
mov r8, qword [rsp + 0x50]
mov r14, rax
lea rcx, [rax + rbx]
cmp rcx, r8
jne 0x1400d37c3
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsi + 4]
add rcx, rax
mov r8, rbp
call fcn.1400c02e0
mov r8, qword [rsp + 0x50]
add r14, rax
add r14, 4
cmp r14, rdi
jbe 0x1400d37f1
mov eax, dword [rsp + 0x44]
mov rdi, r14
mov rcx, qword [rsp + 0x98]
sub eax, r12d
sub eax, dword [rsp + 0x3c]
add eax, 3
mov qword [rcx], rax
lea rax, [r14 + rsi]
cmp rax, rbp
je 0x1400d3820
mov r9, qword [rsp + 0x68]
mov r12d, dword [rsp + 0x40]
add qword [rsp + 0x88], 4
inc r12d
mov dword [rsp + 0x40], r12d
cmp r12d, dword [rsp + 0x4c]
jae 0x1400d3828
mov rdx, qword [rsp + 0x88]
jmp 0x1400d3750
mov rax, r14
jmp 0x1400d390d
mov r10, qword [r9 + 0x70]
xor r11d, r11d
mov rax, qword [rsp + 0xa8]
sub r13d, r12d
mov edx, r11d
mov eax, dword [r10 + rax*4 + 0xc]
mov ebx, eax
shr ebx, 8
movzx ecx, al
cmp r13d, ecx
cmova r13d, ecx
test r13d, r13d
je 0x1400d390a
mov r10, qword [r9 + 0x80]
lea eax, [rdx + rbx]
mov eax, dword [r10 + rax*4]
prefetcht0 byte [rax + r15]
inc edx
cmp edx, r13d
jb 0x1400d3861
mov r12d, dword [rsp + 0x3c]
nop dword [rax]
mov rax, qword [r9 + 0x80]
mov r14d, dword [rax + rbx*4]
mov eax, dword [rsi]
lea rdx, [r15 + r14]
cmp dword [rdx], eax
jne 0x1400d38ef
mov rax, qword [rsp + 0xb0]
lea rcx, [rsi + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.1400c69a0
add rax, 4
cmp rax, rdi
jbe 0x1400d38e2
mov ecx, dword [rsp + 0x44]
mov rdi, rax
mov rdx, qword [rsp + 0x98]
sub ecx, r14d
sub ecx, r12d
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rsi]
cmp rcx, rbp
je 0x1400d390a
mov r9, qword [rsp + 0x68]
mov r11, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x50]
inc r11d
inc ebx
mov qword [rsp + 0xa0], r11
cmp r11d, r13d
jb 0x1400d3880
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret