Function at 0x442b7e
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x2f8
mov eax, 0x56c4bd
call fcn.0056361b
mov edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x124]
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.00401581
push eax
push ebx
mov ecx, esi
call fcn.00401fa1
mov eax, dword [edi + 0x134]
test eax, eax
je 0x442bf3
cmp dword [esi + 0x14], 8
jb 0x442bc0
mov ecx, dword [esi]
jmp 0x442bc2
mov ecx, esi
cmp word [ecx + eax*2 - 2], 0x5c
je 0x442bf3
cmp dword [esi + 0x14], 8
jb 0x442bd4
mov ecx, dword [esi]
jmp 0x442bd6
mov ecx, esi
cmp word [ecx + eax*2 - 2], 0x3a
je 0x442bf3
mov ebx, 0x591f08
mov ecx, ebx
call fcn.00401581
push eax
push ebx
mov ecx, esi
call fcn.0040badc
mov ecx, dword [edi + 0x460]
push edi
push esi
call fcn.00457efb
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.00441a74
xor ebx, ebx
lea ecx, [ebp - 0x48]
inc ebx
mov edx, eax
push str.network_log
mov byte [ebp - 4], bl
call fcn.0044e51a
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00401d04
push 8
pop esi
cmp dword [ebp - 0x34], esi
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442c5b
cmp dword [ebp - 0x34], esi
lea eax, [ebp - 0x48]
push 0
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [edi + 0x350], 0
jne 0x442cf8
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00441a74
push str.network_logcommunicateLog.txt
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0044e51a
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00401d04
cmp dword [ebp - 0x1c], esi
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442ce9
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x442cd7
cmp dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, eax
call fcn.00534115
jmp 0x442cd9
xor eax, eax
push eax
lea ecx, [edi + 0x350]
mov byte [ebp - 4], 6
call fcn.0044d2c2
push 0
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401d04
and dword [ebp - 0x2fc], 0
lea eax, [ebp - 0x2f8]
push 0x24c
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.00441a74
push str._network_logCommandIDPackgeLog.bin
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.0044e51a
pop ecx
cmp dword [eax + 0x14], 8
jb 0x442d3f
mov eax, dword [eax]
lea ecx, [ebp - 0x2fc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0
mov esi, eax
lea ecx, [ebp - 0x60]
push ebx
mov dword [ebp - 0x300], esi
call fcn.00401d04
push 0
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00401d04
cmp esi, 0xffffffff
je 0x442e0c
lea esi, [edi + 0x3c4]
cmp dword [esi], 0
jne 0x442e00
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00441a74
push str.network_logCommandIDPackgeLog.txt
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.0044e51a
pop ecx
push 0
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00401d04
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x442de7
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, eax
call fcn.00534115
jmp 0x442de9
xor eax, eax
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0044d2c2
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.00401d04
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.00401d04
jmp 0x442e22
mov al, bl
call fcn.0056356d
ret 4