Function at 0x439c40
Capabilities:
Check if file exists
Create directory
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x24c]
mov esi, ecx
push 0
push eax
call fcn.00577700
mov eax, dword [0x605704]
movups xmm0, xmmword [0x6056f4]
push 0x2c
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push 0
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.00577700
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x439c97
mov eax, dword [esi]
jmp 0x439c99
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057fb5c
push 0x6054e8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x605638
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x24c]
add esp, 0x24
push 0
push eax
call edi
cmp dword [esi + 0x14], 8
jb 0x439cf5
mov eax, dword [esi]
jmp 0x439cf7
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057fb5c
push 0x6054e8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x605630
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
add esp, 0x24
lea eax, [ebp - 0x24c]
push 0
push eax
call edi
cmp dword [esi + 0x14], 8
jb 0x439d4d
mov eax, dword [esi]
jmp 0x439d4f
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057fb5c
push 0x6054e8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x6055e4
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
add esp, 0x24
lea eax, [ebp - 0x24c]
push 0
push eax
call edi
cmp dword [esi + 0x14], 8
jb 0x439da5
mov eax, dword [esi]
jmp 0x439da7
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057fb5c
push 0x6054e8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x6055e4
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x6054e8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x605708
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
add esp, 0x3c
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x439e8a
push 0x80
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x439e84
push 0
lea eax, [ebp - 0x250]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x439e8a
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x439e92
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057fb5c
push 0x6054e8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x6055e4
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x6054e8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
push 0x6056dc
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.0057ea36
add esp, 0x3c
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439f61
push 0x80
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x439f61
push 0
lea eax, [ebp - 0x250]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00570e5f
mov esp, ebp
pop ebp
ret