Function at 0x452cb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x544
mov eax, dword [0x5a05c4]
mov esi, edx
mov ebx, ecx
lea edi, [ebp - 0x29c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xda
push str..._.._base_files_file_util_win.cc
push str.DoCopyDirectory
push edi
call fcn.0043e1b0
add esp, 0x10
lea ecx, [ebp - 0x504]
push 0
push edi
call fcn.00449640
cmp byte [ebx + 0xb], 0
jns 0x452d05
cmp dword [ebx + 4], 0x103
ja 0x452d14
cmp byte [esi + 0xb], 0
jns 0x452d1b
cmp dword [esi + 4], 0x103
jbe 0x452d1b
xor ebx, ebx
jmp 0x452e79
mov eax, esi
lea esi, [ebp - 0x510]
mov dword [ebp - 0x548], ebx
mov ecx, esi
mov dword [ebp - 0x54c], eax
push eax
call fcn.0043a3c0
push 0x1ba
push str..._.._base_files_file_util_win.cc
push str.PathExists
push edi
call fcn.0043e1b0
add esp, 0x10
lea ebx, [ebp - 0x4ec]
mov ecx, ebx
push 0
push edi
call fcn.00449640
cmp byte [ebp - 0x505], 0
jns 0x452d6e
mov esi, dword [ebp - 0x510]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, ebx
mov esi, eax
call fcn.00449730
cmp esi, 0xffffffff
je 0x452e1f
lea esi, [ebp - 0x510]
push esi
push edi
call fcn.00452690
add esp, 8
mov ecx, esi
push edi
call fcn.0043a500
mov ecx, edi
call fcn.0043a4c0
movzx eax, byte [ebp - 0x505]
mov ebx, dword [ebp - 0x548]
test al, al
jns 0x452dbd
mov eax, dword [ebp - 0x50c]
test eax, eax
je 0x452e6c
lea edi, [ebp - 0x51c]
push ebx
push edi
call fcn.00452690
add esp, 8
movzx eax, byte [ebp - 0x511]
test al, al
jns 0x452de6
mov eax, dword [ebp - 0x518]
test eax, eax
je 0x452e10
lea esi, [ebp - 0x510]
mov ecx, esi
push edi
call fcn.0043a570
test al, al
jne 0x452e10
lea ecx, [ebp - 0x51c]
push esi
call fcn.0043aee0
test al, al
je 0x452e9b
xor ebx, ebx
lea ecx, [ebp - 0x51c]
call fcn.0043a4c0
jmp 0x452e6e
lea esi, [ebp - 0x510]
mov ecx, esi
push ebx
call fcn.0043ad30
push ebx
push edi
call fcn.00452690
add esp, 8
mov ecx, esi
push edi
call fcn.0043a500
mov ecx, edi
call fcn.0043a4c0
mov ecx, ebx
call fcn.0043a4c0
movzx eax, byte [ebp - 0x505]
test al, al
jns 0x452e5e
mov eax, dword [ebp - 0x50c]
mov ebx, dword [ebp - 0x548]
test eax, eax
jne 0x452dc5
xor ebx, ebx
lea ecx, [ebp - 0x510]
call fcn.0043a4c0
lea ecx, [ebp - 0x504]
call fcn.00449730
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0x544
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [ebp + 8]
lea ecx, [ebp - 0x29c]
lea edx, [eax + eax + 1]
push edx
push eax
push ebx
call fcn.00458b00
push 0x1ba
push str..._.._base_files_file_util_win.cc
push str.PathExists
lea edi, [ebp - 0x4ec]
push edi
call fcn.0043e1b0
add esp, 0x10
lea esi, [ebp - 0x4f8]
mov ecx, esi
push 0
push edi
call fcn.00449640
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x452ee9
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
mov edi, eax
call fcn.00449730
cmp edi, 0xffffffff
je 0x4531d0
lea ecx, [ebp - 0x528]
push ebx
call fcn.0043a3c0
push 0x1cc
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea esi, [ebp - 0x4ec]
push esi
call fcn.0043e1b0
add esp, 0x10
lea edi, [ebp - 0x4f8]
mov ecx, edi
push 0
push esi
call fcn.00449640
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x452f46
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, edi
setne byte [ebp - 0x541]
and eax, 0x10
shr eax, 4
mov dword [ebp - 0x548], eax
call fcn.00449730
lea ecx, [ebp - 0x534]
push ebx
call fcn.0043a3c0
cmp byte [ebp + 8], 0
je 0x452ff5
push 0x1cc
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push esi
call fcn.0043e1b0
add esp, 0x10
mov eax, esi
lea esi, [ebp - 0x4f8]
mov ecx, esi
push 0
push eax
call fcn.00449640
mov eax, dword [ebp - 0x54c]
cmp byte [eax + 0xb], 0
jns 0x452fba
mov eax, dword [ebp - 0x54c]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
mov edi, eax
call fcn.00449730
cmp edi, 0xffffffff
lea esi, [ebp - 0x4ec]
je 0x452ff5
and edi, 0x10
je 0x452ff5
mov ecx, ebx
push esi
call fcn.0043ad30
lea ecx, [ebp - 0x534]
push esi
call fcn.0043a500
mov ecx, esi
call fcn.0043a4c0
mov eax, dword [ebp - 0x548]
movzx ecx, byte [ebp + 0xc]
lea esi, [ebp - 0x540]
lea ebx, [ebp - 0x534]
and byte [ebp - 0x541], al
mov al, 1
mov dword [ebp - 0x550], ecx
mov dword [ebp - 0x548], eax
jmp 0x45304a
mov ecx, esi
call fcn.0043a4c0
test byte [ebp - 0x548], 1
lea ebx, [ebp - 0x534]
je 0x4531e9
movzx eax, byte [ebp - 0x51d]
test al, al
jns 0x45305b
mov eax, dword [ebp - 0x524]
test eax, eax
lea edi, [ebp - 0x528]
je 0x4531e9
mov ecx, esi
push dword [ebp - 0x54c]
call fcn.0043a3c0
mov ecx, ebx
push edi
call fcn.0043a700
test al, al
je 0x453093
mov ecx, ebx
push esi
push edi
call fcn.0043af00
test al, al
je 0x4531d4
test byte [ebp - 0x541], 1
jne 0x4530d0
mov ecx, edi
mov edx, esi
push dword [ebp - 0x550]
call fcn.00454140
add esp, 4
mov ecx, dword [ebp - 0x548]
test al, al
mov eax, 0
movzx ecx, cl
cmove ecx, eax
mov dword [ebp - 0x548], ecx
jmp 0x453129
push 0x1cc
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea ebx, [ebp - 0x4ec]
push ebx
call fcn.0043e1b0
add esp, 0x10
lea ecx, [ebp - 0x4f8]
push 0
push ebx
call fcn.00449640
cmp byte [ebp - 0x535], 0
jns 0x45310b
mov esi, dword [ebp - 0x540]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x4f8]
mov esi, eax
call fcn.00449730
cmp esi, 0xffffffff
je 0x45312d
and esi, 0x10
je 0x45312d
mov esi, edi
jmp 0x453165
cmp byte [ebp - 0x535], 0
lea eax, [ebp - 0x540]
jns 0x453142
mov eax, dword [ebp - 0x540]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x548]
test eax, eax
lea esi, [ebp - 0x528]
movzx ecx, cl
cmove ecx, eax
mov dword [ebp - 0x548], ecx
lea edi, [ebp - 0x4ec]
lea ecx, [ebp - 0x29c]
push edi
call fcn.00458dd0
mov ecx, esi
push edi
call fcn.0043a500
mov ecx, edi
call fcn.0043a4c0
movzx eax, byte [ebp - 0x51d]
test al, al
jns 0x453197
mov eax, dword [ebp - 0x524]
test eax, eax
lea esi, [ebp - 0x540]
je 0x453030
lea edi, [ebp - 0x4ec]
lea ecx, [ebp - 0x29c]
push edi
call fcn.00458d50
mov ecx, edi
call fcn.00458ab0
mov ecx, edi
mov byte [ebp - 0x541], al
call fcn.0040de20
jmp 0x453030
xor ebx, ebx
jmp 0x453208
lea ecx, [ebp - 0x540]
call fcn.0043a4c0
mov dword [ebp - 0x548], 0
mov ebx, dword [ebp - 0x548]
lea ecx, [ebp - 0x534]
and bl, 1
call fcn.0043a4c0
lea ecx, [ebp - 0x528]
call fcn.0043a4c0
lea ecx, [ebp - 0x29c]
call fcn.00458ce0
jmp 0x452e12