Function at 0x51fc70
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x590
mov dword [esp + 0xc], edx
mov edi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x588], eax
xor eax, eax
dec eax
lea ebx, [esp + 0x50]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x2f0]
push 0xef
push str..._.._base_files_file_util_win.cc
push str.DoCopyDirectory
push esi
call fcn.004c10c0
add esp, 0x10
mov ecx, ebx
push 0
push esi
call fcn.004c7be0
movzx eax, byte [edi + 0xb]
test al, al
jns 0x51fce6
mov eax, dword [edi + 4]
cmp eax, 0x103
jbe 0x51fd10
xor ebx, ebx
lea ecx, [esp + 0x50]
call fcn.004c7b60
mov ecx, dword [esp + 0x588]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0xc]
movzx eax, byte [edx + 0xb]
test al, al
jns 0x51fd1f
mov eax, dword [edx + 4]
cmp eax, 0x103
ja 0x51fced
lea ebx, [esp + 0x44]
xor esi, esi
dec esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov ecx, ebx
push edx
call fcn.00407430
lea eax, [esp + 0x2f0]
mov dword [eax + 0x34], esi
mov dword [eax + 0x30], esi
mov esi, eax
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea eax, [esp + 0xa0]
push 0x1e8
push str..._.._base_files_file_util_win.cc
push str.PathExists
push eax
call fcn.004c10c0
add esp, 0x10
mov ecx, esi
push 0
lea eax, [esp + 0xa4]
push eax
call fcn.004c7be0
cmp byte [ebx + 0xb], 0
jns 0x51fd98
mov ebx, dword [esp + 0x44]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea ecx, [esp + 0x2f0]
call fcn.004c7b60
xor eax, eax
dec eax
cmp ebx, eax
jne 0x51fdf8
lea ecx, [esp + 0x44]
lea ebx, [esp + 0xa0]
push ebx
call fcn.0040ed40
push ebx
lea esi, [esp + 0x2f4]
push esi
call fcn.0051dca0
add esp, 8
lea ecx, [esp + 0x44]
push esi
call fcn.00411710
mov ecx, esi
call fcn.004c5e70
mov ecx, ebx
call fcn.004c5e70
lea eax, [esp + 0x44]
movzx eax, byte [eax + 0xb]
jmp 0x51fe20
lea ebx, [esp + 0x44]
push ebx
lea esi, [esp + 0x2f4]
push esi
call fcn.0051dca0
add esp, 8
mov ecx, ebx
push esi
call fcn.00411710
mov ecx, esi
call fcn.004c5e70
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x51fe28
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x51fe3c
xor ebx, ebx
lea ecx, [esp + 0x44]
call fcn.004c5e70
jmp 0x51fcef
lea ebx, [esp + 0x38]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push edi
push ebx
call fcn.0051dca0
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x51fe61
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x51fe83
lea esi, [esp + 0x44]
mov ecx, esi
push ebx
call fcn.00434c30
test al, al
jne 0x51fe83
lea ecx, [esp + 0x38]
push esi
call fcn.00519b70
test al, al
je 0x51fe90
xor ebx, ebx
lea ecx, [esp + 0x38]
call fcn.004c5e70
jmp 0x51fe2e
lea eax, [esp + 0x2f0]
movzx esi, byte [ebp + 8]
lea ebx, [esi + esi]
inc ebx
push 0x294
push 0xff
push eax
call fcn.004d5a00
add esp, 0xc
lea ecx, [esp + 0x2f0]
push ebx
push esi
push edi
call fcn.0042f7b0
lea ebx, [esp + 0xa0]
xor eax, eax
dec eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x90]
push 0x1e8
push str..._.._base_files_file_util_win.cc
push str.PathExists
push esi
call fcn.004c10c0
add esp, 0x10
mov ecx, ebx
push 0
push esi
call fcn.004c7be0
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x51ff16
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov ecx, ebx
call fcn.004c7b60
xor ebx, ebx
dec ebx
cmp esi, ebx
je 0x52022f
lea ecx, [esp + 0x2c]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
push edi
call fcn.00407430
lea esi, [esp + 0xa0]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push 0x210
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea ebx, [esp + 0x9c]
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004c7be0
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x51ff95
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
xor esi, esi
dec esi
cmp eax, esi
setne byte [esp + 0xb]
and ebx, 0x10
shr ebx, 4
lea ecx, [esp + 0xa0]
call fcn.004c7b60
lea ecx, [esp + 0x20]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.00407430
cmp byte [ebp + 8], 0
je 0x52007c
lea esi, [esp + 0xa0]
xor eax, eax
dec eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push 0x210
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea eax, [esp + 0x9c]
push eax
call fcn.004c10c0
add esp, 0x10
mov ecx, esi
push 0
lea eax, [esp + 0x94]
push eax
call fcn.004c7be0
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x520038
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x10], eax
lea esi, [esp + 0xa0]
mov ecx, esi
call fcn.004c7b60
xor eax, eax
dec eax
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x52007c
mov eax, ecx
and eax, 0x10
je 0x52007c
mov ecx, edi
push esi
call fcn.0040ed40
lea ecx, [esp + 0x20]
push esi
call fcn.00411710
mov ecx, esi
call fcn.004c5e70
and byte [esp + 0xb], bl
mov bl, 1
lea esi, [esp + 0x14]
movzx ecx, byte [ebp + 0xc]
mov dword [esp + 0x10], ecx
xor edi, edi
dec edi
movzx eax, byte [esp + 0x37]
test al, al
jns 0x52009e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x52023e
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov ecx, esi
push dword [esp + 0xc]
call fcn.00407430
lea ecx, [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
call fcn.00519a70
test al, al
je 0x5200e6
lea ecx, [esp + 0x20]
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00519b90
test al, al
je 0x520233
test byte [esp + 0xb], 1
je 0x52020b
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
push 0x210
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea edi, [esp + 0x9c]
push edi
call fcn.004c10c0
add esp, 0x10
lea ecx, [esp + 0xa0]
push 0
push edi
call fcn.004c7be0
cmp byte [esp + 0x1f], 0
mov eax, esi
jns 0x520159
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
lea ecx, [esp + 0xa0]
call fcn.004c7b60
xor eax, eax
dec eax
cmp edi, eax
je 0x52017a
and edi, 0x10
jne 0x520196
cmp byte [esp + 0x1f], 0
jns 0x520185
mov esi, dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
movzx ebx, bl
cmove ebx, eax
xor edi, edi
dec edi
lea ecx, [esp + 0x2f0]
lea esi, [esp + 0xa0]
push esi
call fcn.0042c670
lea ecx, [esp + 0x2c]
push esi
call fcn.00411710
mov ecx, esi
call fcn.004c5e70
movzx eax, byte [esp + 0x37]
test al, al
jns 0x5201cb
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5201f5
lea ecx, [esp + 0x2f0]
lea esi, [esp + 0xa0]
push esi
call fcn.00519f90
mov ecx, esi
call fcn.005203d0
mov byte [esp + 0xb], al
mov ecx, esi
call fcn.004ff490
lea esi, [esp + 0x14]
mov ecx, esi
call fcn.004c5e70
test bl, 1
jne 0x520091
jmp 0x52023e
lea ecx, [esp + 0x2c]
mov edx, esi
push dword [esp + 0x10]
call fcn.00520270
add esp, 4
movzx ebx, bl
test al, al
mov eax, 0
cmove ebx, eax
jmp 0x520199
xor ebx, ebx
jmp 0x520253
lea ecx, [esp + 0x14]
call fcn.004c5e70
xor ebx, ebx
and bl, 1
lea ecx, [esp + 0x20]
call fcn.004c5e70
lea ecx, [esp + 0x2c]
call fcn.004c5e70
lea ecx, [esp + 0x2f0]
call fcn.00430980
jmp 0x51fe85