Function at 0x49427d
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push 0x458
mov eax, 0x60188f
call fcn.004db4be
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x458], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
cmp dword [edx - 8], edi
jne 0x4942b3
xor eax, eax
jmp 0x4945b5
mov dword [ebp - 0x464], edi
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x45c], edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], edi
call fcn.00413747
pop ecx
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 1
push ecx
push dword [eax]
mov ecx, dword [esi + 4]
call fcn.00493fc1
mov ecx, dword [ebp - 0x424]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff4
inc bl
cmp ecx, 0x668010
je 0x494309
call fcn.00407965
test bl, bl
jne 0x4945a6
cmp dword [ebp - 0x464], 0
je 0x4945a6
cmp dword [ebp - 0x45c], 0
je 0x4945a6
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push edi
push 0x63c8a4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4945a6
or dword [ebp - 0x450], 0xffffffff
lea eax, [ebp - 0x218]
push ecx
push 2
push 1
push 0xc0000000
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0x1000
push eax
lea ecx, [ebp - 0x450]
movlpd qword [ebp - 0x448], xmm0
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
call fcn.00430cc6
test eax, eax
jne 0x4943ba
mov ebx, edi
jmp 0x494519
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x450]
push dword [ebp - 0x464]
call fcn.0043bce1
cmp dword [ebp - 0x430], 0
mov esi, dword [ebp - 0x43c]
je 0x494454
test esi, esi
je 0x49444e
mov ebx, dword [ebp - 0x434]
test ebx, ebx
je 0x49444e
push ecx
push dword [ebp - 0x444]
lea ecx, [ebp - 0x450]
push dword [ebp - 0x448]
call fcn.00430dab
and eax, edx
cmp eax, 0xffffffff
je 0x494454
push edi
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], edi
push eax
push ebx
mov ebx, dword [ebp - 0x450]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x49445a
mov eax, dword [ebp - 0x424]
mov ebx, edi
add dword [ebp - 0x448], eax
mov dword [ebp - 0x438], edi
adc dword [ebp - 0x444], edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], edi
mov ebx, dword [ebp - 0x450]
test esi, esi
je 0x494481
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x434], edi
cmp ebx, 0xffffffff
je 0x4944a5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x450], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x44c], edi
movlpd qword [ebp - 0x448], xmm0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call ebx
push 0xb
mov esi, eax
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0x10
push esi
push eax
push 1
lea eax, [ebp - 0x218]
push eax
push dword [0x6714c8]
call edi
mov ecx, dword [ebp - 0x458]
push 0x32
mov dword [ecx], eax
call ebx
push 0x31
mov esi, eax
call ebx
push 0x10
push esi
push eax
push 1
lea eax, [ebp - 0x218]
push eax
push dword [0x6714c8]
call edi
mov ecx, dword [ebp - 0x454]
mov dword [ecx], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x458]
xor ebx, ebx
cmp dword [eax], ebx
setne bl
cmp dword [ebp - 0x430], 0
mov edi, dword [ebp - 0x43c]
je 0x494576
test edi, edi
je 0x494592
mov esi, dword [ebp - 0x434]
test esi, esi
je 0x494576
push ecx
push dword [ebp - 0x444]
lea ecx, [ebp - 0x450]
push dword [ebp - 0x448]
call fcn.00430dab
and eax, edx
cmp eax, 0xffffffff
je 0x494576
and dword [ebp - 0x454], 0
lea eax, [ebp - 0x454]
push 0
push eax
push esi
mov esi, dword [ebp - 0x450]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x49457c
mov esi, dword [ebp - 0x450]
test edi, edi
je 0x494598
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x494598
mov esi, dword [ebp - 0x450]
cmp esi, 0xffffffff
je 0x4945a8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4945a8
mov ebx, edi
lea ecx, [ebp - 0x464]
call fcn.00471bdd
mov eax, ebx
call fcn.004db46d
ret 0xc