Function at 0x44ff45
Capabilities:
Create directory
Delete file
Get common file path
Move file

Disassembly:
push ebp
sub esp, 0x4c8
lea ebp, [esp - 4]
mov eax, dword [0x7bb3e8]
xor eax, ebp
mov dword [ebp + 0x4c8], eax
push 0xac
mov eax, 0x6ad8ed
call fcn.00652366
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp + 0x4d4]
xor eax, eax
mov esi, dword [ebp + 0x4d8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x40], eax
jne 0x450188
lea eax, [ebp + 0xb8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor esi, esi
test eax, eax
jne 0x44ffc8
push esi
push str.noSystemTempDir
lea ecx, [ebp + 0x1c]
call fcn.00453beb
push 0x7625d4
lea eax, [ebp + 0x1c]
push eax
call fcn.0066a234
lea eax, [ebp + 0x2c0]
push eax
push esi
push str.HYDRA
lea eax, [ebp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
jne 0x44ffee
push esi
push str.cannotMakeTempFile
jmp 0x44ffb2
push 1
push 2
lea ecx, [ebp - 0xb8]
call fcn.0044783c
push esi
mov dword [ebp - 4], 1
call fcn.0067b08e
pop ecx
push edx
push eax
push 0x6d7c90
lea eax, [ebp + 0x2c0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00428ac8
push eax
call fcn.00428875
mov ecx, eax
call fcn.0044821e
lea eax, [ebp + 0x84]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00452c78
push eax
lea ecx, [ebp + 0x9c]
mov byte [ebp - 4], 2
call fcn.00442e9a
push esi
push 1
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], 4
call fcn.004284eb
lea eax, [ebp + 0x2c0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, edi
call fcn.00451d8f
test al, al
je 0x4500e4
lea eax, [ebp + 0xb8]
push eax
lea ecx, [ebp]
call fcn.00442f07
mov eax, dword [ebp]
lea ecx, [ebp]
push str.HYDRA_AUTO_TEST_TEMP
mov byte [ebp - 4], 5
call dword [eax + 0x24]
cmp dword [ebp + 0xb4], 8
mov ecx, dword [ebp + 0xa0]
jae 0x4500b4
lea ecx, [ebp + 0xa0]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x4500c0
lea eax, [ebp + 4]
push ecx
push eax
call fcn.0067aeb5
pop ecx
pop ecx
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0xa0]
call fcn.00428217
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00442f8c
cmp dword [ebp + 0xb4], 8
mov eax, dword [ebp + 0xa0]
jae 0x4500f9
lea eax, [ebp + 0xa0]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x450110
push esi
push str.failCreateTempDir
jmp 0x44ffb2
push 0x1c
call fcn.00651ae6
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x450133
lea ecx, [ebp + 0x9c]
push ecx
mov ecx, eax
call fcn.00442e23
jmp 0x450135
mov eax, esi
mov dword [edi + 0x40], eax
lea edi, [eax + 4]
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
mov dword [ebp - 0x10], 0x5c
call fcn.00436d90
mov ecx, edi
lea esi, [eax + 1]
push esi
call fcn.0040f785
push esi
mov ecx, edi
call fcn.00428436
lea ecx, [ebp + 0x9c]
call fcn.00442f8c
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.00448430
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push dword [edi + 0x40]
mov ecx, ebx
call fcn.00442e23
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x4501ba
cmp byte [esi], 0
je 0x4501ba
mov eax, dword [ebx]
mov ecx, ebx
push 0x6db288
call dword [eax + 0x24]
mov edx, dword [ebx]
mov ecx, ebx
push esi
call dword [edx + 0x24]
mov edx, dword [ebx]
mov ecx, ebx
push 0x6d7a88
call dword [edx + 0x24]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c8]
xor ecx, ebp
call fcn.0065231e
lea esp, [ebp + 0x4cc]
pop ebp
ret 8