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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.10062f00
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.10080190
push str.C:log_
mov esi, 0x104
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.100940a4
push 0x800
lea eax, [ebp - 0x1028]
push ebx
push eax
call fcn.10080190
push str.ConchPicture
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.10065c5c
add esp, 0x34
call fcn.10064cf4
test al, al
je 0x10069f4d
pop ebp
push ecx
push ebp
push esi
pop ecx
push ebp
pop ebp
push ebp
push edi
push edx
push edx
pop esi
push ecx
pop esi
push ebx
push edx
mov esi, 0x104
push edi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.10080190
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10080190
add esp, 0x18
lea eax, [ebp - 0x20c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.10093843
pop ecx
test eax, eax
je 0x1006a1a0
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.1008039d
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006a1a0
lea eax, [ebp - 0x20c]
push eax
call fcn.10093843
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.100940a4
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.10065c5c
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.10069adb
push ebx
call fcn.100874c6
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.10094392
add esp, 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test esi, esi
je 0x1006a1a0
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.10069c16
add esp, 0x28
call fcn.10064b9b
test al, al
je 0x1006a0a3
pop esp
pop esi
pop ecx
pop edx
pop edx
push ebx
push edx
push ebp
pop ecx
pop ebp
pop eax
pop esi
push ebx
pop esp
pop eax
push ebp
push esi
push esp
pop eax
push esi
push ebx
push eax
push esp
pop ecx
pop edi
push ebx
call fcn.10064c25
test al, al
je 0x1006a0c2
push eax
pop esi
pop edx
push ebp
pop ebx
push ebx
pop eax
push ebx
push ebx
push eax
push edx
push esp
pop ecx
pop esi
push ebx
pop edi
push ebx
push ebx
push esp
pop ebp
pop esi
pop esp
call fcn.10064d39
test al, al
je 0x1006a0eb
push edi
push eax
pop ebx
pop ebx
push esp
pop ecx
push esi
pop eax
push edx
pop ecx
pop edi
push esp
pop esp
pop edx
push ebx
pop edx
push esi
pop ebx
push ecx
push eax
pop edi
pop eax
pop eax
pop edi
pop esi
push ebx
pop ecx
push ebp
push edx
pop ebp
push ebp
push ebp
xor eax, eax
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
xor ebx, ebx
pop esi
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x10181ad8
push eax
cmovne esi, ebx
call fcn.1008cdf2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1006a1a0
test esi, esi
jne 0x1006a146
push edi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.1008ca52
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.10093843
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.1008ca52
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.1008ca52
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.1008ca52
push edi
call fcn.1008cb20
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret