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

Disassembly:
push ebp
sub esp, 0x4c8
lea ebp, [esp - 4]
mov eax, dword [0x7a6168]
xor eax, ebp
mov dword [ebp + 0x4c8], eax
push 0xac
mov eax, 0x69f1cc
call fcn.00640806
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 0x4541de
lea eax, [ebp + 0xb8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor esi, esi
test eax, eax
jne 0x45401e
push esi
push str.noSystemTempDir
lea ecx, [ebp + 0x1c]
call fcn.004577b2
push 0x7509e4
lea eax, [ebp + 0x1c]
push eax
call fcn.006586e4
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 0x454044
push esi
push str.cannotMakeTempFile
jmp 0x454008
push 1
push 2
lea ecx, [ebp - 0xb8]
call fcn.0044c325
push esi
mov dword [ebp - 4], 1
call fcn.0066952a
pop ecx
push edx
push eax
push 0x6c7fb8
lea eax, [ebp + 0x2c0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00428762
push eax
call fcn.0042850f
mov ecx, eax
call fcn.0044cd60
lea eax, [ebp + 0x84]
push eax
lea ecx, [ebp - 0xb8]
call fcn.004569a1
push eax
lea ecx, [ebp + 0x9c]
mov byte [ebp - 4], 2
call fcn.00447a3c
push esi
push 1
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], 4
call fcn.004281f2
lea eax, [ebp + 0x2c0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, edi
call fcn.00455ab8
test al, al
je 0x45413a
lea eax, [ebp + 0xb8]
push eax
lea ecx, [ebp]
call fcn.00447aa9
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 0x45410a
lea ecx, [ebp + 0xa0]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x454116
lea eax, [ebp + 4]
push ecx
push eax
call fcn.00669351
pop ecx
pop ecx
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0xa0]
call fcn.00427cb3
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00447b2e
cmp dword [ebp + 0xb4], 8
mov eax, dword [ebp + 0xa0]
jae 0x45414f
lea eax, [ebp + 0xa0]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x454166
push esi
push str.failCreateTempDir
jmp 0x454008
push 0x1c
call fcn.0063ffa4
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x454189
lea ecx, [ebp + 0x9c]
push ecx
mov ecx, eax
call fcn.004479c5
jmp 0x45418b
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.00439a43
mov ecx, edi
lea esi, [eax + 1]
push esi
call fcn.0040f1e5
push esi
mov ecx, edi
call fcn.0042813d
lea ecx, [ebp + 0x9c]
call fcn.00447b2e
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.0044cf72
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push dword [edi + 0x3c]
mov ecx, ebx
call fcn.004479c5
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x454210
cmp byte [esi], 0
je 0x454210
mov eax, dword [ebx]
mov ecx, ebx
push 0x6cb4c8
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 0x6c7da8
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.006407be
lea esp, [ebp + 0x4cc]
pop ebp
ret 8