Function at 0x43eac0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
mov eax, dword [0x519008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x51c], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x530], eax
movzx eax, bx
push eax
push 0x51d9e4
push str._s_temp_vmcDataFile_d.da3
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.004014e0
add esp, 0x14
lea eax, [ebp - 0x50c]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 0
push 0xfde9
call edi
test eax, eax
je 0x43eb64
cmp word [ebp + eax*2 - 0x50c], 0
je 0x43eb4b
xor ecx, ecx
mov word [ebp + eax*2 - 0x50c], cx
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43eb64
test al, 0x10
jne 0x43eb64
inc ebx
jmp 0x43eaf2
push 0x200
lea eax, [ebp - 0x50c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 0
push 0xfde9
call edi
test eax, eax
je 0x43ee5e
cmp word [ebp + eax*2 - 0x50c], 0
je 0x43eb9f
xor ecx, ecx
mov word [ebp + eax*2 - 0x50c], cx
lea eax, [ebp - 0x50c]
push 0x504ef8
push eax
call fcn.0040c65a
add esp, 8
mov dword [ebp - 0x528], eax
test eax, eax
je 0x43ee5e
xor edi, edi
mov dword [ebp - 0x52c], 0
push edi
mov ecx, esi
mov dword [ebp - 0x518], 0xffff
call fcn.0043ee90
movzx eax, ax
xor ecx, ecx
mov dword [ebp - 0x524], 1
cmp cx, ax
je 0x43ed18
lea ecx, [esi + 0xe9]
lea ecx, [ecx]
push dword [ebp - 0x528]
sub al, 6
movzx edi, al
push 1
push edi
push ecx
call fcn.0040d634
mov ecx, dword [ebp - 0x52c]
add esp, 0x10
add ecx, edi
mov eax, ecx
mov dword [ebp - 0x52c], ecx
shr eax, 0xa
movzx edi, ax
mov dword [ebp - 0x520], edi
cmp ecx, 0x2740
jae 0x43ed8f
cmp di, word [ebp - 0x518]
je 0x43ecf1
movzx eax, di
mov dword [ebp - 0x518], eax
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x514]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x510]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
push 1
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x510], edx
call fcn.00443620
mov eax, dword [ebp - 0x51c]
test eax, eax
jne 0x43ed77
xor edi, edi
cmp dword [esi + 0xaa8], edi
jbe 0x43eceb
lea esp, [esp]
mov eax, dword [esi + 0xa9c]
xor edx, edx
push ebx
push dword [ebp - 0x520]
mov ecx, dword [eax + edi*4]
push 0
push dword [esi + 4]
add ecx, 4
call fcn.00437520
inc edi
add esp, 0x10
cmp edi, dword [esi + 0xaa8]
jb 0x43ecc0
mov edi, dword [ebp - 0x520]
push dword [ebp - 0x524]
mov ecx, esi
call fcn.0043ee90
inc dword [ebp - 0x524]
xor ecx, ecx
movzx eax, ax
cmp cx, ax
lea ecx, [esi + 0xe9]
jne 0x43ec00
mov eax, dword [ebp - 0x51c]
test eax, eax
jne 0x43ee24
xor ecx, ecx
mov dword [ebp - 0x518], ecx
cmp dword [esi + 0xaa8], ecx
jbe 0x43ee38
lea ebx, [ebx]
mov eax, dword [esi + 0xa9c]
xor edx, edx
push ebx
push edi
push 3
mov ecx, dword [eax + ecx*4]
push dword [esi + 4]
add ecx, 4
call fcn.00437520
mov ecx, dword [ebp - 0x518]
add esp, 0x10
inc ecx
mov dword [ebp - 0x518], ecx
cmp ecx, dword [esi + 0xaa8]
jb 0x43ed40
jmp 0x43ee38
push ebx
push edi
push 0
push dword [esi + 4]
xor edx, edx
mov ecx, eax
call fcn.00437520
add esp, 0x10
jmp 0x43ecf1
mov eax, dword [ebp - 0x530]
test eax, eax
je 0x43ed9c
mov word [eax], bx
mov eax, dword [ebp - 0x51c]
test eax, eax
jne 0x43edea
xor ecx, ecx
mov dword [ebp - 0x518], ecx
cmp dword [esi + 0xaa8], ecx
jbe 0x43edfe
mov eax, dword [esi + 0xa9c]
xor edx, edx
push ebx
push edi
push 1
mov ecx, dword [eax + ecx*4]
push dword [esi + 4]
add ecx, 4
call fcn.00437520
mov ecx, dword [ebp - 0x518]
add esp, 0x10
inc ecx
mov dword [ebp - 0x518], ecx
cmp ecx, dword [esi + 0xaa8]
jb 0x43edb6
jmp 0x43edfe
mov edx, dword [ebp + 0xc]
mov ecx, eax
push ebx
push edi
push 1
push dword [esi + 4]
call fcn.00437520
add esp, 0x10
push dword [ebp - 0x528]
call fcn.0040d0b9
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov ecx, eax
push ebx
push edi
push 3
push dword [esi + 4]
call fcn.00437520
add esp, 0x10
push dword [ebp - 0x528]
call fcn.0040d0b9
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x51c]
push ebx
push 0
push 4
push dword [esi + 4]
call fcn.00437520
mov ecx, dword [ebp - 8]
add esp, 0x10
xor ecx, ebp
mov eax, 4
pop edi
pop esi
pop ebx
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc