Function at 0x43afd0
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 [0x649fe8]
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.0058db90
mov eax, dword [0x6201c4]
movups xmm0, xmmword [0x6201b4]
push 0x2c
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push 0
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.0058db90
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x43b027
mov eax, dword [esi]
jmp 0x43b029
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.005961f3
push 0x61ff8c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x62010c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
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 0x43b085
mov eax, dword [esi]
jmp 0x43b087
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.005961f3
push 0x61ff8c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x620114
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
add esp, 0x24
lea eax, [ebp - 0x24c]
push 0
push eax
call edi
cmp dword [esi + 0x14], 8
jb 0x43b0dd
mov eax, dword [esi]
jmp 0x43b0df
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.005961f3
push 0x61ff8c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x6200f4
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
add esp, 0x24
lea eax, [ebp - 0x24c]
push 0
push eax
call edi
cmp dword [esi + 0x14], 8
jb 0x43b135
mov eax, dword [esi]
jmp 0x43b137
mov eax, esi
push eax
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.005961f3
push 0x61ff8c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x6200f4
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x61ff8c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x6201c8
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
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 0x43b21a
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 0x43b214
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 0x43b21a
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x43b222
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.005961f3
push 0x61ff8c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x6200f4
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x61ff8c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
push 0x62019c
lea eax, [ebp - 0x24c]
push 0x104
push eax
call fcn.00594e56
add esp, 0x3c
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b2f1
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 0x43b2f1
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.00571951
mov esp, ebp
pop ebp
ret