Function at 0x539ec0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x587040]
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 0x29d
push str....._base_files_file_util_win.cc
push str.CreateTemporaryDirInDir
push edi
call fcn.004b8ac0
add esp, 0x10
mov ecx, esi
push 0
push edi
call fcn.004aac50
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.004b95a0
xor ecx, ecx
mov byte [esp + 3], 1
lea esi, [esp + 0x20]
lea ebx, [esp + 8]
mov dword [esp + 4], ecx
pxor xmm0, xmm0
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0049fc60
call fcn.0045bae0
push eax
push ebx
call fcn.0053b460
add esp, 8
movsx eax, byte [esp + 0x13]
mov edx, ebx
test eax, eax
jns 0x539f7b
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
js 0x53a16b
sete cl
test edx, edx
setne ch
or ch, cl
je 0x53a164
lea edi, [esp + 0x14]
mov ecx, edi
push eax
push edx
call fcn.00412d60
movsx eax, byte [esp + 0x1f]
test eax, eax
jns 0x539fb1
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, esi
push eax
push edi
call fcn.004a3590
cmp byte [esp + 0x1f], 0
jns 0x539fcd
push dword [esp + 0x14]
call fcn.004ec97e
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x539fe0
push dword [esp + 8]
call fcn.004ec97e
add esp, 4
mov ecx, esi
push 0x5f
call fcn.004a3940
push SysReAllocString
push 0
call fcn.00467c50
add esp, 8
push eax
push ebx
call fcn.00465150
add esp, 8
movsx eax, byte [esp + 0x13]
mov edx, ebx
test eax, eax
jns 0x53a015
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
js 0x53a16b
sete cl
test edx, edx
setne ch
or ch, cl
je 0x53a164
lea edi, [esp + 0x14]
mov ecx, edi
push eax
push edx
call fcn.00412d60
movsx eax, byte [esp + 0x1f]
test eax, eax
jns 0x53a04b
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, esi
push eax
push edi
call fcn.004a3590
cmp byte [esp + 0x1f], 0
jns 0x53a067
push dword [esp + 0x14]
call fcn.004ec97e
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x53a07a
push dword [esp + 8]
call fcn.004ec97e
add esp, 4
movsx eax, byte [esp + 0x2b]
test eax, eax
cmovs eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmovns edx, esi
test eax, eax
js 0x53a16b
sete cl
test edx, edx
setne ch
or ch, cl
je 0x53a164
mov ebx, esi
mov ecx, dword [ebp + 8]
push eax
push edx
lea edi, [esp + 0x1c]
push edi
call fcn.004bab10
lea esi, [esp + 0x30]
mov ecx, esi
push edi
call fcn.004b97a0
mov ecx, edi
call fcn.004b9720
cmp byte [esp + 0x3b], 0
jns 0x53a0d4
mov esi, dword [esp + 0x30]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x53a142
cmp byte [esp + 0x2b], 0
jns 0x53a0f4
push dword [esp + 0x20]
call fcn.004ec97e
add esp, 4
mov eax, dword [esp + 4]
cmp eax, 0x31
lea eax, [eax + 1]
setb byte [esp + 3]
mov ecx, eax
cmp eax, 0x32
mov esi, ebx
lea ebx, [esp + 8]
jne 0x539f39
lea ecx, [esp + 0x30]
call fcn.004b9720
lea ecx, [esp + 0x40]
call fcn.004aacc0
mov bl, byte [esp + 3]
and bl, 1
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004ecef0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x30]
push eax
call fcn.004b9740
cmp byte [esp + 0x2b], 0
jns 0x53a114
push dword [esp + 0x20]
call fcn.004ec97e
add esp, 4
jmp 0x53a114
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x53a170
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x565ab5
call fcn.0051c8d0
int3