Function at 0x539b00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x570
mov dword [esp + 0xc], edx
mov edi, ecx
mov eax, dword [0x587040]
xor eax, ebp
mov dword [esp + 0x568], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x50]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x2d4]
push 0xb3
push str....._base_files_file_util_win.cc
push str.DoCopyDirectory
push ebx
call fcn.004b8ac0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004aac50
cmp byte [edi + 0xb], 0
jns 0x539b97
cmp dword [edi + 4], 0x103
jbe 0x539b97
xor ebx, ebx
lea ecx, [esp + 0x50]
call fcn.004aacc0
and bl, 1
mov ecx, dword [esp + 0x568]
xor ecx, ebp
call fcn.004ecef0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb], 0
jns 0x539baa
cmp dword [eax + 4], 0x103
ja 0x539b71
xor ecx, ecx
dec ecx
lea esi, [esp + 0x44]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov ecx, esi
push eax
call fcn.004b95c0
push esi
call fcn.0045e6f0
add esp, 4
test al, al
jne 0x539c0b
lea esi, [esp + 0x84]
lea ecx, [esp + 0x44]
push esi
call fcn.004b9d90
push esi
push ebx
call fcn.0045e1f0
add esp, 8
lea ecx, [esp + 0x44]
push ebx
call fcn.004b97a0
mov ecx, ebx
call fcn.004b9720
mov ecx, esi
call fcn.004b9720
lea eax, [esp + 0x44]
movsx eax, byte [eax + 0xb]
jmp 0x539c29
push esi
push ebx
call fcn.0045e1f0
add esp, 8
mov ecx, esi
push ebx
call fcn.004b97a0
mov ecx, ebx
call fcn.004b9720
movsx eax, byte [esp + 0x4f]
test eax, eax
jns 0x539c31
mov eax, dword [esp + 0x48]
test eax, eax
je 0x539c97
lea esi, [esp + 0x38]
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.0045e1f0
add esp, 8
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x539c5a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x539c7e
lea ecx, [esp + 0x44]
push esi
call fcn.0046b410
test al, al
jne 0x539c7e
lea ecx, [esp + 0x38]
lea eax, [esp + 0x44]
push eax
call fcn.0046b750
test al, al
je 0x539cab
xor ebx, ebx
lea ecx, [esp + 0x38]
call fcn.004b9720
lea ecx, [esp + 0x44]
call fcn.004b9720
jmp 0x539b73
xor ebx, ebx
jmp 0x539c89
xor ebx, ebx
lea ecx, [esp + 0x2d4]
call fcn.0045fa30
jmp 0x539c80
movzx esi, byte [ebp + 8]
lea eax, [esi*2 + 1]
mov dword [esp + 8], eax
push 0x294
push 0xff
push ebx
call fcn.004f0940
add esp, 0xc
mov ecx, ebx
push dword [esp + 8]
push esi
push edi
call fcn.0045f880
push edi
call fcn.0045e6f0
add esp, 4
test al, al
je 0x539c9b
lea ecx, [esp + 0x2c]
xor esi, esi
dec esi
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.004b95c0
push edi
call fcn.0045e880
add esp, 4
mov byte [esp + 8], al
lea ecx, [esp + 0x20]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push edi
call fcn.004b95c0
cmp byte [ebp + 8], 0
je 0x539d51
push dword [esp + 0xc]
call fcn.0045e880
add esp, 4
test al, al
je 0x539d51
lea esi, [esp + 0x84]
mov ecx, edi
push esi
call fcn.004b9d90
lea ecx, [esp + 0x20]
push esi
call fcn.004b97a0
mov ecx, esi
call fcn.004b9720
mov bl, 1
lea esi, [esp + 0x14]
lea edi, [esp + 0x20]
movzx eax, byte [ebp + 0xc]
mov dword [esp + 0x10], eax
jmp 0x539e2f
lea ecx, [esp + 0x14]
call fcn.004b9720
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.004b9720
lea ecx, [esp + 0x2c]
call fcn.004b9720
jmp 0x539c9d
lea ecx, [esp + 0x2c]
mov esi, edi
mov edx, edi
push dword [esp + 0x10]
call fcn.0053a1a0
add esp, 4
movzx ebx, bl
test al, al
mov eax, 0
jmp 0x539dbc
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
movzx ebx, bl
cmove ebx, eax
lea ecx, [esp + 0x2d4]
lea edi, [esp + 0x84]
push edi
call fcn.0045fae0
lea ecx, [esp + 0x2c]
push edi
call fcn.004b97a0
mov ecx, edi
call fcn.004b9720
movsx eax, byte [esp + 0x37]
test eax, eax
jns 0x539df1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x539e1b
lea ecx, [esp + 0x2d4]
lea edi, [esp + 0x84]
push edi
call fcn.0045faa0
mov ecx, edi
call fcn.0045f850
mov byte [esp + 8], al
mov ecx, edi
call fcn.00411550
mov ecx, esi
call fcn.004b9720
test bl, 1
lea edi, [esp + 0x20]
je 0x539d73
movsx eax, byte [esp + 0x37]
test eax, eax
jns 0x539e3c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x539d73
xor eax, eax
dec eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ecx, esi
push dword [esp + 0xc]
call fcn.004b95c0
mov ecx, edi
mov edi, esi
lea esi, [esp + 0x2c]
push esi
call fcn.0046b5c0
test al, al
je 0x539e83
lea ecx, [esp + 0x20]
push edi
push esi
call fcn.0046b770
test al, al
je 0x539d68
test byte [esp + 8], 1
je 0x539d8a
mov esi, edi
push edi
call fcn.0045e880
add esp, 4
test al, al
jne 0x539dbf
cmp byte [esp + 0x1f], 0
mov eax, esi
jns 0x539dae
jmp 0x539daa