Function at 0x642cb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x40]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x30]
push 0x29f
push str....._base_files_file_util_win.cc
push str.CreateTemporaryDirInDir
push edi
call fcn.005613a0
add esp, 0x10
mov ecx, esi
push 0
push edi
call fcn.005546a0
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ecx, [esp + 0x30]
call fcn.00561680
cmp dword [ebp + 0x10], 0
sete al
cmp dword [ebp + 0xc], 0
setne cl
or cl, al
mov byte [esp + 3], cl
xor ecx, ecx
mov byte [esp + 2], 1
lea ebx, [esp + 0x20]
lea esi, [esp + 8]
jmp 0x642d6b
push dword [esp + 0x20]
call fcn.005c8b90
add esp, 4
mov eax, dword [esp + 4]
cmp eax, 0x31
lea eax, [eax + 1]
setb byte [esp + 2]
mov ecx, eax
cmp eax, 0x32
mov ebx, esi
lea esi, [esp + 8]
je 0x642f4b
pxor xmm0, xmm0
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
cmp byte [esp + 3], 0
je 0x642f29
mov dword [esp + 4], ecx
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004a41a0
call fcn.004a95a0
push eax
push esi
call fcn.00640bb0
add esp, 8
movsx eax, byte [esp + 0x13]
mov edx, esi
test eax, eax
jns 0x642dbb
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
js 0x642f29
sete cl
test edx, edx
setne ch
or ch, cl
je 0x642f29
lea edi, [esp + 0x14]
mov ecx, edi
push eax
push edx
call fcn.0049cc30
movsx eax, byte [esp + 0x1f]
test eax, eax
jns 0x642df1
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, ebx
push eax
push edi
call fcn.0054b480
cmp byte [esp + 0x1f], 0
jns 0x642e0d
push dword [esp + 0x14]
call fcn.005c8b90
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x642e20
push dword [esp + 8]
call fcn.005c8b90
add esp, 4
mov ecx, ebx
push 0x5f
call fcn.0054b730
push SysReAllocString
push 0
call fcn.004b94d0
add esp, 8
push eax
push esi
call fcn.004b6200
add esp, 8
movsx eax, byte [esp + 0x13]
mov edx, esi
test eax, eax
jns 0x642e55
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
js 0x642f29
sete cl
test edx, edx
setne ch
or ch, cl
je 0x642f29
lea edi, [esp + 0x14]
mov ecx, edi
push eax
push edx
call fcn.0049cc30
movsx eax, byte [esp + 0x1f]
test eax, eax
jns 0x642e8b
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, ebx
push eax
push edi
call fcn.0054b480
cmp byte [esp + 0x1f], 0
jns 0x642ea7
push dword [esp + 0x14]
call fcn.005c8b90
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x642eba
push dword [esp + 8]
call fcn.005c8b90
add esp, 4
movsx eax, byte [esp + 0x2b]
test eax, eax
cmovs eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmovns edx, ebx
test eax, eax
js 0x642f29
sete cl
test edx, edx
setne ch
or ch, cl
je 0x642f29
mov esi, ebx
mov ecx, dword [ebp + 8]
push eax
push edx
lea edi, [esp + 0x1c]
push edi
call fcn.00562f80
lea ebx, [esp + 0x30]
mov ecx, ebx
push edi
call fcn.00561870
mov ecx, edi
call fcn.005617f0
cmp byte [esp + 0x3b], 0
jns 0x642f0c
mov ebx, dword [esp + 0x30]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x642f2b
cmp byte [esp + 0x2b], 0
jns 0x642d4b
jmp 0x642d3f
ud2
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x30]
push eax
call fcn.00561810
cmp byte [esp + 0x2b], 0
jns 0x642f4b
push dword [esp + 0x20]
call fcn.005c8b90
add esp, 4
lea ecx, [esp + 0x30]
call fcn.005617f0
lea ecx, [esp + 0x40]
call fcn.00554710
mov bl, byte [esp + 2]
and bl, 1
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret