Function at 0x100718bb
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10119540]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x5c
pop eax
mov esi, edx
mov edi, ecx
push eax
push esi
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
pop ecx
mov ebx, eax
pop ecx
mov ecx, esi
test ebx, ebx
je 0x100718ec
lea ecx, [ebx + 2]
movzx eax, word [ecx]
test ax, ax
je 0x10071aa6
push 0x2e
pop edx
cmp ax, dx
jne 0x10071923
movzx eax, word [ecx + 2]
mov edx, eax
test ax, ax
je 0x10071aa6
push 0x2e
pop eax
cmp dx, ax
jne 0x10071923
xor eax, eax
cmp word [ecx + 4], ax
je 0x10071aa6
xor ecx, ecx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x38]
mov edx, esi
push eax
mov ecx, edi
call fcn.1006ed34
mov ecx, 0xf000
mov edx, 0x4000
test eax, eax
jne 0x10071992
mov ax, word [ebp - 0x3c]
and ax, cx
cmp ax, dx
je 0x10071a41
test byte [edi + 0x11c], 8
je 0x10071977
push esi
push 0x10020d7c
push 0x11
push edi
call sym.archiveint.dll_archive_set_error
add esp, 0x10
push 0xffffffffffffffe7
pop eax
jmp 0x10071a43
mov ecx, esi
call fcn.1007059a
test eax, eax
je 0x100719d2
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push esi
push 0x10020da0
push dword [eax]
jmp 0x10071966
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
cmp dword [eax], 2
je 0x100719b6
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
cmp dword [eax], 0x14
je 0x100719b6
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push esi
push 0x10020de4
jmp 0x1007198e
test ebx, ebx
je 0x100719d2
xor eax, eax
mov edx, esi
mov ecx, edi
mov word [ebx], ax
call fcn.100718bb
push 0x5c
pop ecx
mov word [ebx], cx
test eax, eax
jne 0x10071a43
mov ax, word [edi + 0x60]
mov ecx, 0x1ff
not ax
and ax, cx
mov ecx, esi
movzx eax, ax
mov dword [ebp - 0x40], eax
call fcn.10069d6e
mov ebx, eax
test ebx, ebx
jne 0x10071a02
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
mov dword [eax], 0x16
jmp 0x10071a5f
xor eax, eax
push eax
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
je 0x10071a52
mov ecx, dword [ebp - 0x40]
mov eax, ecx
and eax, 0x3d
or eax, 0x1c0
cmp ax, cx
je 0x10071a39
mov edx, esi
mov ecx, edi
call fcn.10071202
mov ecx, dword [ebp - 0x40]
or dword [eax + 0x5c], 0x20000000
mov word [eax + 0x20], cx
push ebx
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100913c0
leave
ret
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.1006a813
push ebx
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
pop ecx
xor eax, eax
mov edx, esi
push eax
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1006ed34
test eax, eax
jne 0x10071a95
mov ax, word [ebp - 0x3c]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x10071a41
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push esi
push 0x10020e00
jmp 0x1007198e
test ebx, ebx
je 0x10071a41
xor eax, eax
mov edx, esi
mov ecx, edi
mov word [ebx], ax
call fcn.100718bb
push 0x5c
pop ecx
mov word [ebx], cx
jmp 0x10071a43