Function at 0x422d90
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, dword [ebp + 8]
mov eax, dword [0x54a010]
xor eax, ebp
mov dword [esp + 0xa8], eax
xor eax, eax
dec eax
lea edi, [esp + 0x30]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x70]
push 0x2e8
push str....._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push ebx
call fcn.00467470
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.0046d9f0
cmp byte [esi + 0xb], 0
mov ebx, esi
jns 0x422dff
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
dec ecx
cmp eax, ecx
je 0x422e3b
mov bl, 1
test al, 0x10
je 0x422f8f
lea ecx, [esp + 0x30]
call fcn.0046da70
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.004a0403
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x14]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov ecx, esi
push edi
call fcn.00467940
movzx eax, byte [esi + 0xb]
mov ecx, esi
test al, al
jns 0x422e5e
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
js 0x422f71
je 0x422e70
test ecx, ecx
je 0x422faa
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x1f]
test cl, cl
cmovs ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmovns edx, edi
test ecx, ecx
js 0x422f71
je 0x422e99
test edx, edx
je 0x422faa
cmp ecx, eax
je 0x422fbb
push dword [ebp + 0xc]
push edi
call fcn.00422d90
add esp, 8
test al, al
je 0x42301c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x422ed2
lea ecx, [esp + 0x14]
call fcn.004678e0
jmp 0x422e1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
cmp eax, 0xb7
jne 0x422f56
lea edi, [esp + 0x70]
xor eax, eax
dec eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea eax, [esp + 0x20]
push 0x231
push str....._base_files_file_util_win.cc
push str.DirectoryExists
push eax
call fcn.00467470
add esp, 0x10
mov ecx, edi
push 0
lea eax, [esp + 0x24]
push eax
call fcn.0046d9f0
cmp byte [esi + 0xb], 0
jns 0x422f34
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x70]
call fcn.0046da70
xor eax, eax
dec eax
cmp esi, eax
je 0x422f56
and esi, 0x10
jne 0x422ec4
cmp dword [ebp + 0xc], 0
je 0x423012
push dword [esp + 8]
call fcn.004220b0
add esp, 4
jmp 0x42300d
push str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
push str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
push 0x135
push str....._buildtools_third_partylibc_trunkinclude_string_view
push str._s:_d:_assertion__s_failed:__s
call fcn.004cb230
test edi, edi
je 0x422f9b
mov eax, edi
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x422e1a
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x136
jmp 0x422f80
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x422ffa
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
movzx ecx, word [edx + ecx*2]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp cx, word [edi + eax*2]
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x10]
jne 0x422ea1
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp eax, ecx
jne 0x422fcb
mov eax, 0xfffffffc
mov dword [esp + 8], 2
cmp dword [ebp + 0xc], 0
je 0x423012
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x422ec4