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

Disassembly:
push ebp
sub esp, 0x4c8
lea ebp, [esp - 4]
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp + 0x4c8], eax
push 0xac
mov eax, 0x6a13a5
call fcn.00642ca6
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 0x45465c
lea eax, [ebp + 0xb8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor esi, esi
test eax, eax
jne 0x45449c
push esi
push str.noSystemTempDir
lea ecx, [ebp + 0x1c]
call fcn.00457c55
push 0x753cbc
lea eax, [ebp + 0x1c]
push eax
call fcn.0065ab74
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 0x4544c2
push esi
push str.cannotMakeTempFile
jmp 0x454486
push 1
push 2
lea ecx, [ebp - 0xb8]
call fcn.0044c810
push esi
mov dword [ebp - 4], 1
call fcn.0066b9ff
pop ecx
push edx
push eax
push 0x6cb038
lea eax, [ebp + 0x2c0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00428b66
push eax
call fcn.00428913
mov ecx, eax
call fcn.0044d21e
lea eax, [ebp + 0x84]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00456e38
push eax
lea ecx, [ebp + 0x9c]
mov byte [ebp - 4], 2
call fcn.00447f4a
push esi
push 1
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], 4
call fcn.004285f6
lea eax, [ebp + 0x2c0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, edi
call fcn.00455f4f
test al, al
je 0x4545b8
lea eax, [ebp + 0xb8]
push eax
lea ecx, [ebp]
call fcn.00447fb7
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 0x454588
lea ecx, [ebp + 0xa0]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x454594
lea eax, [ebp + 4]
push ecx
push eax
call fcn.0066b826
pop ecx
pop ecx
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0xa0]
call fcn.004280b7
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.0044803c
cmp dword [ebp + 0xb4], 8
mov eax, dword [ebp + 0xa0]
jae 0x4545cd
lea eax, [ebp + 0xa0]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x4545e4
push esi
push str.failCreateTempDir
jmp 0x454486
push 0x1c
call fcn.00642424
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x454607
lea ecx, [ebp + 0x9c]
push ecx
mov ecx, eax
call fcn.00447ed3
jmp 0x454609
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.00439e7d
mov ecx, edi
lea esi, [eax + 1]
push esi
call fcn.0040f615
push esi
mov ecx, edi
call fcn.00428541
lea ecx, [ebp + 0x9c]
call fcn.0044803c
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.0044d430
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push dword [edi + 0x3c]
mov ecx, ebx
call fcn.00447ed3
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x45468e
cmp byte [esi], 0
je 0x45468e
mov eax, dword [ebx]
mov ecx, ebx
push 0x6ce578
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 0x6cae28
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.00642c5e
lea esp, [ebp + 0x4cc]
pop ebp
ret 8