Function at 0x43ef50
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x519008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea edx, [ebp - 0x9bc]
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x9e4], edi
mov dword [ebp - 0x9e0], esi
call fcn.0042b470
add esp, 4
push 0xa
push str.APP:_temp_
push esi
call fcn.0040c03e
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x9bc]
push eax
push 0x51d9e4
push str._s_temp__s
lea eax, [ebp - 0x6bc]
push 0x200
push eax
call fcn.004014e0
add esp, 0x14
test esi, esi
je 0x43eff6
mov ecx, dword [ebp - 0x9e0]
lea edx, [ebp - 0x6bc]
call fcn.0042b800
test al, al
jne 0x43eff6
mov edx, dword [ebp + 0xc]
mov ecx, edi
push 0
push 4
push dword [ebx + 4]
call fcn.004372f0
mov eax, 4
jmp 0x43f61f
push 0x200
lea eax, [ebp - 0x4bc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x6bc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x43f609
cmp word [ebp + eax*2 - 0x4bc], 0
je 0x43f035
xor ecx, ecx
mov word [ebp + eax*2 - 0x4bc], cx
lea eax, [ebp - 0x4bc]
push 0x504ef0
push eax
call fcn.0040c65a
add esp, 8
mov dword [ebp - 0x9dc], eax
test eax, eax
je 0x43f609
xor ecx, ecx
mov dword [ebp - 0x9e8], 0
mov dword [ebp - 0x9ec], ecx
mov dword [ebp - 0x9e0], 0xffff
mov byte [ebp - 0x9d5], cl
lea esp, [esp]
push eax
push 1
lea eax, [ebp - 0xbc]
push 0x40
push eax
call fcn.0040d881
mov al, byte [ebp - 0x9d5]
lea esi, [ebp - 0xbc]
mov byte [ebp - 0xa34], al
lea edi, [ebp - 0xa32]
push 0x42
lea eax, [ebp - 0xa34]
mov byte [ebp - 0xa33], 0x9d
push eax
lea eax, [ebp - 0x79]
mov word [ebp - 0x7c], 0x4423
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00407040
add esp, 0x1c
mov byte [ebp - 0x7a], 0x46
xor cl, cl
xor dl, dl
xor ch, ch
xor eax, eax
mov edi, edi
add cl, byte [ebp + eax - 0x7c]
add dl, byte [ebp + eax - 0x7b]
add eax, 2
cmp eax, 0x44
jb 0x43f0e0
cmp eax, 0x45
jae 0x43f0f9
mov ch, byte [ebp + eax - 0x7c]
push 0
push 0x7d0
push dword [ebx + 4]
add cl, dl
mov dword [ebp - 0x9c8], 0x800
lea eax, [ebp - 0x9c8]
add cl, ch
push eax
mov byte [ebp - 0x37], cl
lea eax, [ebx + 0xe4]
mov ecx, dword [ebx + 8]
push eax
push 0x46
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp - 0x9e4]
test al, al
je 0x43f5c6
mov eax, dword [ebp - 0x9e8]
add eax, 0x40
mov dword [ebp - 0x9e8], eax
shr eax, 0xa
movzx esi, ax
mov dword [ebp - 0x9ec], esi
cmp si, word [ebp - 0x9e0]
je 0x43f183
movzx eax, si
mov dword [ebp - 0x9e0], eax
test edi, edi
je 0x43f183
push esi
push 0
push dword [ebx + 4]
xor edx, edx
mov ecx, edi
call fcn.004372f0
add esp, 0xc
mov al, byte [ebp - 0x9d5]
inc al
mov byte [ebp - 0x9d5], al
cmp al, 0x9d
mov eax, dword [ebp - 0x9dc]
jb 0x43f080
push eax
call fcn.0040d0b9
mov eax, dword [ebx]
add esp, 4
mov dword [ebp - 0x9c8], eax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x9e0], 0
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x6bc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x43f240
cmp word [ebp + eax*2 - 0x4bc], 0
je 0x43f1f5
xor ecx, ecx
mov word [ebp + eax*2 - 0x4bc], cx
lea eax, [ebp - 0x4bc]
push 0x504ef0
push eax
call fcn.0040c65a
add esp, 8
mov dword [ebp - 0x9e8], eax
test eax, eax
je 0x43f240
mov edx, dword [ebp - 0x9c8]
lea ecx, [ebp - 0x9e0]
push ecx
mov ecx, eax
call fcn.0042add0
add esp, 4
mov dword [ebp - 0x9dc], eax
push dword [ebp - 0x9e8]
call fcn.0040d0b9
add esp, 4
jmp 0x43f24a
mov dword [ebp - 0x9dc], 0
push 0x97
mov ecx, ebx
call fcn.0043ee90
test ax, ax
jne 0x43f28a
test edi, edi
je 0x43f272
mov edx, dword [ebp + 0xc]
mov ecx, edi
push esi
push 6
push dword [ebx + 4]
call fcn.004372f0
add esp, 0xc
mov eax, 6
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 edi, dword [ebp - 0x9dc]
lea eax, [ebp - 0x4bc]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x6bc]
add edi, 0x25c0
push eax
push 0
lea esi, [ebx + 0xe9]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x43f2f6
cmp word [ebp + eax*2 - 0x4bc], 0
je 0x43f2de
xor ecx, ecx
mov word [ebp + eax*2 - 0x4bc], cx
lea eax, [ebp - 0x4bc]
push 0x504ef8
push eax
call fcn.0040c65a
add esp, 8
mov esi, eax
jmp 0x43f2f8
xor esi, esi
mov edi, dword [ebp - 0x9dc]
push esi
push 1
push dword [ebp - 0x9e0]
push edi
call fcn.0040d634
push esi
call fcn.0040d0b9
mov esi, dword [ebx]
add esp, 0x14
mov eax, dword [esi]
cmp eax, vtable.rhea::AllocatorSimple_class_rhea::AllocatorTrackingPolicy_simple_.0
jne 0x43f35a
movzx ecx, byte [edi - 4]
lea edx, [edi - 8]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 0x10
or ecx, eax
movzx eax, byte [edx + 6]
dec dword [esi + 0x18]
and ecx, 0x3fffffff
shl eax, 8
or ecx, eax
sub dword [esi + 0x1c], ecx
push edx
call fcn.0040beca
add esp, 4
jmp 0x43f362
push 0
push edi
mov ecx, esi
call dword [eax + 0x10]
push 0x51d9e4
push str._s_last_installed_da3
lea eax, [ebp - 0x8bc]
push 0x200
push eax
call fcn.004014e0
xor dl, dl
lea ecx, [ebp - 0x8bc]
call fcn.0042b8f0
lea eax, [ebp - 0x9bc]
push eax
push 0x51d9e4
push str._s_last_installed_da3__s
lea eax, [ebp - 0x8bc]
push 0x200
push eax
call fcn.004014e0
add esp, 0x24
lea edx, [ebp - 0x8bc]
lea ecx, [ebp - 0x6bc]
call fcn.0042b800
push 0x51d9e4
push str._s_current_da3_vmcDataFile.da3
lea eax, [ebp - 0x8bc]
push 0x200
push eax
call fcn.004014e0
add esp, 0x10
lea edx, [ebp - 0x8bc]
lea ecx, [ebp - 0x6bc]
call fcn.0042b800
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x4bc]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x6bc]
push eax
push 0
push 0xfde9
call esi
test eax, eax
je 0x43f439
cmp word [ebp + eax*2 - 0x4bc], 0
je 0x43f42c
xor ecx, ecx
mov word [ebp + eax*2 - 0x4bc], cx
lea eax, [ebp - 0x4bc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or eax, 0xffffffff
mov dword [ebp - 0x9c4], eax
mov word [ebp - 0x9c0], ax
mov al, 0x14
mov byte [ebp - 0x9c3], 0xfe
mov byte [ebp - 0x9c1], 0xfc
lea esp, [esp]
mov ecx, dword [ebx + 8]
dec al
push 0
push 0x7d0
push dword [ebx + 4]
mov byte [ebp - 0x9d5], al
lea eax, [ebp - 0x9c8]
push eax
lea eax, [ebx + 0xe4]
mov dword [ebp - 0x18], 0x7b045423
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x9c8], 0x800
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x43f4b1
mov al, byte [ebp - 0x9d5]
test al, al
jne 0x43f460
jmp 0x43f4d6
mov eax, dword [ebx + 0xe7]
lea ecx, [ebp - 0x9c4]
mov dword [ebp - 0x9c4], eax
mov ax, word [ebx + 0xeb]
mov word [ebp - 0x9c0], ax
call fcn.00438fc0
lea ecx, [ebp - 0x9cc]
call fcn.004015b0
push 0x51d9e4
push str._s_last_installed_da3_dateUM.bin
lea eax, [ebp - 0x8bc]
push 0x200
push eax
call fcn.004014e0
add esp, 0x10
lea eax, [ebp - 0x4bc]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x8bc]
push eax
push 0
push 0xfde9
call esi
test eax, eax
je 0x43f54e
cmp word [ebp + eax*2 - 0x4bc], 0
je 0x43f536
xor ecx, ecx
mov word [ebp + eax*2 - 0x4bc], cx
lea eax, [ebp - 0x4bc]
push 0x504ef8
push eax
call fcn.0040c65a
add esp, 8
mov esi, eax
jmp 0x43f550
xor esi, esi
mov ecx, dword [ebp - 0x9cc]
xor eax, eax
or eax, dword [ebp - 0x9c8]
push esi
push 1
mov dword [ebp - 0x9d4], eax
lea eax, [ebp - 0x9d4]
push 8
push eax
mov dword [ebp - 0x9d0], ecx
call fcn.0040d634
push esi
call fcn.0040d0b9
add esp, 0x14
mov ecx, ebx
call fcn.0043b470
mov edi, dword [ebp - 0x9e4]
test edi, edi
je 0x43f5ae
mov ecx, dword [ebp - 0x9ec]
mov edx, dword [ebp + 0xc]
push ecx
push 1
push dword [ebx + 4]
mov ecx, edi
call fcn.004372f0
add esp, 0xc
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
test edi, edi
je 0x43f5e3
mov ecx, dword [ebp - 0x9ec]
mov edx, dword [ebp + 0xc]
push ecx
push 3
push dword [ebx + 4]
mov ecx, edi
call fcn.004372f0
add esp, 0xc
push dword [ebp - 0x9dc]
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, edi
push 0
push 5
push dword [ebx + 4]
call fcn.004372f0
mov eax, 5
mov ecx, dword [ebp - 8]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc