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

Disassembly:
push 0xac
mov eax, 0x56d990
call fcn.005635af
mov esi, ecx
cmp byte [esi + 0x420], 0
jne 0x44b7d4
lea ecx, [esi + 0x448]
call fcn.0044d72f
jmp 0x44b9fe
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.004476bb
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.00441a74
push str.network_log
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.0044e51a
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00401d04
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 0x44b88e
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.00441a74
push str.network_log_net_connectivity.dat
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0044e51a
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00401d04
mov ebx, dword [esi + 0x444]
shl ebx, 5
push ebx
call fcn.0055fe67
mov edi, eax
pop ecx
mov dword [ebp - 0x80], edi
push ebx
push ebx
push edi
lea ecx, [ebp - 0xb8]
call fcn.00533ee6
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 0x44b919
mov edi, dword [ebp - 0x88]
push 0
push 0x20
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00533b41
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x44b8fd
mov edi, dword [ebp - 0x80]
lea eax, [ebx + ebx]
push eax
mov dword [ebp - 0x74], eax
call fcn.0055fe67
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.00431db2
pop ecx
pop ecx
test eax, eax
jne 0x44b9c6
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 0x44b9b4
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 0x44b9b1
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 0x44b98f
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.0044d72f
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
test esi, esi
je 0x44b9d4
push esi
call ebx
pop ecx
mov dword [ebp - 0xb8], 0x59271c
test edi, edi
je 0x44b9e6
push edi
call ebx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401d04
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401d04
call fcn.0056355e
ret