Function at 0x18009754c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x540]
sub rsp, 0x640
mov rax, qword [0x1802e9850]
xor rax, rsp
mov qword [rbp + 0x530], rax
xor ebx, ebx
mov r15, r8
mov rdi, rcx
cmp dword [rcx + 0x24], ebx
je 0x180097593
mov eax, 0x40000
jmp 0x180098049
cmp byte [rcx + 0x40], bl
je 0x1800975a2
mov eax, 0x50000
jmp 0x180098049
mov r12d, ebx
mov esi, dword [rbp + 0x5a0]
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp qword [rcx], rbx
je 0x1800975bc
cmp esi, 4
cmovne r12d, eax
mov r8d, 0x104
lea rcx, [rbp + 0x320]
call fcn.18022b3a8
movzx ecx, word [rbp + 0x320]
mov word [rbp + 0x526], bx
test cx, cx
je 0x180098044
lea rax, [rbp + 0x320]
mov r14d, 0x2f
cmp cx, 0x5c
jne 0x1800975fc
mov word [rax], r14w
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x1800975f2
mov eax, 8
cmp esi, 4
jne 0x180097636
lea rcx, [rbp + 0x320]
call fcn.180220748
cmp word [rbp + rax*2 + 0x31e], r14w
je 0x180097631
mov r13b, 1
jmp 0x18009772c
mov eax, 8
mov r13b, bl
mov r14d, eax
cmp esi, 4
je 0x18009772c
lea rcx, [rbp + 0x320]
call fcn.180220748
lea rbx, [rbp + 0x320]
lea rbx, [rbx + rax*2]
jmp 0x180097668
cmp word [rbx], 0x2e
je 0x18009768a
sub rbx, 2
lea rax, [rbp + 0x320]
cmp rbx, rax
ja 0x18009765e
lea rax, [rbp + 0x320]
cmp rbx, rax
jne 0x18009768a
cmp word [rbx], 0x2e
jne 0x180097731
lea rdx, [0x1802b501c]
mov rcx, rbx
call fcn.180096d3c
test eax, eax
je 0x18009772a
lea rdx, str..zip
mov rcx, rbx
call fcn.180096d3c
test eax, eax
je 0x18009772a
lea rdx, str..zoo
mov rcx, rbx
call fcn.180096d3c
test eax, eax
je 0x18009772a
lea rdx, str..arc
mov rcx, rbx
call fcn.180096d3c
test eax, eax
je 0x18009772a
lea rdx, str..lzh
mov rcx, rbx
call fcn.180096d3c
test eax, eax
je 0x18009772a
lea rdx, str..arj
mov rcx, rbx
call fcn.180096d3c
test eax, eax
je 0x18009772a
lea rdx, [0x1802b5078]
mov rcx, rbx
call fcn.180096d3c
test eax, eax
je 0x18009772a
lea rdx, str..tgz
mov rcx, rbx
call fcn.180096d3c
xor ebx, ebx
test eax, eax
jne 0x180097733
jmp 0x18009772c
xor ebx, ebx
mov r14d, ebx
jmp 0x180097733
xor ebx, ebx
cmp esi, 2
jne 0x1800977ce
and qword [rdi + 0x8c], 0
mov qword [rdi + 0x98], rbx
mov qword [rdi + 0xa8], rbx
mov byte [rdi + 0xa0], bl
mov dword [rdi + 0x88], ebx
mov dword [rdi + 0xb8], ebx
test r15, r15
je 0x18009781c
mov qword [rsp + 0x30], rbx
lea r8d, [rsi - 1]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1800977a3
mov ebx, 0x200
jmp 0x180097821
mov rdx, r15
mov rcx, rdi
call fcn.180096f90
mov ebx, eax
test eax, eax
je 0x1800977bf
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180097821
xor r15d, r15d
mov byte [rdi + 0xa0], 1
mov ebx, r15d
jmp 0x1800977e3
cmp esi, 1
jne 0x1800977ed
mov rdx, r15
mov rcx, rdi
call fcn.180096f90
mov ebx, eax
xor r15d, r15d
test ebx, ebx
je 0x1800978a5
jmp 0x180097821
cmp esi, 3
jne 0x180097828
and qword [rdi + 0x8c], 0
and qword [rdi + 0xb4], 0
mov qword [rdi + 0x98], rbx
mov qword [rdi + 0xa8], r15
mov byte [rdi + 0xa0], bl
mov dword [rdi + 0xb0], ebx
mov ebx, 0x10000
mov eax, ebx
jmp 0x180098049
cmp esi, 4
jne 0x180098044
xor r15d, r15d
mov dword [rdi + 0x70], 0x41c00010
lea r8, [rbp + 0x2d8]
mov qword [rdi + 0x98], r15
lea rdx, [rbp + 0x2dc]
mov qword [rdi + 0xa8], r15
lea rcx, [rdi + 0x74]
mov byte [rdi + 0xa0], r15b
mov qword [rdi + 0x8c], r15
mov dword [rdi + 0xb8], r15d
mov dword [rdi + 0x88], r15d
mov byte [rdi + 0x84], r15b
call fcn.180093ee0
mov eax, dword [rdi + 0x74]
movzx ecx, word [rbp + 0x2dc]
mov dword [rdi + 0x78], eax
mov dword [rdi + 0x7c], eax
movzx eax, word [rbp + 0x2d8]
shl ecx, 0x10
or ecx, eax
mov dword [rdi + 0x80], ecx
lea rdx, [0x1802b282b]
mov qword [rbp + 0x2c0], r15
lea rcx, [rbp - 0x78]
call fcn.18022b2f0
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x30], r15
lea r8, [rbp + 0x320]
mov dword [rsp + 0x28], 0x104
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbp + 0xa8]
call fcn.180221f40
mov qword [rsp + 0x58], rax
test r13b, r13b
je 0x180097928
lea rdx, [0x1802b508c]
lea rcx, [rbp + 0xa8]
call fcn.18022b250
mov r13d, 1
add qword [rsp + 0x58], r13
jmp 0x18009792e
mov r13d, 1
lea rdx, [0x1802b282b]
lea rcx, [rbp + 0x1ac]
call fcn.18022b2f0
mov eax, dword [rdi + 0x80]
mov dword [rsp + 0x48], eax
mov eax, 8
mov qword [rbp + 0xa0], r15
mov qword [rsp + 0x70], r15
mov dword [rbp + 0x2b0], r13d
lea r8d, [rax + 1]
mov dword [rbp + 0x2b8], r15d
mov word [rsp + 0x7a], r15w
mov dword [rsp + 0x40], 0x140b17
mov dword [rsp + 0x4c], r15d
mov word [rsp + 0x44], ax
cmp qword [rdi], r15
je 0x180097998
cmp esi, 4
je 0x180097998
mov eax, r8d
mov word [rsp + 0x44], ax
mov word [rsp + 0x7c], ax
mov word [rsp + 0x46], r14w
test r14d, r14d
jne 0x1800979bc
mov ecx, dword [rdi + 0x88]
test ecx, ecx
js 0x1800979bc
lea eax, [rcx + r12]
mov dword [rsp + 0x50], eax
jmp 0x1800979c7
mov ecx, dword [rdi + 0x88]
mov dword [rsp + 0x50], r15d
mov eax, dword [rdi + 0x70]
mov edx, dword [rdi + 0x7c]
mov dword [rbp - 0x80], eax
mov eax, dword [rdi + 0x20]
add eax, dword [rdi + 0x28]
mov dword [rbp - 0x7c], eax
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0x90], rax
lea rax, [rbp + 0x308]
mov qword [rbp + 0x98], rax
mov al, byte [rdi + 0x78]
mov byte [rbp + 0x2e5], al
mov dword [rsp + 0x54], ecx
mov ecx, dword [rdi + 0x78]
mov eax, ecx
sar eax, 8
mov byte [rbp + 0x2e6], al
mov eax, ecx
sar eax, 0x10
mov byte [rbp + 0x2e7], al
mov al, byte [rdi + 0x74]
mov byte [rbp + 0x2e9], al
sar ecx, 0x18
mov byte [rbp + 0x2e8], cl
mov ecx, dword [rdi + 0x74]
mov eax, ecx
sar eax, 8
mov byte [rbp + 0x2ea], al
mov eax, ecx
sar eax, 0x10
mov byte [rbp + 0x2eb], al
mov al, byte [rdi + 0x7c]
mov byte [rbp + 0x2ed], al
mov eax, edx
sar eax, 8
mov byte [rbp + 0x2ee], al
mov eax, edx
sar edx, 0x18
sar ecx, 0x18
mov byte [rbp + 0x2f0], dl
lea rdx, [rbp + 0x2e0]
mov byte [rbp + 0x2ec], cl
lea rcx, [rbp + 0x308]
sar eax, 0x10
mov word [rsp + 0x78], r15w
mov qword [rsp + 0x60], 0x11
mov qword [rsp + 0x68], r8
mov dword [rbp + 0x2e0], 0xd5455
mov byte [rbp + 0x2e4], 7
mov byte [rbp + 0x2ef], al
call fcn.18021bcc0
mov rax, qword [rbp + 0x98]
lea rcx, [rsp + 0x40]
mov r8, rdi
mov byte [rax + 2], 5
call fcn.1800962dc
test eax, eax
je 0x180097add
mov rcx, rdi
call fcn.18009719c
mov eax, 0x400
jmp 0x180098049
mov ecx, dword [rsp + 0x58]
add ecx, 0x1e
add ecx, dword [rsp + 0x60]
add dword [rdi + 0x28], ecx
cmp dword [rdi + 0x24], r15d
je 0x180097b01
mov rcx, rdi
call fcn.18009719c
mov eax, dword [rdi + 0x24]
jmp 0x180098049
mov dword [rdi + 0x44], 0x12345678
lea r9, [0x1802b4280]
mov dword [rdi + 0x48], 0x23456789
mov dword [rdi + 0x4c], 0x34567890
mov r8, qword [rdi]
test r8, r8
je 0x180097b71
cmp byte [r8], r15b
je 0x180097b71
movsx rax, byte [r8]
mov edx, dword [rdi + 0x44]
mov ecx, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
xor edx, dword [r9 + rax*4]
movzx eax, dl
add eax, dword [rdi + 0x48]
imul ecx, eax, 0x8088405
mov dword [rdi + 0x44], edx
mov edx, dword [rdi + 0x4c]
add ecx, r13d
mov dword [rdi + 0x48], ecx
movzx eax, byte [rdi + 0x4b]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r9 + rcx*4]
mov dword [rdi + 0x4c], edx
add r8, r13
jne 0x180097b25
cmp byte [0x1802f7640], r15b
jne 0x180097b92
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, eax
mov ecx, ebx
call fcn.18022b0c0
mov rbx, r15
call fcn.18022b094
sar eax, 7
mov byte [rbp + rbx + 0x2f8], al
add rbx, r13
cmp rbx, 0xc
jl 0x180097b95
mov eax, dword [rsp + 0x48]
lea r11, [0x1802b4280]
shr eax, 8
mov r10, r15
mov byte [rbp + 0x303], al
movsx rax, byte [rbp + r10 + 0x2f8]
mov r8d, dword [rdi + 0x4c]
mov edx, dword [rdi + 0x44]
mov r9d, r8d
mov ecx, edx
and r9d, 0xfffd
xor rcx, rax
shr edx, 8
movzx eax, cl
or r9d, 2
xor edx, dword [r11 + rax*4]
movzx eax, dl
add eax, dword [rdi + 0x48]
imul ecx, eax, 0x8088405
mov dword [rdi + 0x44], edx
add ecx, r13d
mov dword [rdi + 0x48], ecx
movzx eax, byte [rdi + 0x4b]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
mov eax, r9d
xor eax, r13d
imul eax, r9d
xor r8d, dword [r11 + rcx*4]
mov dword [rdi + 0x4c], r8d
shr eax, 8
xor byte [rbp + r10 + 0x2f8], al
add r10, r13
cmp r10, 0xc
jl 0x180097bc4
mov rax, qword [rdi]
test rax, rax
je 0x180097c64
cmp esi, 4
je 0x180097c64
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rbp + 0x2f8]
mov rcx, rdi
call fcn.180096dc0
add dword [rdi + 0x28], 0xc
mov rax, qword [rdi]
mov ebx, r15d
test rax, rax
je 0x180097c74
mov al, r13b
cmp esi, 4
jne 0x180097c77
mov al, r15b
mov byte [rdi + 0x41], al
cmp esi, 4
je 0x180097cf8
mov eax, 8
cmp r14d, eax
jne 0x180097c9a
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097200
mov ebx, eax
jmp 0x180097cff
test r14d, r14d
jne 0x180097cff
lea r13, [rdi + 0xbc]
jmp 0x180097cc2
cmp ebx, 0xffffffff
je 0x180097cd9
mov r8d, ebx
mov rdx, r13
mov rcx, rdi
call fcn.180096dc0
cmp eax, ebx
jne 0x180097cee
add r15d, ebx
mov r8d, 0x4000
mov rdx, r13
mov rcx, rdi
call fcn.1800970b0
mov ebx, eax
test eax, eax
jne 0x180097ca8
mov dword [rdi + 0xb8], r15d
xor r15d, r15d
mov ebx, r15d
mov r13d, 1
jmp 0x180097cff
mov ebx, 0x60000
xor r15d, r15d
jmp 0x180097ce6
mov dword [rdi + 0xb8], r15d
mov rcx, rdi
mov byte [rdi + 0x41], r15b
call fcn.18009719c
mov ecx, dword [rdi + 0xb8]
add dword [rdi + 0x28], ecx
mov eax, dword [rdi + 0x24]
test eax, eax
jne 0x180098049
test ebx, ebx
jne 0x180097ad3
mov eax, dword [rdi + 0x90]
add ecx, r12d
cmp dword [rsp + 0x50], ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rdi + 0x88]
sete dl
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], eax
cmp byte [rdi + 0x2c], r15b
je 0x180097dbf
cmp qword [rdi], r15
je 0x180097d59
cmp esi, 4
jne 0x180097dbf
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x46], r14w
test r13b, al
jne 0x180097d76
mov ecx, 0xfff7
and ax, cx
mov word [rsp + 0x44], ax
mov edx, dword [rbp - 0x7c]
mov rcx, rdi
sub edx, dword [rdi + 0x20]
mov word [rsp + 0x7c], ax
call fcn.180096f38
test al, al
je 0x180097db5
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.1800962dc
test eax, eax
jne 0x180097ad3
mov edx, dword [rdi + 0x28]
mov rcx, rdi
call fcn.180096f38
test al, al
jne 0x180097fb9
mov eax, 0x2000000
jmp 0x180098049
cmp word [rsp + 0x46], r14w
jne 0x18009803d
test r14d, r14d
jne 0x180097dd8
test dl, dl
je 0x18009803d
mov r8d, r13d
mov byte [rbp + 0x2d0], 0x50
lea rdx, [rbp + 0x2d0]
mov rcx, rdi
call fcn.180096dc0
mov r8d, r13d
mov byte [rbp + 0x2d0], 0x4b
lea rdx, [rbp + 0x2d0]
mov rcx, rdi
call fcn.180096dc0
mov r8d, r13d
mov byte [rbp + 0x2d1], 7
lea rdx, [rbp + 0x2d1]
mov rcx, rdi
call fcn.180096dc0
mov eax, 8
lea rdx, [rbp + 0x2d1]
mov r8d, r13d
mov byte [rbp + 0x2d1], al
mov rcx, rdi
call fcn.180096dc0
mov al, byte [rsp + 0x4c]
lea rdx, [rbp + 0x2d2]
mov r8d, r13d
mov byte [rbp + 0x2d2], al
mov rcx, rdi
call fcn.180096dc0
mov eax, dword [rsp + 0x4c]
lea rdx, [rbp + 0x2d2]
shr eax, 8
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2d2], al
call fcn.180096dc0
mov eax, dword [rsp + 0x4c]
lea rdx, [rbp + 0x2d3]
shr eax, 0x10
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2d3], al
call fcn.180096dc0
mov eax, dword [rsp + 0x4c]
lea rdx, [rbp + 0x2d3]
shr eax, 0x18
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2d3], al
call fcn.180096dc0
mov al, byte [rsp + 0x50]
lea rdx, [rbp + 0x2d4]
mov r8d, r13d
mov byte [rbp + 0x2d4], al
mov rcx, rdi
call fcn.180096dc0
mov eax, dword [rsp + 0x50]
lea rdx, [rbp + 0x2d4]
shr eax, 8
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2d4], al
call fcn.180096dc0
mov eax, dword [rsp + 0x50]
lea rdx, [rbp + 0x2d5]
shr eax, 0x10
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2d5], al
call fcn.180096dc0
mov eax, dword [rsp + 0x50]
lea rdx, [rbp + 0x2d5]
shr eax, 0x18
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2d5], al
call fcn.180096dc0
mov al, byte [rsp + 0x54]
lea rdx, [rbp + 0x2d8]
mov r8d, r13d
mov byte [rbp + 0x2d8], al
mov rcx, rdi
call fcn.180096dc0
mov eax, dword [rsp + 0x54]
lea rdx, [rbp + 0x2d8]
shr eax, 8
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2d8], al
call fcn.180096dc0
mov eax, dword [rsp + 0x54]
lea rdx, [rbp + 0x2dc]
shr eax, 0x10
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2dc], al
call fcn.180096dc0
mov eax, dword [rsp + 0x54]
lea rdx, [rbp + 0x2dc]
shr eax, 0x18
mov r8d, r13d
mov rcx, rdi
mov byte [rbp + 0x2dc], al
call fcn.180096dc0
movzx eax, word [rsp + 0x7c]
add dword [rdi + 0x28], 0x10
mov word [rsp + 0x44], ax
mov eax, dword [rdi + 0x24]
test eax, eax
jne 0x180098049
mov rcx, qword [rsp + 0x68]
call fcn.180099a14
mov r8, qword [rsp + 0x68]
mov rcx, rax
mov rdx, qword [rbp + 0x98]
mov rbx, rax
call fcn.18021bcc0
mov esi, 0x388
mov qword [rbp + 0x98], rbx
mov ecx, esi
call fcn.1800999c4
mov r8d, esi
lea rdx, [rsp + 0x40]
mov rcx, rax
mov rbx, rax
call fcn.18021bcc0
mov rcx, qword [rdi + 0x60]
test rcx, rcx
jne 0x18009801a
mov qword [rdi + 0x60], rbx
jmp 0x180098039
mov rax, qword [rcx + 0x380]
jmp 0x18009802d
mov rcx, rax
mov rax, qword [rax + 0x380]
test rax, rax
jne 0x180098023
mov qword [rcx + 0x380], rbx
xor eax, eax
jmp 0x180098049
mov eax, 0x4000000
jmp 0x180098049
mov eax, 0x10000
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.180219840
mov rbx, qword [rsp + 0x698]
add rsp, 0x640
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret