Function at 0x4017c0
Capabilities:
Create directory

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
cmp edi, 5
ja case.0x4017e2.3
jmp dword [edi*4 + 0x406158]
xor edx, edx
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
test byte [section..data], 8
jne 0x401a28
mov eax, dword [ebx + 0x24]
xor edx, edx
test eax, eax
setne dl
lea esp, [ebp - 0x10]
pop ecx
neg edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor edx, edx
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
movzx eax, word [ebx + 0x1c]
mov edx, dword [ebx + 4]
shl eax, 0x18
sar eax, 0x1f
and eax, 0xfde9
call sym._strdupAtoW
mov edx, dword [0x4050fc]
mov dword [ebp - 0x20], eax
test edx, edx
je 0x401a70
cmp word [eax], 0x5c
mov ebx, eax
jne 0x401cc0
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0x5c
je 0x401888
mov edx, dword [0x4050f4]
mov esi, ebx
test edx, edx
je 0x401952
cmp word [edx], 0
je 0x401cb0
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4018b0
sub eax, edx
sar eax, 1
inc eax
cmp word [ebx], 0
je 0x401ca8
mov edx, ebx
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4018d0
sub edx, ebx
sar edx, 1
add edx, eax
mov dword [esp + 4], 0
add edx, edx
mov dword [esp + 8], edx
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [0x4050f4]
mov esi, eax
sub esp, 0xc
xor eax, eax
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x401910
cmp word [esi], 0
mov eax, esi
je 0x401939
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401930
mov edx, ebx
lea esi, [esi]
nop
movzx ecx, word [edx]
add edx, 2
add eax, 2
mov word [eax - 2], cx
test cx, cx
jne 0x401940
mov eax, dword [0x4050f8]
mov eax, dword [eax]
test eax, eax
je 0x401a98
mov eax, ebx
call sym._match_files.part.0
mov edx, eax
test eax, eax
jne 0x401a98
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
cmp ebx, esi
je 0x4017f2
mov ecx, dword [ebp - 0x20]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
xor edx, edx
test byte [section..data], 1
je 0x4017f2
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Unexpected_notification_type__d._n
mov dword [esp + 8], str.extract_notify
mov dword [esp + 4], 0x405000
mov dword [esp], 0
mov dword [ebp - 0x1c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x1c]
jmp 0x4017f2
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0xc], str.Next_cab:_status__u__path__s__file__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.extract_notify
mov dword [esp + 4], 0x405000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40180d
mov esi, dword [ebp - 0x20]
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
lea ebx, [eax + 2]
test eax, eax
cmove ebx, esi
jmp 0x401891
mov eax, dword [0x405108]
test eax, eax
jne 0x401c90
cmp word [esi], 0
je 0x401abe
mov edi, esi
lea esi, [esi]
add edi, 2
cmp word [edi], 0
jne 0x401ab0
sub edi, esi
add edi, 2
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
mov ecx, eax
sub esp, 0xc
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x401af0
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0x5c
mov dword [ebp - 0x24], edi
mov dword [esp], eax
call edi
mov edi, eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x401c06
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x1c]
jmp 0x401b6a
mov edx, 0x5c
mov word [edi], dx
lea edx, [edi + 2]
mov dword [esp + 4], 0x5c
mov dword [esp], edx
call esi
mov edi, eax
test eax, eax
je 0x401c00
xor eax, eax
mov word [edi], ax
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
sub esp, 8
test eax, eax
jne 0x401b48
test byte [section..data], 8
je 0x401b48
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x401c78
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x401bca
mov eax, ebx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov ecx, dword [ebp - 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Couldnt_create_directory__s___error:__ld_n
mov dword [esp + 0x14], ecx
mov dword [esp + 8], str.create_directories
mov dword [esp + 4], 0x405000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401b48
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov edx, eax
jmp 0x401978
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x401bca
mov dword [esp + 4], esi
mov dword [esp], str.extracting__s_n
call sym._wprintf
jmp 0x401aa5
xor edx, edx
jmp 0x4018dd
mov eax, 1
jmp 0x4018be
mov ebx, dword [ebp - 0x20]
jmp 0x401891