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

Disassembly:
push 0xac
mov eax, 0x56b546
call fcn.00561213
mov esi, ecx
cmp byte [esi + 0x420], 0
jne 0x44c41c
lea ecx, [esi + 0x448]
call fcn.0044e39c
jmp 0x44c646
lea eax, [esi + 0x428]
xor ebx, ebx
mov byte [esi + 0x420], bl
mov dword [eax], 0x6363676b
mov dword [ebp - 0x84], eax
push 0x20
pop eax
mov word [esi + 0x442], ax
mov eax, dword [esi + 0x44c]
mov dword [esi + 0x444], eax
call fcn.00448333
mov dword [esi + 0x438], eax
mov ecx, esi
mov eax, dword [esi + 0xf0]
mov dword [esi + 0x42c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x43c], eax
movzx eax, word [esi + 0x34]
mov word [esi + 0x440], ax
lea eax, [ebp - 0x70]
push eax
call fcn.00442764
push str.network_log
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.0044f143
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00401d84
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 0x44c4d6
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.00442764
push str.network_log_net_connectivity.dat
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0044f143
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00401d84
mov ebx, dword [esi + 0x444]
shl ebx, 5
push ebx
call fcn.0055da37
mov edi, eax
pop ecx
mov dword [ebp - 0x80], edi
push ebx
push ebx
push edi
lea ecx, [ebp - 0xb8]
call fcn.005321af
lea eax, [esi + 0x448]
mov byte [ebp - 4], 7
mov dword [ebp - 0x88], eax
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x44c561
mov edi, dword [ebp - 0x88]
push 0
push 0x20
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00531e36
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x44c545
mov edi, dword [ebp - 0x80]
lea eax, [ebx + ebx]
push eax
mov dword [ebp - 0x74], eax
call fcn.0055da37
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.00432b2d
pop ecx
pop ecx
test eax, eax
jne 0x44c60e
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 0x44c5fc
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 0x44c5f9
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 0x44c5d7
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.0044e39c
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
test esi, esi
je 0x44c61c
push esi
call ebx
pop ecx
mov dword [ebp - 0xb8], 0x58ef6c
test edi, edi
je 0x44c62e
push edi
call ebx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401d84
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401d84
call fcn.005611c2
ret