Function at 0x429a10
Capabilities:
Check if file exists
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465d61
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
lea ebx, [edi + 4]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x424], ebx
call fcn.0041b1c0
mov esi, eax
test esi, esi
jne 0x429a67
mov eax, 0x80004005
jmp 0x429dbb
mov eax, dword [ebx]
test eax, eax
je 0x429a75
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0x78]
push ebx
push esi
call ecx
test eax, eax
jl 0x429dbb
lea esi, [edi + 8]
cmp esi, dword [ebp - 0x42c]
je 0x429ab6
mov ecx, esi
call fcn.00428b60
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
mov dword [esi], eax
test eax, eax
je 0x429ab6
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x10], esi
mov eax, dword [ebx]
test eax, eax
jne 0x429acc
push 0x80004003
call fcn.004457a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [ebx]
test eax, eax
jne 0x429ae6
push 0x80004003
call fcn.004457a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push 0
push eax
call edx
test esi, esi
je 0x429b32
push 0x46dd48
lea ecx, [ebp - 0x424]
call fcn.00427b30
lea eax, [ebp - 0x424]
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004298c0
lea ecx, [ebp - 0x424]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00428b60
jmp 0x429da1
mov edi, dword [ebp - 0x42c]
mov eax, dword [edi]
mov dword [ebp - 0x430], 0
test eax, eax
je 0x429b4c
mov eax, dword [eax]
jmp 0x429b4e
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429bc5
push edi
lea ecx, [ebp - 0x440]
call fcn.00427be0
mov edx, dword [ebx]
mov dword [ebp - 4], 1
test edx, edx
jne 0x429b7c
push 0x80004003
call fcn.004457a0
mov edi, dword [eax]
mov esi, dword [edx]
lea ecx, [ebp - 0x430]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x30]
push edx
call ecx
lea edx, [ebp - 0x440]
push edx
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x429d7f
mov dword [ebp - 0x428], 0x80004005
call fcn.0041b1c0
test eax, eax
je 0x429d7f
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push eax
call edx
mov esi, eax
test esi, esi
je 0x429d7f
mov eax, dword [edi]
test eax, eax
je 0x429bf8
mov eax, dword [eax]
jmp 0x429bfa
xor eax, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push eax
push 0
push esi
call edx
mov edi, eax
test edi, edi
jle 0x429d7f
push edi
call fcn.0044ad94
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x429d79
push edi
push 0
push ebx
call fcn.00448540
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x429c3e
mov eax, dword [eax]
jmp 0x429c40
xor eax, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x14]
push edi
push ebx
push eax
push 0
push esi
call edx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00448540
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.00448540
mov eax, dword [0x47ff2c]
mov ecx, eax
inc eax
add esp, 0xc
mov dword [0x47ff2c], eax
lea eax, [ebp - 0x218]
push eax
push ecx
push 0x46dd40
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x218]
push 0x46dd38
push edx
call fcn.0044c7eb
mov esi, eax
add esp, 8
test esi, esi
je 0x429d70
push esi
push 1
push edi
push ebx
call fcn.0044da10
push esi
call fcn.0044c3ec
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.004277d0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x438], ecx
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 2
mov dword [ebp - 0x434], edx
call fcn.004279a0
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
lea ecx, [ebp - 0x430]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov esi, dword [ebp - 0x438]
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov esi, dword [ebp - 0x434]
push eax
mov dword [ecx + 0xc], esi
call edx
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x450]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call fcn.00448a6b
add esp, 4
mov ebx, dword [ebp - 0x424]
cmp word [ebp - 0x430], 0
jne 0x429d9b
mov dword [ebp - 0x428], 0x80004005
mov esi, dword [ebp - 0x428]
jmp 0x429da5
mov esi, dword [ebp - 0x428]
test esi, esi
jge 0x429db9
mov eax, dword [ebx]
test eax, eax
je 0x429db9
mov dword [ebx], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret 8