Function at 0x425ab0
Capabilities:
Create directory
Delete file
Get common file path
Write file on windows

Disassembly:
mov eax, 0x4218
call fcn.0043bea0
mov eax, dword [0x4630e0]
xor eax, esp
mov dword [esp + 0x4214], eax
mov eax, dword [esp + 0x421c]
mov ecx, dword [0x464bfc]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4230]
lea eax, [eax + eax*2]
lea edx, [esp + 0x120]
shl eax, 5
mov esi, dword [eax + ecx]
mov ebx, dword [eax + ecx + 4]
add eax, ecx
push edx
push 0x104
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x453b44
lea ecx, [esp + 0x12c]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
mov cl, byte [esp + eax + 0x1c]
mov byte [esp + eax + 0x120], cl
add eax, 1
test cl, cl
jne 0x425b40
push edi
push 0
push 0x453b44
lea ecx, [esp + 0x12c]
push ecx
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0x453b44
lea eax, [esp + 0x12c]
push eax
call ebp
mov ecx, dword [0x460004]
push 0
push esi
push ecx
lea ebp, [esp + 0x28]
call fcn.0040a3a0
add esp, 0xc
cmp eax, esi
je 0x425ba5
mov eax, 1
jmp 0x425d6d
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x425bd5
mov eax, 2
jmp 0x425d6d
cmp ebx, 0x4000
jle 0x425be4
mov esi, 0x4000
jmp 0x425bea
test ebx, ebx
mov esi, ebx
je 0x425c43
mov ecx, dword [0x460004]
push esi
lea eax, [esp + 0x228]
push eax
push ecx
call fcn.0040a3c0
add esp, 0xc
cmp eax, esi
jne 0x425c2f
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push esi
lea eax, [esp + 0x230]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x425c39
cmp dword [esp + 0x18], esi
jne 0x425c39
sub ebx, esi
jmp 0x425bd5
mov eax, 3
jmp 0x425d6d
mov eax, 4
jmp 0x425d6d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x425c7f
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00406d00
add esp, 8
test eax, eax
jne 0x425c6e
mov eax, 5
jmp 0x425d6d
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
push ecx
call ebx
mov ebp, edi
jmp 0x425c85
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
push ebp
call fcn.0040a330
mov esi, eax
add esp, 8
test esi, esi
mov dword [0x465334], esi
je 0x425d86
push 0x4000
lea edx, [esp + 0x228]
push 0
push edx
call fcn.0043ae80
push 0x4000
lea eax, [esp + 0x234]
push eax
push esi
call fcn.0040a3c0
add esp, 0x18
cmp eax, 0xffffffff
je 0x425d89
mov ecx, dword [0x465334]
push 0
push 0
push ecx
call fcn.0040a3a0
add esp, 0xc
cmp byte [esp + 0x224], 0x50
jne 0x425d69
cmp byte [esp + 0x225], 0x4b
jne 0x425d69
mov edx, dword [0x465334]
push edx
call fcn.0040a380
lea edx, [esp + 0x20]
add esp, 4
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x425d11
push edi
push 0
push 0x453b44
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call ebx
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00406d00
add esp, 8
test eax, eax
je 0x425d90
lea edx, [esp + 0x1c]
push edx
call ebx
cmp byte [esp + 0x224], 0x50
mov ebp, edi
jne 0x425d69
cmp byte [esp + 0x225], 0x4b
je 0x425c85
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b76b
add esp, 0x4218
ret
push ebp
call ebx
mov eax, 6
jmp 0x425d6d
mov eax, 7
jmp 0x425d6d