Function at 0x450ee0
Capabilities:
Check if file exists
Create directory
Write file on windows

Disassembly:
push 0xac
mov eax, 0x55d034
call fcn.0054f7e3
mov esi, ecx
cmp byte [esi + 0x570], 0
jne 0x450f0a
lea ecx, [esi + 0x598]
call fcn.0045215c
jmp 0x451134
lea eax, [esi + 0x578]
xor ebx, ebx
mov byte [esi + 0x570], bl
mov dword [eax], 0x6363676b
mov dword [ebp - 0x84], eax
push 0x20
pop eax
mov word [esi + 0x592], ax
mov eax, dword [esi + 0x59c]
mov dword [esi + 0x594], eax
call fcn.0044d5a6
mov dword [esi + 0x588], eax
mov ecx, esi
mov eax, dword [esi + 0x240]
mov dword [esi + 0x57c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x58c], eax
movzx eax, word [esi + 0x34]
mov word [esi + 0x590], ax
lea eax, [ebp - 0x70]
push eax
call fcn.0044854d
push str.network_log
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.00452a07
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00401c9b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x450fc4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0044854d
push str.network_log_net_connectivity.dat
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00452a07
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00401c9b
mov ebx, dword [esi + 0x594]
shl ebx, 5
push ebx
call fcn.0054e5c7
mov edi, eax
pop ecx
mov dword [ebp - 0x80], edi
push ebx
push ebx
push edi
lea ecx, [ebp - 0xb8]
call fcn.0051ef51
lea eax, [esi + 0x598]
mov byte [ebp - 4], 7
mov dword [ebp - 0x88], eax
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x45104f
mov edi, dword [ebp - 0x88]
push 0
push 0x20
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0051eb7a
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x451033
mov edi, dword [ebp - 0x80]
lea eax, [ebx + ebx]
push eax
mov dword [ebp - 0x74], eax
call fcn.0054e5c7
mov esi, eax
pop ecx
mov dword [ebp - 0x7c], esi
push ebx
push edi
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.004307e1
pop ecx
pop ecx
test eax, eax
jne 0x4510fc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x4510ea
xor ebx, ebx
lea ecx, [ebp - 0x7c]
push ebx
push ecx
push 0x20
push dword [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x74], ebx
jbe 0x4510e7
mov edi, dword [ebp - 0x78]
push 0
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x74]
sub eax, ebx
push eax
lea eax, [ebx + esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, dword [ebp - 0x7c]
cmp ebx, dword [ebp - 0x74]
jb 0x4510c5
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x88]
call fcn.0045215c
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
test esi, esi
je 0x45110a
push esi
call ebx
pop ecx
mov dword [ebp - 0xb8], method.std::error_category.virtual_4
test edi, edi
je 0x45111c
push edi
call ebx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401c9b
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c9b
call fcn.0054f792
ret