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

Disassembly:
push 0xffffffffffffffff
push 0x66bd51
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x759e6c]
xor eax, esp
mov dword [esp + 0x56c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x759e6c]
xor eax, esp
push eax
lea eax, [esp + 0x584]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [esp + 0x594]
xor eax, eax
mov ebx, dword [esp + 0x598]
mov dword [esp + 0x18], eax
mov dword [esp + 0x58c], eax
mov dword [esp + 0x1c], edi
cmp dword [ebp + 0x3c], eax
jne 0x45112e
lea eax, [esp + 0x378]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor esi, esi
test eax, eax
jne 0x450ef6
push esi
push str.noSystemTempDir
lea ecx, [esp + 0x110]
call fcn.00454a82
push 0x70f0bc
lea eax, [esp + 0x10c]
push eax
call fcn.00631398
lea eax, [esp + 0x170]
push eax
push esi
push str.HYDRA
lea eax, [esp + 0x384]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
jne 0x450f36
push esi
push str.cannotMakeTempFile
lea ecx, [esp + 0x110]
call fcn.00454a82
push 0x70f0bc
lea eax, [esp + 0x10c]
jmp 0x450ef0
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.0044900d
push esi
mov dword [esp + 0x590], 1
call fcn.0063775a
pop ecx
push edx
push eax
push 0x6922b4
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0042396e
push eax
call fcn.00423725
mov ecx, eax
call fcn.00449aed
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x24]
call fcn.00453db6
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x590], 2
call fcn.00444259
push esi
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x594], 4
call fcn.0042341c
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, ebp
call fcn.00452e0c
test al, al
je 0x451068
lea eax, [esp + 0x378]
push eax
lea ecx, [esp + 0xbc]
call fcn.004442b1
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0xb8]
push str.HYDRA_AUTO_TEST_TEMP
mov byte [esp + 0x590], 5
call dword [eax + 0x24]
cmp dword [esp + 0xec], 8
mov ecx, dword [esp + 0xd8]
jae 0x45101f
lea ecx, [esp + 0xd8]
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x451037
lea eax, [esp + 0xbc]
push ecx
push eax
call fcn.00637626
pop ecx
pop ecx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xdc]
call fcn.00422f9e
lea ecx, [esp + 0xb8]
mov byte [esp + 0x58c], 4
call fcn.00444328
cmp dword [esp + 0xec], 8
mov eax, dword [esp + 0xd8]
jae 0x451080
lea eax, [esp + 0xd8]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x4510af
push esi
push str.failCreateTempDir
lea ecx, [esp + 0x110]
call fcn.00454a82
push 0x70f0bc
lea eax, [esp + 0x10c]
jmp 0x450ef0
push 0x1c
call fcn.00630af1
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x58c], 6
test eax, eax
je 0x4510d8
lea ecx, [esp + 0xd4]
push ecx
mov ecx, eax
call fcn.004441f5
jmp 0x4510da
mov eax, esi
push 1
lea esi, [eax + 4]
mov dword [ebp + 0x3c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
mov byte [esp + 0x594], 4
push eax
mov ecx, esi
mov dword [esp + 0x20], 0x5c
call fcn.00435905
inc eax
mov ecx, esi
push eax
call fcn.0042362f
lea ecx, [esp + 0xd4]
mov byte [esp + 0x58c], 1
call fcn.00444328
lea ecx, [esp + 0x20]
mov byte [esp + 0x58c], 0
call fcn.00449d47
push dword [ebp + 0x3c]
mov ecx, edi
call fcn.004441f5
and dword [esp + 0x58c], 0
mov dword [esp + 0x18], 1
test ebx, ebx
je 0x451165
cmp byte [ebx], 0
je 0x451165
mov eax, dword [edi]
mov ecx, edi
push 0x692d14
call dword [eax + 0x24]
mov edx, dword [edi]
mov ecx, edi
push ebx
call dword [edx + 0x24]
mov edx, dword [edi]
mov ecx, edi
push 0x6909c0
call dword [edx + 0x24]
mov eax, edi
mov ecx, dword [esp + 0x584]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x56c]
xor ecx, esp
call fcn.00636364
add esp, 0x57c
ret 8