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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1c21
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x528c24]
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.00431850
mov esi, eax
test esi, esi
jne 0x433537
mov eax, 0x80004005
jmp 0x43388b
mov eax, dword [ebx]
test eax, eax
je 0x433545
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 0x43388b
lea esi, [edi + 8]
cmp esi, dword [ebp - 0x42c]
je 0x433586
mov ecx, esi
call fcn.00432850
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
mov dword [esi], eax
test eax, eax
je 0x433586
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 0x43359c
push 0x80004003
call fcn.004894d0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [ebx]
test eax, eax
jne 0x4335b6
push 0x80004003
call fcn.004894d0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push 0
push eax
call edx
test esi, esi
je 0x433602
push str.version1.0_encodingutf_8
lea ecx, [ebp - 0x424]
call fcn.0042dea0
lea eax, [ebp - 0x424]
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00433390
lea ecx, [ebp - 0x424]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00433190
jmp 0x433871
mov edi, dword [ebp - 0x42c]
mov eax, dword [edi]
mov dword [ebp - 0x430], 0
test eax, eax
je 0x43361c
mov eax, dword [eax]
jmp 0x43361e
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433695
push edi
lea ecx, [ebp - 0x440]
call fcn.0042dfe0
mov edx, dword [ebx]
mov dword [ebp - 4], 1
test edx, edx
jne 0x43364c
push 0x80004003
call fcn.004894d0
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 0x43384f
mov dword [ebp - 0x428], 0x80004005
call fcn.00431850
test eax, eax
je 0x43384f
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push eax
call edx
mov esi, eax
test esi, esi
je 0x43384f
mov eax, dword [edi]
test eax, eax
je 0x4336c8
mov eax, dword [eax]
jmp 0x4336ca
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 0x43384f
push edi
call fcn.0048ed14
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x433849
push edi
push 0
push ebx
call fcn.0048d9d0
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x43370e
mov eax, dword [eax]
jmp 0x433710
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.0048d9d0
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.0048d9d0
mov eax, dword [0x526a84]
mov ecx, eax
inc eax
add esp, 0xc
mov dword [0x526a84], eax
lea eax, [ebp - 0x218]
push eax
push ecx
push 0x4ff510
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x218]
push 0x4ff508
push edx
call fcn.00490910
mov esi, eax
add esp, 8
test esi, esi
je 0x433840
push esi
push 1
push edi
push ebx
call fcn.0048fed7
push esi
call fcn.0048ffd0
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.0042d340
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.0042caa0
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.0048ea69
add esp, 4
mov ebx, dword [ebp - 0x424]
cmp word [ebp - 0x430], 0
jne 0x43386b
mov dword [ebp - 0x428], 0x80004005
mov esi, dword [ebp - 0x428]
jmp 0x433875
mov esi, dword [ebp - 0x428]
test esi, esi
jge 0x433889
mov eax, dword [ebx]
test eax, eax
je 0x433889
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.0048d9be
mov esp, ebp
pop ebp
ret 8