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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
movzx r11d, word [0x140116908]
mov esi, 1
mov eax, dword [0x1401168e8]
mov rdi, r8
mov bl, byte [0x1401169a4]
mov r15, rdx
mov r10, qword [0x140116958]
xor bl, r8b
add eax, dword [rdx + r11*8 + 0x20]
mov r14, r9
mov r8, qword [0x1401168e0]
mov dword [rsp + 0x30], eax
mov eax, dword [0x140116988]
add eax, 0x10
movzx ebp, cx
mov ecx, 0xffff
mov qword [rsp + 0x80], rbp
add r11w, cx
mov byte [rsp + 0x120], bl
movsxd rcx, eax
mov word [0x140116908], r11w
movsxd rax, dword [r9 + rcx*4]
imul rax, qword [0x140116918]
movzx ecx, byte [0x1401168de]
mov qword [rsp + 0x78], rax
movsxd rax, dword [0x1401169a0]
mov r12, rax
mov qword [rsp + 0xb0], rcx
sub eax, esi
or r12, rcx
mov rcx, qword [0x140116980]
mov dword [0x1401169a0], eax
mov rax, qword [0x140116928]
add rax, rax
mov qword [rsp + 0x90], r12
movsxd rax, dword [rcx + rax*8]
mov qword [rsp + 0xa0], rax
movzx eax, r11w
add r11w, si
movzx eax, word [r8 + rax*2]
mov qword [rsp + 0x48], rax
mov eax, dword [r9 + 0x621c]
sub eax, 0x10aa
movsxd r13, eax
lea rax, [rdi + rdi*2]
movsxd rax, dword [rcx + rax*4 + 0x1c]
mov qword [rsp + 0x70], rax
mov word [0x140116908], r11w
mov eax, dword [r9 + rdi*8 + 0x94]
mov r9b, dil
cdq
mov qword [rsp + 0x68], r13
idiv ebp
xor edx, edx
sub rdi, rsi
cdqe
mov qword [rsp + 0x60], rax
mov rax, qword [0x140116940]
mov qword [rsp + 0xa8], rax
movsxd rax, dword [r10 + 0x7684]
div qword [0x1401169b8]
mov eax, ebp
sub bp, si
shl eax, 2
mov qword [rsp + 0x38], rdx
mov word [rsp + 0x110], bp
movzx eax, word [r8 + rax*2]
mov qword [rsp + 0x98], rax
mov eax, dword [0x1401168d8]
lea eax, [rax + rax*2]
add eax, 4
cdqe
movsxd rax, dword [r15 + rax*4]
mov qword [rsp + 0xb8], rax
mov rax, qword [0x140116910]
mov esi, dword [rax + rdi*4 + 0x50]
mov dword [rsp + 0x128], esi
cmp esi, 0xae2
jg 0x140010c38
mov r11, qword [rsp + 0x118]
lea eax, [rsi + 0x14]
movsxd r15, eax
lea eax, [rsi + rsi*2]
movsxd rcx, eax
mov eax, esi
movzx r10d, bp
mov bpl, bl
movzx r8d, r9b
mov qword [rsp + 0x88], r8
lea r12, [rcx*2]
mov dword [rsp + 0x40], r10d
add r12, r13
shl eax, 2
movsxd rcx, eax
mov qword [rsp + 0x58], r12
lea r13, [r14 + rcx*4]
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x68]
movsxd rbx, edx
movzx ecx, bpl
movzx eax, word [rax + rbx*2]
imul eax, ecx
mov ecx, dword [rsp + 0x30]
cdq
idiv dword [r13]
mov dword [r13], eax
mov rax, qword [0x140116920]
mov eax, dword [rax + r8*4 + 4]
cdq
idiv ecx
xor ax, cx
add ax, si
add word [r12], ax
mov rax, qword [rsp + 0x48]
mov r8, qword [0x1401169a8]
movzx ecx, word [rax + 0x1076]
mov eax, esi
cdq
idiv ecx
mov eax, edx
cdq
idiv r10d
movzx eax, bpl
add bpl, 0xff
xor byte [r15 + r8], dl
xor edx, edx
div qword [0x140116968]
movzx r8d, word [0x14011690c]
xor edx, edx
mov ecx, dword [r11 + 0x3688]
mov r10, rax
mov eax, 0x113c
mov byte [rsp + 0x120], bpl
movzx r9d, byte [rax]
movzx eax, word [0x140116908]
xor r9, qword [0x140116918]
div r8d
mov qword [rsp + 0x28], r9
mov r8d, 0x17e
mov edx, eax
mov qword [rsp + 0x20], 0x53f
mov r9d, r10d
call fcn.1400147b4
mov rdx, qword [rsp + 0x70]
mov r11, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x48]
mov word [rcx + rdx*8], ax
mov al, byte [0x140116998]
or al, byte [0x140116960]
xor byte [0x1401168de], al
mov eax, dword [r14 + 0x43c]
cdq
idiv dword [r11 + rbx*4]
mov dword [r11 + rbx*4], edx
mov r9, qword [0x140116948]
movsxd r10, dword [0x1401168e8]
cmp r10d, dword [r9 + 0x6508]
jne 0x140010bcc
movzx r8d, word [0x1401168dc]
lea rbx, [r10 + 0x5f9]
mov rbp, qword [rsp + 0x38]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
movzx eax, word [rsi]
inc r10d
movzx ecx, byte [r13 + rax*2 + 0xa]
imul eax, ecx, 0x1a88
xor dword [r14 + r8*4], eax
movsxd rax, dword [0x1401168d8]
xor dword [r12 + rax*4], ebp
movsxd r9, dword [0x14011698c]
mov r8, qword [0x1401168e0]
mov rax, qword [0x140116930]
movzx ecx, word [r8 + r9*2]
mov eax, dword [r14 + rax*8]
cdq
idiv ecx
mov word [r8 + r9*2], ax
movzx ecx, byte [rbx]
inc rbx
movzx r8d, word [0x1401168dc]
mov r9, qword [0x140116948]
movzx eax, byte [r8 + r13]
sub eax, ecx
movzx ecx, byte [rdi + r13]
cdq
idiv dword [r11 + 0x63f4]
sub eax, ecx
xor ebp, eax
cmp r10d, dword [r9 + 0x6508]
je 0x140010b31
mov esi, dword [rsp + 0x128]
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov qword [rsp + 0x38], rbp
mov bpl, byte [rsp + 0x120]
mov rdx, qword [rsp + 0x38]
inc esi
mov r8, qword [rsp + 0x88]
add r13, 0x10
mov r10d, dword [rsp + 0x40]
add r12, 6
inc r15
mov dword [rsp + 0x128], esi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r12
cmp esi, 0xae2
jle 0x1400109f7
movzx r11d, word [0x140116908]
mov r10, qword [0x140116958]
movzx ebp, word [rsp + 0x110]
mov bl, byte [rsp + 0x120]
mov r15, qword [rsp + 0x118]
mov r12, qword [rsp + 0x90]
jmp 0x140010c3f
mov r9, qword [0x140116948]
mov r8, qword [rsp + 0x98]
movsxd rax, dword [0x1401169c8]
movzx ecx, r11w
cmp rax, qword [r8 + rcx*8]
je 0x140010cd4
lea eax, [rdx*2 + 2]
mov rcx, rdi
movsxd rdx, eax
add rcx, rcx
mov rax, qword [0x140116920]
movsxd rcx, dword [rax + rcx*8]
mov rax, qword [rsp + 0xa0]
cmp rcx, qword [rax + rdx*8]
ja 0x140010cd4
movzx eax, word [0x14011690c]
movsxd rdx, dword [r10 + rax*4 + 0x3c]
movzx eax, bl
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0xa8]
cmp rdx, qword [rax + rcx*8]
jae 0x140010cd4
movzx eax, bp
dec rdi
lea rcx, [rax + rax*2]
mov rax, qword [0x1401168f0]
lea r8, [rdi + rdi*2]
mov edx, dword [rax + rcx*4]
or edx, dword [r15 + 0x4b18]
sub edx, dword [r9 + r8*4]
add edx, 0xe67
mov dword [r9 + r8*4], edx
jmp 0x140010d80
mov ecx, dword [0x1401169cc]
mov eax, 0x19bd
dec ecx
mov dword [0x1401169cc], ecx
sub eax, ecx
movzx edx, byte [0x8df]
movsxd r8, dword [r12 + rdi*4]
movzx r9d, byte [0x3527]
movsxd rcx, eax
call fcn.14001157c
movsxd r8, eax
movzx r10d, bp
movzx r9d, bp
lea eax, [r10 + 4]
lea ecx, [rax + rax*2]
mov rax, qword [0x140116900]
mov qword [rax + rcx*8], r8
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x60]
mov r8, qword [0x140116900]
movzx eax, word [rax]
movzx ecx, byte [rcx + rax*4]
mov eax, dword [0x1401169a0]
cdq
idiv ecx
movsxd rcx, eax
and qword [r8 + r9*8], rcx
mov al, byte [0x1401168de]
mov rcx, qword [rsp + 0xb8]
inc al
mov byte [0x1401168de], al
movzx eax, al
mov edx, dword [rcx + r9*4]
imul edx, r10d
xor edx, eax
movzx eax, bl
or edx, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov dword [r14 + rcx*4], edx
mov rcx, qword [0x140116928]
mov rax, qword [0x140116990]
add rcx, rcx
mov eax, dword [rax + rcx*8]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret