Function at 0x427d8a
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.0041f610
mov eax, dword [0x6240b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2008], eax
call fcn.00427cae
test eax, eax
je 0x427fbc
push 0
call fcn.00442f67
mov dword [ebp - 0x2018], eax
lea eax, [ebp - 0x2018]
push eax
mov dword [ebp - 0x2014], edx
call fcn.0044b443
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x2004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00427a8e
add esp, 0x28
call fcn.00427416
test al, al
je 0x427e31
pop ebx
push ebx
pop edx
pop ebp
pop ebx
push ebx
pop edi
pop esp
pop edx
push ebp
pop esi
push edx
pop ecx
push esi
push esp
pop ecx
push ebp
pop esp
pop ebx
call fcn.004276c8
test al, al
je 0x427e56
push edi
push eax
pop esp
push esi
push eax
push ebx
pop ebx
pop eax
push edx
push ebp
push esi
push edx
push edi
pop ebp
pop edi
pop ebx
push edx
pop esp
push esp
pop esi
pop ebx
push eax
push esi
pop esi
push ecx
push ebx
pop esi
push ecx
call fcn.004277dc
test al, al
je 0x427e77
pop esp
push edx
push esp
pop edi
push esi
push ebx
pop ebp
pop ebp
push ebx
pop ebp
push esp
push edi
pop ecx
pop ecx
push esp
push esp
pop ecx
push edi
pop edx
pop ebp
push esp
pop eax
push edx
push ecx
push dword [ebp - 0x2008]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
push 0
pop eax
cmovne eax, ecx
mov dword [ebp - 0x200c], eax
call fcn.00427347
test al, al
je 0x427ebd
push ebx
pop esi
pop edx
push eax
pop edi
push esi
push esp
push esp
pop eax
push edx
push esp
push ebp
pop esi
pop ebx
push ebx
push ebp
push eax
push esp
push esp
push ebx
pop ebp
pop ebx
pop ebx
push ecx
pop ecx
push edx
pop esi
push esp
push esi
push edx
pop eax
pop ebp
call fcn.00427683
test al, al
je 0x427ed6
pop eax
push esp
pop edx
push ebx
pop ecx
pop ebx
pop eax
push eax
pop esi
push edi
push edi
pop esi
push edx
pop ebp
pop esp
push ecx
call fcn.0042738c
test al, al
je 0x427eef
pop ebx
pop ecx
pop esp
pop ebp
pop esp
pop edi
pop ecx
pop eax
push ecx
push esp
push edi
push ebx
push eax
push ebx
pop ecx
pop esi
push 0x5a07cc
push dword [ebp - 0x2008]
call fcn.0044b93d
mov ebx, eax
mov dword [ebp - 0x2010], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x427fbc
cmp dword [ebp - 0x200c], 0
jne 0x427f38
push ebx
push 2
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0xfeff
push 1
push eax
call fcn.00450563
add esp, 0x10
call fcn.00427347
test al, al
je 0x427f5f
push ecx
pop edi
pop ebp
pop ebp
push ebp
push ebp
pop ebx
pop esi
pop edi
push edx
pop edi
push eax
pop edi
pop esi
pop esi
pop ebp
push edx
pop esp
pop edi
pop ebx
pop ebx
push ebp
pop ecx
pop eax
mov ebx, dword [ebp - 0x2010]
lea eax, [ebp - 0x2004]
push eax
call fcn.0044f873
push ebx
add eax, eax
push eax
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.00450563
push ebx
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xd
push 1
push eax
call fcn.00450563
push ebx
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xa
push 1
push eax
call fcn.00450563
push ebx
call fcn.0044b73b
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041eca9
mov esp, ebp
pop ebp
ret