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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x588
mov ebx, edx
mov edi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x580], eax
lea esi, [esp + 0x2e8]
push 0xdd
push str..._.._base_files_file_util_win.cc
push str.DoCopyDirectory
push esi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x50]
push 0
push esi
call fcn.0047d4a0
cmp byte [edi + 0xb], 0
jns 0x48228b
cmp dword [edi + 4], 0x103
ja 0x48229a
cmp byte [ebx + 0xb], 0
jns 0x4822a1
cmp dword [ebx + 4], 0x103
jbe 0x4822a1
xor ebx, ebx
jmp 0x4823d0
mov dword [esp + 8], edi
lea edi, [esp + 0x44]
mov ecx, edi
mov dword [esp + 0xc], ebx
push ebx
call fcn.0046ed40
lea esi, [esp + 0x98]
push 0x1c9
push str..._.._base_files_file_util_win.cc
push str.PathExists
push esi
call fcn.00472ef0
add esp, 0x10
lea ebx, [esp + 0x2e8]
mov ecx, ebx
push 0
push esi
call fcn.0047d4a0
cmp byte [esp + 0x4f], 0
jns 0x4822f0
mov edi, dword [esp + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, ebx
call fcn.0047d5c0
cmp edi, 0xffffffff
je 0x482384
lea esi, [esp + 0x44]
push esi
push ebx
call fcn.00481bf0
add esp, 8
mov ecx, esi
push ebx
call fcn.0046ee80
mov ecx, ebx
call fcn.0046ee40
movzx eax, byte [esp + 0x4f]
test al, al
jns 0x48232f
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4823c5
lea edi, [esp + 0x38]
push dword [esp + 8]
push edi
call fcn.00481bf0
add esp, 8
movzx eax, byte [esp + 0x43]
test al, al
jns 0x482355
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x482377
lea esi, [esp + 0x44]
mov ecx, esi
push edi
call fcn.0046eef0
test al, al
jne 0x482377
lea ecx, [esp + 0x38]
push esi
call fcn.0046f8d0
test al, al
je 0x4823f1
xor ebx, ebx
lea ecx, [esp + 0x38]
call fcn.0046ee40
jmp 0x4823c7
lea edi, [esp + 0x44]
mov ecx, edi
push esi
call fcn.0046f6e0
push esi
push ebx
call fcn.00481bf0
add esp, 8
mov ecx, edi
push ebx
call fcn.0046ee80
mov ecx, ebx
call fcn.0046ee40
mov ecx, esi
call fcn.0046ee40
movzx eax, byte [esp + 0x4f]
test al, al
jns 0x4823bd
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x482337
xor ebx, ebx
lea ecx, [esp + 0x44]
call fcn.0046ee40
lea ecx, [esp + 0x50]
call fcn.0047d5c0
mov ecx, dword [esp + 0x580]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [ebp + 8]
lea edx, [eax + eax]
add edx, 1
lea ecx, [esp + 0x2e8]
push edx
push eax
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00491400
lea edi, [esp + 0x88]
push 0x1c9
push str..._.._base_files_file_util_win.cc
push str.PathExists
push edi
call fcn.00472ef0
add esp, 0x10
lea esi, [esp + 0x98]
mov ecx, esi
push 0
push edi
mov edi, ebx
call fcn.0047d4a0
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x48244a
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, esi
call fcn.0047d5c0
cmp edi, 0xffffffff
je 0x4826e1
lea ecx, [esp + 0x2c]
mov edi, dword [esp + 8]
push edi
call fcn.0046ed40
push 0x1db
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea esi, [esp + 0x94]
push esi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x98]
push 0
push esi
call fcn.0047d4a0
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4824a9
mov eax, dword [edi]
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 + 0x98]
call fcn.0047d5c0
lea ecx, [esp + 0x20]
push edi
call fcn.0046ed40
cmp byte [ebp + 8], 0
je 0x482551
push 0x1db
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea edi, [esp + 0x94]
push edi
call fcn.00472ef0
add esp, 0x10
lea esi, [esp + 0x98]
mov ecx, esi
push 0
push edi
call fcn.0047d4a0
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x48251c
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.0047d5c0
cmp edi, 0xffffffff
je 0x482551
and edi, 0x10
je 0x482551
mov ecx, dword [esp + 8]
push esi
call fcn.0046f6e0
lea ecx, [esp + 0x20]
push esi
call fcn.0046ee80
mov ecx, esi
call fcn.0046ee40
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 0x482588
lea edi, [esp + 0x14]
mov ecx, edi
call fcn.0046ee40
test bl, 1
lea ecx, [esp + 0x20]
je 0x4826f0
movzx eax, byte [esp + 0x37]
test al, al
jns 0x482595
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4826f0
mov dword [esp + 8], ebx
mov ebx, esi
mov esi, ecx
mov ecx, edi
push dword [esp + 0xc]
call fcn.0046ed40
mov ecx, esi
push ebx
call fcn.0046f020
test al, al
je 0x4825cd
mov ecx, esi
push edi
push ebx
call fcn.0046f8f0
test al, al
je 0x4826e5
test byte [esp + 7], 1
jne 0x482600
mov esi, ebx
mov ecx, ebx
mov edx, edi
push dword [esp + 0x10]
call fcn.00483550
add esp, 4
mov ebx, dword [esp + 8]
movzx ebx, bl
test al, al
mov eax, 0
cmove ebx, eax
jmp 0x48267e
push 0x1db
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea esi, [esp + 0x94]
push esi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x98]
push 0
push esi
call fcn.0047d4a0
cmp byte [esp + 0x1f], 0
mov eax, edi
jns 0x48263b
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x98]
call fcn.0047d5c0
cmp esi, 0xffffffff
mov ebx, dword [esp + 8]
je 0x48265e
and esi, 0x10
jne 0x48267a
cmp byte [esp + 0x1f], 0
jns 0x482669
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 + 0x2e8]
lea edi, [esp + 0x98]
push edi
call fcn.004916d0
mov ecx, esi
push edi
call fcn.0046ee80
mov ecx, edi
call fcn.0046ee40
movzx eax, byte [esp + 0x37]
test al, al
jns 0x4826ae
mov eax, dword [esp + 0x30]
test eax, eax
je 0x482570
lea ecx, [esp + 0x2e8]
lea edi, [esp + 0x98]
push edi
call fcn.00491650
mov ecx, edi
call fcn.004913f0
mov byte [esp + 7], al
mov ecx, edi
call fcn.00401e20
jmp 0x482570
xor ebx, ebx
jmp 0x482705
lea ecx, [esp + 0x14]
call fcn.0046ee40
xor ebx, ebx
and bl, 1
lea ecx, [esp + 0x20]
call fcn.0046ee40
lea ecx, [esp + 0x2c]
call fcn.0046ee40
lea ecx, [esp + 0x2e8]
call fcn.004915e0
jmp 0x482379