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

Disassembly:
push 0x2f8
mov eax, 0x56a0bc
call fcn.0056127f
mov edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x124]
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.00401601
push eax
push ebx
mov ecx, esi
call fcn.00402021
mov eax, dword [edi + 0x134]
test eax, eax
je 0x443885
cmp dword [esi + 0x14], 8
jb 0x443852
mov ecx, dword [esi]
jmp 0x443854
mov ecx, esi
cmp word [ecx + eax*2 - 2], 0x5c
je 0x443885
cmp dword [esi + 0x14], 8
jb 0x443866
mov ecx, dword [esi]
jmp 0x443868
mov ecx, esi
cmp word [ecx + eax*2 - 2], 0x3a
je 0x443885
mov ebx, 0x58e758
mov ecx, ebx
call fcn.00401601
push eax
push ebx
mov ecx, esi
call fcn.0040bbcc
mov ecx, dword [edi + 0x460]
push edi
push esi
call fcn.00458b20
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.00442764
xor ebx, ebx
lea ecx, [ebp - 0x48]
inc ebx
mov edx, eax
push str.network_log
mov byte [ebp - 4], bl
call fcn.0044f143
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00401d84
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 0x4438ed
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 0x44398a
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00442764
push str.network_logcommunicateLog.txt
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0044f143
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00401d84
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 0x44397b
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 0x443969
cmp dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, eax
call fcn.005323a4
jmp 0x44396b
xor eax, eax
push eax
lea ecx, [edi + 0x350]
mov byte [ebp - 4], 6
call fcn.0044df4a
push 0
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401d84
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.00442764
push str._network_logCommandIDPackgeLog.bin
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.0044f143
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4439d1
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.00401d84
push 0
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00401d84
cmp esi, 0xffffffff
je 0x443a9e
lea esi, [edi + 0x3c4]
cmp dword [esi], 0
jne 0x443a92
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00442764
push str.network_logCommandIDPackgeLog.txt
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.0044f143
pop ecx
push 0
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00401d84
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 0x443a79
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, eax
call fcn.005323a4
jmp 0x443a7b
xor eax, eax
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0044df4a
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.00401d84
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.00401d84
jmp 0x443ab4
mov al, bl
call fcn.005611d1
ret 4