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

Disassembly:
push ebp
sub esp, 0x4c8
lea ebp, [esp - 4]
mov eax, dword [0x767e58]
xor eax, ebp
mov dword [ebp + 0x4c8], eax
push 0xac
mov eax, 0x670d14
call fcn.00629b56
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 + 0x3c], eax
jne 0x44f4e3
lea eax, [ebp + 0xb8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor esi, esi
test eax, eax
jne 0x44f323
push esi
push str.noSystemTempDir
lea ecx, [ebp + 0x1c]
call fcn.00452a76
push 0x719344
lea eax, [ebp + 0x1c]
push eax
call fcn.0062bb74
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 0x44f349
push esi
push str.cannotMakeTempFile
jmp 0x44f30d
push 1
push 2
lea ecx, [ebp - 0xb8]
call fcn.004476e6
push esi
mov dword [ebp - 4], 1
call fcn.0063c467
pop ecx
push edx
push eax
push 0x695984
lea eax, [ebp + 0x2c0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00423ddb
push eax
call fcn.00423b88
mov ecx, eax
call fcn.004480b1
lea eax, [ebp + 0x84]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00451cbf
push eax
lea ecx, [ebp + 0x9c]
mov byte [ebp - 4], 2
call fcn.00442e3c
push esi
push 1
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], 4
call fcn.0042386b
lea eax, [ebp + 0x2c0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, edi
call fcn.00450dd6
test al, al
je 0x44f43f
lea eax, [ebp + 0xb8]
push eax
lea ecx, [ebp]
call fcn.00442ea9
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 0x44f40f
lea ecx, [ebp + 0xa0]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x44f41b
lea eax, [ebp + 4]
push ecx
push eax
call fcn.0063c28e
pop ecx
pop ecx
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0xa0]
call fcn.0042332c
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00442f2e
cmp dword [ebp + 0xb4], 8
mov eax, dword [ebp + 0xa0]
jae 0x44f454
lea eax, [ebp + 0xa0]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x44f46b
push esi
push str.failCreateTempDir
jmp 0x44f30d
push 0x1c
call fcn.006291e1
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x44f48e
lea ecx, [ebp + 0x9c]
push ecx
mov ecx, eax
call fcn.00442dc5
jmp 0x44f490
mov eax, esi
mov dword [edi + 0x3c], 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.004350e2
mov ecx, edi
lea esi, [eax + 1]
push esi
call fcn.0040a875
push esi
mov ecx, edi
call fcn.004237b6
lea ecx, [ebp + 0x9c]
call fcn.00442f2e
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.004482c3
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push dword [edi + 0x3c]
mov ecx, ebx
call fcn.00442dc5
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x44f515
cmp byte [esi], 0
je 0x44f515
mov eax, dword [ebx]
mov ecx, ebx
push 0x698d10
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 0x695774
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.00629b0e
lea esp, [ebp + 0x4cc]
pop ebp
ret 8