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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x590
mov ebx, edx
mov edi, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x588], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
lea esi, [esp + 0x2f0]
push 0xdd
push str..._.._base_files_file_util_win.cc
push str.DoCopyDirectory
push esi
call fcn.004994e0
add esp, 0x10
lea ecx, [esp + 0x50]
push 0
push esi
call fcn.004ab280
cmp byte [edi + 0xb], 0
jns 0x4b5197
cmp dword [edi + 4], 0x103
ja 0x4b51a6
cmp byte [ebx + 0xb], 0
jns 0x4b51ad
cmp dword [ebx + 4], 0x103
jbe 0x4b51ad
xor ebx, ebx
jmp 0x4b5345
mov dword [esp + 8], edi
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
lea edi, [esp + 0x44]
mov ecx, edi
mov dword [esp + 0xc], ebx
push ebx
call fcn.00444420
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x310], xmm0
movdqa xmmword [esp + 0x300], xmm0
movdqa xmmword [esp + 0x2f0], xmm0
mov dword [esp + 0x324], 0xffffffff
mov dword [esp + 0x320], 0xffffffff
lea esi, [esp + 0xa0]
push 0x1c9
push str..._.._base_files_file_util_win.cc
push str.PathExists
push esi
call fcn.004994e0
add esp, 0x10
lea ebx, [esp + 0x2f0]
mov ecx, ebx
push 0
push esi
call fcn.004ab280
cmp byte [esp + 0x4f], 0
jns 0x4b5249
mov edi, dword [esp + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, ebx
call fcn.004ab2f0
cmp edi, 0xffffffff
je 0x4b52f9
lea esi, [esp + 0x44]
push esi
push ebx
call fcn.004b49b0
add esp, 8
mov ecx, esi
push ebx
call fcn.004957d0
mov ecx, ebx
call fcn.00495790
movzx eax, byte [esp + 0x4f]
test al, al
jns 0x4b528c
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b533a
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
lea edi, [esp + 0x38]
push dword [esp + 8]
push edi
call fcn.004b49b0
add esp, 8
movzx eax, byte [esp + 0x43]
test al, al
jns 0x4b52ca
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4b52ec
lea esi, [esp + 0x44]
mov ecx, esi
push edi
call fcn.00495840
test al, al
jne 0x4b52ec
lea ecx, [esp + 0x38]
push esi
call fcn.00496280
test al, al
je 0x4b5366
xor ebx, ebx
lea ecx, [esp + 0x38]
call fcn.00495790
jmp 0x4b533c
lea edi, [esp + 0x44]
mov ecx, edi
push esi
call fcn.00496060
push esi
push ebx
call fcn.004b49b0
add esp, 8
mov ecx, edi
push ebx
call fcn.004957d0
mov ecx, ebx
call fcn.00495790
mov ecx, esi
call fcn.00495790
movzx eax, byte [esp + 0x4f]
test al, al
jns 0x4b5332
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4b5294
xor ebx, ebx
lea ecx, [esp + 0x44]
call fcn.00495790
lea ecx, [esp + 0x50]
call fcn.004ab2f0
mov ecx, dword [esp + 0x588]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx esi, byte [ebp + 8]
lea edi, [esi + esi]
add edi, 1
push 0x294
push 0xff
push ebx
call fcn.00645dd0
add esp, 0xc
mov ecx, ebx
push edi
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.004bc7c0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
lea ebx, [esp + 0x90]
push 0x1c9
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.004994e0
add esp, 0x10
lea esi, [esp + 0xa0]
mov ecx, esi
push 0
push ebx
call fcn.004ab280
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4b5400
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, esi
call fcn.004ab2f0
cmp edi, 0xffffffff
je 0x4b5796
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x2c]
mov esi, dword [esp + 8]
push esi
call fcn.00444420
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
push 0x1f1
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea edi, [esp + 0x9c]
push edi
call fcn.004994e0
add esp, 0x10
lea ecx, [esp + 0xa0]
push 0
push edi
call fcn.004ab280
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4b54ac
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
setne byte [esp + 7]
and ebx, 0x10
shr ebx, 4
lea ecx, [esp + 0xa0]
call fcn.004ab2f0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x20]
push esi
call fcn.00444420
cmp byte [ebp + 8], 0
je 0x4b55a5
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
push 0x1f1
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea edi, [esp + 0x9c]
push edi
call fcn.004994e0
add esp, 0x10
lea esi, [esp + 0xa0]
mov ecx, esi
push 0
push edi
call fcn.004ab280
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x4b5570
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, esi
call fcn.004ab2f0
cmp edi, 0xffffffff
je 0x4b55a5
and edi, 0x10
je 0x4b55a5
mov ecx, dword [esp + 8]
push esi
call fcn.00496060
lea ecx, [esp + 0x20]
push esi
call fcn.004957d0
mov ecx, esi
call fcn.00495790
and byte [esp + 7], bl
mov bl, 1
lea edi, [esp + 0x14]
lea ecx, [esp + 0x20]
movzx eax, byte [ebp + 0xc]
mov dword [esp + 0x10], eax
lea esi, [esp + 0x2c]
jmp 0x4b55e8
lea edi, [esp + 0x14]
mov ecx, edi
call fcn.00495790
test bl, 1
lea ecx, [esp + 0x20]
je 0x4b57a5
movzx eax, byte [esp + 0x37]
test al, al
jns 0x4b55f5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b57a5
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov ebx, esi
mov esi, ecx
mov ecx, edi
push dword [esp + 0xc]
call fcn.00444420
mov ecx, esi
push ebx
call fcn.00495980
test al, al
je 0x4b5645
mov ecx, esi
push edi
push ebx
call fcn.004962a0
test al, al
je 0x4b579a
test byte [esp + 7], 1
jne 0x4b5680
mov esi, ebx
mov ecx, ebx
mov edx, edi
push dword [esp + 0x10]
call fcn.004b6930
add esp, 4
mov ebx, dword [esp + 8]
movzx ebx, bl
test al, al
mov eax, 0
cmove ebx, eax
jmp 0x4b5733
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
push 0x1f1
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea esi, [esp + 0x9c]
push esi
call fcn.004994e0
add esp, 0x10
lea ecx, [esp + 0xa0]
push 0
push esi
call fcn.004ab280
cmp byte [esp + 0x1f], 0
mov eax, edi
jns 0x4b56f0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0xa0]
call fcn.004ab2f0
cmp esi, 0xffffffff
mov ebx, dword [esp + 8]
je 0x4b5713
and esi, 0x10
jne 0x4b572f
cmp byte [esp + 0x1f], 0
jns 0x4b571e
mov edi, dword [esp + 0x14]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
movzx ebx, bl
cmove ebx, eax
lea esi, [esp + 0x2c]
lea ecx, [esp + 0x2f0]
lea edi, [esp + 0xa0]
push edi
call fcn.004bca90
mov ecx, esi
push edi
call fcn.004957d0
mov ecx, edi
call fcn.00495790
movzx eax, byte [esp + 0x37]
test al, al
jns 0x4b5763
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b55d0
lea ecx, [esp + 0x2f0]
lea edi, [esp + 0xa0]
push edi
call fcn.004bca10
mov ecx, edi
call fcn.004bc790
mov byte [esp + 7], al
mov ecx, edi
call fcn.00402f50
jmp 0x4b55d0
xor ebx, ebx
jmp 0x4b57ba
lea ecx, [esp + 0x14]
call fcn.00495790
xor ebx, ebx
and bl, 1
lea ecx, [esp + 0x20]
call fcn.00495790
lea ecx, [esp + 0x2c]
call fcn.00495790
lea ecx, [esp + 0x2f0]
call fcn.004bc9a0
jmp 0x4b52ee