Function at 0x140040b10
Capabilities:
Encode data using xor
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov rax, qword [0x1402854d8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x100
call fcn.140107f60
mov eax, dword [rbx + 4]
lea rdi, [rsp + 0x78]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x44], eax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x48], eax
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x2c]
mov dword [rsp + 0x24], eax
mov eax, dword [rbx + 0x24]
bswap eax
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x28]
bswap eax
mov dword [rsp + 0x74], eax
mov eax, dword [rbx + 0x30]
bswap eax
mov dword [rsp + 0x7c], eax
mov eax, dword [rbx + 0x34]
bswap eax
mov dword [rsp + 0x80], eax
mov eax, dword [rbx + 0x38]
bswap eax
mov dword [rsp + 0x84], eax
mov eax, dword [rbx + 0x3c]
bswap eax
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x40]
bswap eax
mov dword [rsp + 0x8c], eax
mov eax, dword [rbx + 0x44]
bswap eax
mov dword [rsp + 0x90], eax
mov eax, dword [rbx + 0x48]
bswap eax
mov dword [rsp + 0x94], eax
mov eax, dword [rbx + 0x4c]
bswap eax
mov dword [rsp + 0x98], eax
mov eax, dword [rbx + 0x50]
bswap eax
mov dword [rsp + 0x9c], eax
mov eax, dword [rbx + 0x54]
bswap eax
mov dword [rsp + 0xa0], eax
mov eax, dword [rbx + 0x58]
bswap eax
mov dword [rsp + 0xa4], eax
mov eax, dword [rbx + 0x5c]
bswap eax
mov dword [rsp + 0xa8], eax
mov eax, dword [rbx + 0x60]
bswap eax
bswap edx
mov dword [rsp + 0xac], eax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x58], 4
nop word [rax + rax]
mov r14d, dword [rdi + 0x1c]
lea r12, [rdi + 0x40]
mov r9d, dword [rdi + 0x2c]
mov r15d, dword [rdi + 0x18]
mov ecx, dword [rdi + 8]
mov r8d, dword [rdi + 0x30]
mov eax, dword [rdi + 0x10]
mov r13d, dword [rdi + 0x34]
mov ebp, dword [rdi + 0x20]
mov esi, dword [rdi + 0x24]
mov r11d, dword [rdi - 8]
mov r10d, dword [rdi - 4]
xor r11d, edx
xor r10d, r8d
xor r11d, r9d
xor edx, r13d
xor r10d, r14d
xor r10d, dword [rdi + 4]
xor edx, ebp
xor edx, ecx
rol r10d, 1
rol edx, 1
xor r11d, r15d
rol r11d, 1
mov dword [rsp + 0x28], edx
mov ebx, r11d
mov dword [r12], edx
xor ebx, esi
mov edx, dword [rdi + 0xc]
xor ebx, edx
xor ebx, dword [rdi + 4]
mov dword [rsp + 0x2c], r11d
mov dword [rdi + 0x38], r11d
mov r11d, r10d
mov dword [rdi + 0x3c], r10d
mov dword [rsp + 0x40], r10d
mov r10d, dword [rsp + 0x28]
rol ebx, 1
mov dword [rdi + 0x44], ebx
mov edi, dword [rdi + 0x28]
xor r11d, edi
xor r11d, eax
xor r11d, ecx
mov rcx, qword [rsp + 0x30]
rol r11d, 1
mov dword [rcx + 0x48], r11d
mov ecx, dword [rcx + 0x14]
xor r10d, ecx
xor r10d, edx
mov rdx, qword [rsp + 0x30]
xor r10d, r9d
mov r9d, ebx
xor r9d, eax
rol r10d, 1
mov rax, rdx
xor r9d, r8d
mov dword [rdx + 0x4c], r10d
xor r9d, r15d
rol r9d, 1
mov r8d, r11d
mov dword [rdx + 0x50], r9d
xor r8d, r13d
xor r8d, ecx
mov ecx, r9d
xor ecx, dword [rsp + 0x40]
xor r8d, r14d
rol r8d, 1
xor ecx, esi
mov dword [rdx + 0x54], r8d
xor ecx, r14d
rol ecx, 1
mov r14, rax
mov dword [rax + 0x5c], ecx
mov edx, r10d
xor edx, dword [rsp + 0x2c]
xor edx, ebp
xor edx, r15d
rol edx, 1
mov dword [rax + 0x58], edx
mov eax, r8d
xor eax, dword [rsp + 0x28]
xor edx, ebx
mov qword [rsp + 0x30], r12
xor ecx, r11d
xor edx, esi
xor edx, dword [r14 + 0x2c]
xor ecx, edi
xor ecx, dword [r14 + 0x30]
xor eax, edi
rol edx, 1
xor eax, ebp
rol ecx, 1
mov rdi, r12
rol eax, 1
mov dword [r14 + 0x64], edx
xor edx, r9d
xor edx, dword [rsp + 0x2c]
xor edx, dword [r14 + 0x30]
mov dword [r14 + 0x68], ecx
xor ecx, r8d
xor ecx, dword [rsp + 0x40]
mov dword [r14 + 0x60], eax
xor ecx, r13d
xor eax, r10d
rol edx, 1
xor eax, r13d
rol ecx, 1
xor eax, dword [r14 + 0x2c]
rol eax, 1
sub qword [rsp + 0x58], 1
mov dword [r14 + 0x70], edx
mov edx, dword [rsp + 0x28]
mov dword [r14 + 0x6c], eax
mov dword [r14 + 0x74], ecx
jne 0x140040c60
mov r8d, dword [rsp + 0x44]
xor r9d, r9d
mov r10d, dword [rsp + 0x48]
movabs r15, 0xcccccccccccccccd
mov r11d, dword [rsp + 0x4c]
nop dword [rax]
nop word [rax + rax]
mov ebx, dword [rsp + 0x20]
mov rax, r15
mul r9
mov esi, r10d
mov ebp, r8d
shr rdx, 4
mov r14d, r11d
test rdx, rdx
je 0x140040eb4
sub rdx, 1
je 0x140040e8d
sub rdx, 1
je 0x140040e5e
cmp rdx, 1
jne 0x140040ee3
mov eax, ebx
mov ecx, r11d
xor eax, r8d
rol ecx, 5
add ecx, dword [rsp + 0x24]
xor eax, r10d
add eax, 0xca62c1d6
add eax, dword [rsp + r9*4 + 0x70]
add eax, ecx
mov qword [rsp + 0x38], rax
jmp 0x140040ee8
mov eax, r8d
mov ecx, r8d
and eax, r10d
xor ecx, r10d
and ecx, ebx
mov edx, r11d
xor ecx, eax
rol edx, 5
mov eax, dword [rsp + 0x24]
add ecx, dword [rsp + r9*4 + 0x70]
add eax, 0x8f1bbcdc
add eax, edx
add eax, ecx
mov qword [rsp + 0x38], rax
jmp 0x140040ee8
mov eax, ebx
mov ecx, r11d
xor eax, r8d
rol ecx, 5
xor eax, r10d
add ecx, eax
mov eax, dword [rsp + 0x24]
add ecx, dword [rsp + r9*4 + 0x70]
add eax, 0x6ed9eba1
add eax, ecx
mov qword [rsp + 0x38], rax
jmp 0x140040ee8
mov eax, dword [rsp + 0x20]
mov edx, r11d
mov ecx, eax
rol edx, 5
and eax, r8d
not ecx
and ecx, r10d
xor ecx, eax
mov eax, dword [rsp + 0x24]
add edx, ecx
add eax, 0x5a827999
add edx, dword [rsp + r9*4 + 0x70]
add eax, edx
mov qword [rsp + 0x38], rax
jmp 0x140040ee8
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x24], r10d
inc r9
mov r10d, r8d
mov dword [rsp + 0x20], r11d
mov r8d, ebx
mov r11d, eax
ror r8d, 2
cmp r9, 0x50
jb 0x140040e00
mov rcx, qword [rsp + 0x60]
add eax, dword [rsp + 0x50]
add dword [rcx + 8], r14d
add dword [rcx + 0xc], r8d
add dword [rcx + 0x10], ebp
add dword [rcx + 0x14], esi
mov dword [rcx + 4], eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140106650
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret