Function at 0x4513a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3718
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x120], edi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x130], eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0044f2d0
push 0
push 0
push 3
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
push 5
push 1
push esi
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x10
mov esi, eax
call fcn.00484da3
mov dword [ebp - 0x124], eax
lea edx, [edi + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 3
add esp, 4
mov dword [ebp - 0x12c], edx
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_asw::wrappers::basic_handle_void___struct_asw::wrappers::detail::traits_file_handle__.0
mov dword [ecx], esi
mov edi, dword [edx + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
test edi, edi
je 0x4514d1
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4514d1
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4514cb
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
mov edx, dword [ebp - 0x12c]
mov edi, dword [edx]
cmp dword [edi], 0xffffffff
je 0x451cb7
mov dword [ebp - 4], 1
cmp byte [ebp - 0x38], 0
mov dword [ebp - 0x3c], vtable.asw::files::fs_redirection_auto.0
je 0x45150e
cmp byte [ebp - 0x37], 0
je 0x45150e
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call dword [0x4d9444]
call esi
mov edi, dword [ebp - 0x12c]
mov edi, dword [edi]
mov edi, dword [edi]
mov dword [ebp - 4], 2
xorps xmm0, xmm0
push 0x38
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 1
movlpd qword [ebp - 0x150], xmm0
call fcn.00484da3
mov dword [ebp - 0x108], eax
xorps xmm0, xmm0
add esp, 4
movlpd qword [ebp - 0x150], xmm0
mov dword [ebp - 0x14c], eax
movq qword [eax], xmm0
lea esi, [eax + 0x10]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_asw::files::file_mapping_.0
lea eax, [ebp - 0x114]
movups xmmword [esi], xmm0
push eax
movups xmmword [esi + 0x10], xmm0
push ecx
movq qword [esi + 0x20], xmm0
push 1
push ecx
push edi
mov ecx, esi
mov dword [esi], 0xffffffff
mov byte [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14], 0xf
call fcn.00439bd0
mov ecx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x108]
mov edi, dword [ecx + 0x18]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], eax
test edi, edi
je 0x45163b
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x45163b
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x451635
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
lea esi, [ecx + 4]
mov eax, 0xb
mov dword [ebp - 0x18], 0
sub esp, 8
mov dword [ebp - 0x128], eax
mov eax, dword [esi]
mov edx, esp
mov edi, dword [eax]
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x451678
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x14]
mov dword [edx], eax
mov eax, dword [ecx + 0x18]
mov ecx, edi
mov dword [edx + 4], eax
lea eax, [ebp - 0x18]
push eax
call dword [0x4d9444]
mov ecx, esi
call edi
push 0xc8
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 3
push 0
push eax
call fcn.004a08b0
add esp, 0xc
lea ecx, [ebp - 0x104]
call fcn.0048b930
push str.file_list
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x24], 0
call fcn.0048cc30
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4d9444]
mov ecx, esi
call edi
test al, al
je 0x451c0c
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x4d9444]
mov ecx, esi
call edi
mov edi, eax
mov dword [ebp - 0x14], 0
push 0x4eda28
lea eax, [ebp - 0x14]
mov dword [ebp - 0x11c], edi
push eax
lea ecx, [ebp - 0x24]
call fcn.0048cc30
push str.alias
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0048cc30
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.004978a0
cmp dword [edi + 0x40], 8
lea esi, [edi + 0x2c]
mov dword [ebp - 0x118], esi
mov ecx, esi
jb 0x45175e
mov ecx, dword [esi]
push ecx
mov ecx, eax
call fcn.00496c10
push str.sha_256
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x14]
call fcn.0048cc30
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.004978a0
add edi, 0x14
mov dword [ebp - 0x124], edi
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x45179b
mov ecx, dword [edi]
push ecx
mov ecx, eax
call fcn.00496c10
push str.offset
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0048cc30
lea ecx, [ebp - 0x194]
push ecx
mov ecx, eax
call fcn.004978a0
mov ecx, dword [ebp - 0x11c]
push dword [ecx + 0x10]
mov ecx, eax
call fcn.00496be0
push str.size
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x14]
call fcn.0048cc30
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.004978a0
mov ecx, dword [ebp - 0x11c]
push dword [ecx + 4]
mov ecx, eax
call fcn.00496be0
push str.timestamp
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x14]
call fcn.0048cc30
lea ecx, [ebp - 0x184]
push ecx
mov ecx, eax
call fcn.004978a0
mov ecx, dword [ebp - 0x11c]
push dword [ecx + 0xc]
push dword [ecx + 8]
mov ecx, eax
call fcn.00496cb0
push str.flags
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x14]
call fcn.0048cc30
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, eax
call fcn.004978a0
mov ecx, dword [ebp - 0x11c]
push dword [ecx]
mov ecx, eax
call fcn.00496be0
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x3c], 0
jne 0x451ac2
cmp dword [edi + 0x14], 8
mov esi, edi
mov eax, dword [edi + 0x10]
jb 0x45188a
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
mov dword [ebp - 0x108], eax
je 0x4518b7
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4518a0
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x1bc]
push edx
push edi
push eax
lea ecx, [ecx + 0x1c]
call fcn.00454f50
cmp dword [eax + 4], 0
je 0x451aa7
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x108], edi
jb 0x4518ec
mov eax, dword [edi]
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x1ac]
call fcn.00412370
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
movq qword [ebp - 0x148], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], 0x43384333
mov dword [ebp - 0x138], 0x32333346
mov dword [ebp - 0x134], 0x3c
movlpd qword [ebp - 0x20], xmm0
call fcn.00411780
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x118], eax
test eax, eax
je 0x451a53
mov eax, dword [eax]
push 2
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x118]
call esi
test al, al
je 0x451a53
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x168], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x128]
push dword [ebp - 0x108]
or eax, 0x10
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x124]
push str.file_sha_256___s_packed_in_payload_twice__overriding
push eax
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
call fcn.0041bd60
add esp, 0xc
lea eax, [ebp - 0x168]
cmp dword [ebp - 0x154], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x168]
push dword [ebp - 0x158]
push eax
lea eax, [ebp - 0x148]
push eax
push 2
call dword [0x4d9444]
mov ecx, dword [ebp - 0x118]
call esi
and dword [ebp - 0x128], 0xffffffef
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x154]
cmp edx, 0x10
jb 0x451a53
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451a49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451cb2
push edx
push ecx
call fcn.00484d63
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x118], ecx
test ecx, ecx
je 0x451aa7
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x451aa7
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x118]
call esi
mov ecx, dword [ebp - 0x118]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x451aa7
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x118]
call esi
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x1c4]
push dword [ebp - 0x11c]
push edi
lea ecx, [ecx + 0x1c]
jmp 0x451bea
cmp dword [esi + 0x14], 8
mov edi, esi
mov ecx, dword [esi + 0x10]
jb 0x451acf
mov edi, dword [esi]
xor eax, eax
mov edx, 0x811c9dc5
add ecx, ecx
mov dword [ebp - 0x124], ecx
je 0x451af9
mov esi, ecx
movzx ecx, byte [eax + edi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, esi
jb 0x451ae2
mov esi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x19c]
push edx
push esi
push eax
lea ecx, [ecx + 0x3c]
call fcn.00454f50
cmp dword [eax + 4], 0
je 0x451bd4
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x451b24
mov edi, dword [esi]
lea ecx, [ebp - 0x34]
call fcn.00412370
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
movq qword [ebp - 0x148], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], 0x43384333
mov dword [ebp - 0x138], 0x32333346
mov dword [ebp - 0x134], 0x45
movlpd qword [ebp - 0x20], xmm0
call fcn.00411780
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x451b8e
push edi
push str.file_alias___s_packed_in_payload_twice__overriding
lea eax, [ebp - 0x148]
push eax
push 2
call fcn.0040d700
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x451bd4
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x451bd4
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x451bce
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x110]
push dword [ebp - 0x11c]
push esi
lea ecx, [ecx + 0x3c]
push eax
call fcn.00454ff0
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4d9444]
mov ecx, esi
call edi
test al, al
jne 0x4516f5
mov edi, dword [ebp - 0x130]
lea ecx, [ebp - 0x24]
push ecx
mov edi, dword [edi + 0x10]
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
push str.file_mapping_sfx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0x104]
call fcn.0048cc30
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x12c]
call fcn.00451f30
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x28]
push ecx
mov edi, dword [eax + 0x10]
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
lea ecx, [ebp - 0x104]
call fcn.0048bd50
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x451c95
mov eax, dword [esi]
push 1
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4d9444]
mov ecx, esi
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret 8
call fcn.004a949f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x1a0]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x43384333
push eax
mov dword [ebp - 0x110], 0x32333346
mov dword [ebp - 0x10c], 0x23
call fcn.00412370
push eax
lea ecx, [ebp - 0x168]
call fcn.004123a0
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00454970
add esp, 8
push str.Failed_to_open_sfx_file.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x1b4]
push eax
call fcn.004a0209
int3