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

Disassembly:
mov eax, 0x4218
call fcn.0043c1d0
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x4214], eax
mov eax, dword [esp + 0x421c]
mov ecx, dword [0x464bbc]
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 0x425da0
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.0040a650
add esp, 0xc
cmp eax, esi
je 0x425e05
mov eax, 1
jmp 0x425fcd
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 0x425e35
mov eax, 2
jmp 0x425fcd
cmp ebx, 0x4000
jle 0x425e44
mov esi, 0x4000
jmp 0x425e4a
test ebx, ebx
mov esi, ebx
je 0x425ea3
mov ecx, dword [0x460004]
push esi
lea eax, [esp + 0x228]
push eax
push ecx
call fcn.0040a670
add esp, 0xc
cmp eax, esi
jne 0x425e8f
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 0x425e99
cmp dword [esp + 0x18], esi
jne 0x425e99
sub ebx, esi
jmp 0x425e35
mov eax, 3
jmp 0x425fcd
mov eax, 4
jmp 0x425fcd
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x425edf
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00406fb0
add esp, 8
test eax, eax
jne 0x425ece
mov eax, 5
jmp 0x425fcd
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
push ecx
call ebx
mov ebp, edi
jmp 0x425ee5
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
push ebp
call fcn.0040a5e0
mov esi, eax
add esp, 8
test esi, esi
mov dword [0x4652f4], esi
je 0x425fe6
push 0x4000
lea edx, [esp + 0x228]
push 0
push edx
call fcn.0043b0e0
push 0x4000
lea eax, [esp + 0x234]
push eax
push esi
call fcn.0040a670
add esp, 0x18
cmp eax, 0xffffffff
je 0x425fe9
mov ecx, dword [0x4652f4]
push 0
push 0
push ecx
call fcn.0040a650
add esp, 0xc
cmp byte [esp + 0x224], 0x50
jne 0x425fc9
cmp byte [esp + 0x225], 0x4b
jne 0x425fc9
mov edx, dword [0x4652f4]
push edx
call fcn.0040a630
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 0x425f71
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.00406fb0
add esp, 8
test eax, eax
je 0x425ff0
lea edx, [esp + 0x1c]
push edx
call ebx
cmp byte [esp + 0x224], 0x50
mov ebp, edi
jne 0x425fc9
cmp byte [esp + 0x225], 0x4b
je 0x425ee5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x4218
ret
push ebp
call ebx
mov eax, 6
jmp 0x425fcd
mov eax, 7
jmp 0x425fcd