Function at 0x44f730
Capabilities:
Encrypt or decrypt via wincrypt
Move file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ab743
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x154]
mov ebp, dword [esp + 0x150]
xor ebx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x148], ebx
call fcn.004421f0
test al, al
jne 0x44f7dd
cmp dword [esp + 0x100], 8
jb 0x44f7d6
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004692b1
add esp, 4
xor al, al
jmp 0x44fc26
push 4
push str..dat
lea ecx, [esp + 0xf0]
call fcn.00408260
lea edx, [esp + 0x18]
push edx
lea edi, [esp + 0x30]
lea esi, [esp + 0x24]
call fcn.0044ff80
add esp, 4
cmp al, 1
je 0x44f82a
cmp dword [esp + 0x100], 8
jb 0x44f7d6
mov eax, dword [esp + 0xec]
push eax
call fcn.004692b1
add esp, 4
xor al, al
jmp 0x44fc26
lea ecx, [esp + 0x5c]
push ecx
call fcn.004317d0
mov esi, 0xf
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
lea edx, [esp + 0x104]
push edx
mov ebx, ebp
mov byte [esp + 0x14c], 2
call fcn.004449c0
add esp, 4
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.00450040
mov eax, dword [esp + 0xf4]
mov edi, 8
add esp, 8
cmp dword [esp + 0x100], edi
jae 0x44f899
lea eax, [esp + 0xec]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x44f949
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 0x20]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [esp + 0x11c], 0x10
jb 0x44f8fa
mov edx, dword [esp + 0x108]
push edx
call fcn.004692b1
add esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0x148], bl
call fcn.00431870
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0xb4], vtable.std::ios_base.0
call fcn.004a173c
add esp, 4
cmp dword [esp + 0x100], edi
jmp 0x44f7c4
mov esi, 0x480
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
call fcn.00484e69
add esp, 4
mov edi, eax
push edi
lea edx, [esp + 0x60]
push edx
mov ecx, 0x400
call fcn.00432fe0
mov eax, dword [esp + 0x60]
xor ecx, ecx
cmp eax, 0x400
push 0
setl cl
lea edx, [esp + 0x2c]
push edx
push 0
push 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov ebp, ecx
push ebp
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
cmp dword [esp + 0x28], esi
jbe 0x44f9e3
push esi
mov dword [esp + 0x20], esi
call fcn.00484e69
add esp, 4
push esi
push edi
mov ebx, eax
push esi
push ebx
call fcn.00483e29
mov esi, dword [esp + 0x38]
push esi
push edi
call fcn.0048826d
mov ecx, dword [esp + 0x34]
push ecx
push ebx
mov edi, eax
push esi
push edi
call fcn.00483e29
push ebx
call fcn.00484433
add esp, 0x2c
mov eax, dword [esp + 0x18]
push esi
lea edx, [esp + 0x28]
push edx
push edi
push 0
push ebp
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x38]
push ecx
push edx
mov ebx, eax
mov eax, dword [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ebp, ebp
je 0x44f961
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00484433
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 0x20]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
jne 0x44faa8
lea ecx, [esp + 0x104]
call fcn.00401450
lea ecx, [esp + 0xb0]
mov byte [esp + 0x148], bl
call fcn.00431870
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0xb4], vtable.std::ios_base.0
call fcn.004a173c
add esp, 4
lea ecx, [esp + 0xe8]
call fcn.00401a00
xor al, al
jmp 0x44fc26
mov eax, dword [esp + 0x38]
push eax
lea esi, [esp + 0x124]
call fcn.00405e30
push 0x5c
push 0x2f
mov edi, esi
mov byte [esp + 0x150], 3
call fcn.00401c00
mov ebp, dword [esp + 0x104]
mov esi, dword [esp + 0x13c]
add ebp, 2
xor ecx, ecx
mov eax, ebp
mov edx, 2
add esi, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004692ac
mov ebx, eax
xor ecx, ecx
add esp, 0xc
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004692ac
add esp, 4
cmp dword [esp + 0x100], 8
mov edi, eax
mov eax, dword [esp + 0xec]
jae 0x44fb32
lea eax, [esp + 0xec]
push eax
push ebp
push ebx
call fcn.00485454
mov eax, dword [esp + 0x130]
add esp, 0xc
cmp dword [esp + 0x138], 8
jae 0x44fb55
lea eax, [esp + 0x124]
push eax
push esi
push edi
call fcn.00485454
add esp, 0xc
xor eax, eax
mov word [ebx + ebp*2 - 4], ax
mov word [ebx + ebp*2 - 2], ax
mov word [edi + esi*2 - 4], ax
mov word [edi + esi*2 - 2], ax
mov ecx, 0x1e
lea eax, [esp + 0x3c]
nop
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x44fb80
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov esi, 1
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x50], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push ebx
call fcn.004692b1
add esp, 4
push edi
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x1c], esi
lea ecx, [esp + 0x120]
sete bl
call fcn.00401a00
lea ecx, [esp + 0x104]
call fcn.00401450
lea ecx, [esp + 0xb0]
mov byte [esp + 0x148], 0
call fcn.00431870
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xb4], vtable.std::ios_base.0
call fcn.004a173c
add esp, 4
lea ecx, [esp + 0xe8]
call fcn.00401a00
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00483bf3
add esp, 0x138
ret