Function at 0x561980
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x580
mov dword [esp + 8], edx
mov edi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x578], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x530]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x29c]
push 0xa6
push str..._.._base_files_file_util_win.cc
push str.DoCopyDirectory
push ebx
call fcn.004e0f50
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004e70c0
movzx eax, byte [edi + 0xb]
test al, al
jns 0x5619f5
mov eax, dword [edi + 4]
cmp eax, 0x103
jbe 0x561a22
xor ebx, ebx
lea ecx, [esp + 0x530]
call fcn.004e7120
mov ecx, dword [esp + 0x578]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 8]
movzx eax, byte [edx + 0xb]
test al, al
jns 0x561a31
mov eax, dword [edx + 4]
cmp eax, 0x103
ja 0x5619fc
xor eax, eax
dec eax
lea esi, [esp + 0x40]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edx
call fcn.004df9d0
push esi
call fcn.00464280
add esp, 4
test al, al
je 0x561a7c
push esi
push ebx
call fcn.00463d90
add esp, 8
mov ecx, esi
push ebx
call fcn.004dfb20
mov ecx, ebx
call fcn.004dfb00
movzx eax, byte [esp + 0x4b]
jmp 0x561ab4
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x40]
push esi
call fcn.004dfb60
push esi
push ebx
call fcn.00463d90
add esp, 8
lea ecx, [esp + 0x40]
push ebx
call fcn.004dfb20
mov ecx, ebx
call fcn.004dfb00
mov ecx, esi
call fcn.004dfb00
lea eax, [esp + 0x40]
movzx eax, byte [eax + 0xb]
test al, al
jns 0x561abc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x561b22
lea esi, [esp + 0x34]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
push esi
call fcn.00463d90
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x561ae5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x561b09
lea ecx, [esp + 0x40]
push esi
call fcn.0045b880
test al, al
jne 0x561b09
lea ecx, [esp + 0x34]
lea eax, [esp + 0x40]
push eax
call fcn.0045c040
test al, al
je 0x561b26
xor ebx, ebx
lea ecx, [esp + 0x34]
call fcn.004dfb00
lea ecx, [esp + 0x40]
call fcn.004dfb00
jmp 0x5619fe
xor ebx, ebx
jmp 0x561b14
movzx esi, byte [ebp + 8]
lea eax, [esi + esi]
inc eax
mov dword [esp + 4], eax
push 0x294
push 0xff
push ebx
call fcn.005072d0
add esp, 0xc
mov ecx, ebx
push dword [esp + 4]
push esi
push edi
call fcn.0046af10
push edi
call fcn.00464280
add esp, 4
test al, al
je 0x561cf2
lea ecx, [esp + 0x28]
xor esi, esi
dec esi
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.004df9d0
push edi
call fcn.00464310
add esp, 4
mov byte [esp + 4], al
lea ecx, [esp + 0x1c]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.004df9d0
cmp byte [ebp + 8], 0
je 0x561bca
push dword [esp + 8]
call fcn.00464310
add esp, 4
test al, al
je 0x561bca
lea esi, [esp + 0x4c]
mov ecx, edi
push esi
call fcn.004dfb60
lea ecx, [esp + 0x1c]
push esi
call fcn.004dfb20
mov ecx, esi
call fcn.004dfb00
mov bl, 1
lea edi, [esp + 0x10]
lea esi, [esp + 0x1c]
movzx eax, byte [ebp + 0xc]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x33]
test al, al
jns 0x561be9
mov eax, dword [esp + 0x2c]
test eax, eax
mov eax, dword [esp + 8]
je 0x561d01
xor ecx, ecx
dec ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, edi
push eax
call fcn.004df9d0
mov ecx, esi
lea esi, [esp + 0x28]
push esi
call fcn.0045b9a0
test al, al
je 0x561c2f
lea ecx, [esp + 0x1c]
push edi
push esi
call fcn.0045c060
test al, al
je 0x561cf6
test byte [esp + 4], 1
je 0x561cd1
push edi
call fcn.00464310
add esp, 4
test al, al
jne 0x561c65
cmp byte [esp + 0x1b], 0
mov eax, edi
jns 0x561c54
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
movzx ebx, bl
cmove ebx, eax
lea ecx, [esp + 0x29c]
lea esi, [esp + 0x4c]
push esi
call fcn.0046b140
lea ecx, [esp + 0x28]
push esi
call fcn.004dfb20
mov ecx, esi
call fcn.004dfb00
movzx eax, byte [esp + 0x33]
test al, al
jns 0x561c94
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x561cbb
lea ecx, [esp + 0x29c]
lea esi, [esp + 0x4c]
push esi
call fcn.0046b0c0
mov ecx, esi
call fcn.0046aee0
mov byte [esp + 4], al
mov ecx, esi
call fcn.0042a3b0
mov ecx, edi
call fcn.004dfb00
test bl, 1
lea esi, [esp + 0x1c]
jne 0x561bdc
jmp 0x561d01
lea ecx, [esp + 0x28]
mov edx, edi
push dword [esp + 0xc]
call fcn.00562070
add esp, 4
movzx ebx, bl
test al, al
mov eax, 0
jmp 0x561c62
xor ebx, ebx
jmp 0x561d16
lea ecx, [esp + 0x10]
call fcn.004dfb00
xor ebx, ebx
and bl, 1
lea ecx, [esp + 0x1c]
call fcn.004dfb00
lea ecx, [esp + 0x28]
call fcn.004dfb00
lea ecx, [esp + 0x29c]
call fcn.0046b050
jmp 0x561b0b