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

Disassembly:
push 0x2f8
mov eax, 0x55c284
call fcn.0054f84f
mov edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x274]
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.00401511
push eax
push ebx
mov ecx, esi
call fcn.00401f42
mov eax, dword [edi + 0x284]
test eax, eax
je 0x4493b9
cmp dword [esi + 0x14], 8
jb 0x449386
mov ecx, dword [esi]
jmp 0x449388
mov ecx, esi
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4493b9
cmp dword [esi + 0x14], 8
jb 0x44939a
mov ecx, dword [esi]
jmp 0x44939c
mov ecx, esi
cmp word [ecx + eax*2 - 2], 0x3a
je 0x4493b9
mov ebx, 0x57e2d0
mov ecx, ebx
call fcn.00401511
push eax
push ebx
mov ecx, esi
call fcn.0040bae0
cmp dword [esi + 0x14], 8
jb 0x4493c1
mov esi, dword [esi]
push esi
lea ecx, [edi + 0x98]
call fcn.0043fdf3
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.0044854d
xor ebx, ebx
lea ecx, [ebp - 0x48]
inc ebx
mov edx, eax
push str.network_log
mov byte [ebp - 4], bl
call fcn.00452a07
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00401c9b
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 0x449428
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 + 0x4a0], 0
jne 0x4494c5
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0044854d
push str.network_logcommunicateLog.txt
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00452a07
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00401c9b
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 0x4494b6
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 0x4494a4
cmp dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, eax
call fcn.0051f36a
jmp 0x4494a6
xor eax, eax
push eax
lea ecx, [edi + 0x4a0]
mov byte [ebp - 4], 6
call fcn.00451d11
push 0
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401c9b
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.0044854d
push str._network_logCommandIDPackgeLog.bin
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.00452a07
pop ecx
cmp dword [eax + 0x14], 8
jb 0x44950c
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.00401c9b
push 0
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00401c9b
cmp esi, 0xffffffff
je 0x4495d9
lea esi, [edi + 0x514]
cmp dword [esi], 0
jne 0x4495cd
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.0044854d
push str.network_logCommandIDPackgeLog.txt
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.00452a07
pop ecx
push 0
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00401c9b
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 0x4495b4
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push ecx
push ecx
mov ecx, eax
call fcn.0051f36a
jmp 0x4495b6
xor eax, eax
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00451d11
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.00401c9b
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.00401c9b
jmp 0x4495ef
mov al, bl
call fcn.0054f7a1
ret 4