Function at 0x100dd670
Capabilities:
Create directory
Get common file path
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x44d4
call fcn.100e6970
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push edi
mov dword [ebp - 0x445c], edi
call fcn.100ddbc0
lea eax, [ebp - 0x4434]
mov dword [ebp - 0x4458], fcn.100ddbc0
push edi
push eax
mov dword [ebp - 0x4454], fcn.100ddbe0
mov dword [ebp - 0x4480], fcn.100ddbc0
mov dword [ebp - 0x447c], fcn.100ddbe0
call fcn.100ddcc0
lea eax, [ebp - 0x4434]
mov dword [ebp - 0x4424], esi
push eax
call fcn.100ddcf0
add esp, 0x14
call fcn.100e0b00
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x418]
push eax
push 0x104
call esi
test ebx, ebx
je 0x100dd744
cmp word [ebx], di
je 0x100dd744
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x100dd73c
lea eax, [ebp - 0x210]
push eax
push 0x104
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x210]
push eax
jmp 0x100dd73d
push ebx
mov eax, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call eax
lea eax, [ebp - 0x44d4]
push eax
call fcn.100de3c0
lea eax, [ebp - 0x4480]
push eax
lea eax, [ebp - 0x4458]
push eax
lea eax, [ebp - 0x4434]
push eax
lea eax, [ebp - 0x44d4]
push eax
call fcn.100de430
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x100ddaf3
xor ecx, ecx
mov dword [ebp - 0x4478], 0xffffffff
mov dword [ebp - 0x4448], edi
mov dword [ebp - 0x4474], edi
mov dword [ebp - 0x443c], ecx
cmp dword [ebp - 0x44b8], ecx
jbe 0x100ddadd
xor edx, edx
mov dword [ebp - 0x4470], edx
mov eax, dword [ebp - 0x44c4]
add eax, edx
mov dword [ebp - 0x4464], 0
push 0
mov dword [ebp - 0x4460], eax
lea eax, [ebp - 0x44d4]
push ecx
push eax
mov dword [ebp - 0x4444], 0
call fcn.100de370
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp - 0x445c]
jbe 0x100dd814
push edi
push 0
call fcn.100ddbe0
lea eax, [esi + esi]
mov dword [ebp - 0x445c], esi
push eax
push 0
call fcn.100ddbc0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100ddab1
push edi
push dword [ebp - 0x443c]
lea eax, [ebp - 0x44d4]
push eax
call fcn.100de370
push 1
call fcn.102613f3
push eax
push str.Extracting
call fcn.10263ab0
lea eax, [ebp - 0x4450]
push eax
call fcn.100dded0
xor esi, esi
add esp, 0x1c
cmp word [edi], si
je 0x100dd858
nop
inc esi
cmp word [edi + esi*2], 0
jne 0x100dd850
lea ebx, [esi + 0x32]
lea ebx, [esi + ebx*2]
cmp dword [ebp - 0x444c], ebx
jae 0x100dd895
lea eax, [ebp - 0x4450]
push 0x10344010
push eax
call fcn.100ddea0
push 0x10344010
lea eax, [ebp - 0x4450]
push ebx
push eax
call fcn.100dde50
add esp, 0x14
test eax, eax
jne 0x100dd895
lea ebx, [eax + 2]
jmp 0x100dd8f4
lea eax, [ebp - 0x4484]
mov byte [ebp - 0x4435], 0x5f
push eax
lea eax, [ebp - 0x4435]
push eax
push ebx
push dword [ebp - 0x4450]
push esi
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x100dd8ef
cmp eax, ebx
jge 0x100dd8ef
mov ecx, dword [ebp - 0x4450]
xor ebx, ebx
push 1
mov dword [ebp - 0x4440], ebx
mov byte [eax + ecx], 0
call fcn.102613f3
push eax
push dword [ebp - 0x4450]
call fcn.10263ab0
add esp, 0xc
jmp 0x100dd8fa
mov ebx, 0xb
mov dword [ebp - 0x4440], ebx
lea eax, [ebp - 0x4450]
push 0x10344010
push eax
call fcn.100ddea0
add esp, 8
test ebx, ebx
jne 0x100ddadd
mov eax, dword [ebp - 0x4460]
cmp byte [eax + 0x19], bl
je 0x100dd930
push 0x10281c90
call fcn.100ddb90
add esp, 4
jmp 0x100dd98d
lea eax, [ebp - 0x4480]
push eax
lea eax, [ebp - 0x4458]
push eax
lea eax, [ebp - 0x4444]
push eax
lea eax, [ebp - 0x4464]
push eax
lea eax, [ebp - 0x4474]
push eax
lea eax, [ebp - 0x4448]
push eax
lea eax, [ebp - 0x4478]
push eax
push dword [ebp - 0x443c]
lea eax, [ebp - 0x4434]
push eax
lea eax, [ebp - 0x44d4]
push eax
call fcn.100ddef0
mov ebx, eax
add esp, 0x28
mov dword [ebp - 0x4440], ebx
test ebx, ebx
jne 0x100ddadd
movzx eax, word [edi]
xor ebx, ebx
mov ecx, eax
test ax, ax
je 0x100dd9d4
mov esi, edi
nop dword [eax + eax]
cmp cx, 0x2f
jne 0x100dd9c5
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100dd9bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x5c
mov word [esi], ax
inc ebx
movzx eax, word [edi + ebx*2]
lea esi, [edi + ebx*2]
mov ecx, eax
test ax, ax
jne 0x100dd9a0
mov ebx, dword [ebp - 0x4460]
cmp byte [ebx + 0x19], 0
je 0x100dd9f9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100dda74
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100dda74
lea eax, [ebp - 0x446c]
push edi
push eax
call fcn.100e0aa0
add esp, 8
test eax, eax
jne 0x100ddac6
mov eax, dword [ebp - 0x4444]
mov dword [ebp - 0x4468], eax
lea eax, [ebp - 0x4468]
push eax
mov eax, dword [ebp - 0x4464]
add eax, dword [ebp - 0x4448]
push eax
lea eax, [ebp - 0x446c]
push eax
call fcn.100e09f0
add esp, 0xc
test eax, eax
jne 0x100ddabf
mov eax, dword [ebp - 0x4468]
cmp eax, dword [ebp - 0x4444]
jne 0x100ddabf
lea eax, [ebp - 0x446c]
push eax
call fcn.100e0950
add esp, 4
test eax, eax
jne 0x100ddab8
cmp byte [ebx + 0x1d], al
je 0x100dda74
push dword [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x10314e38
call fcn.100ddb90
mov ecx, dword [ebp - 0x443c]
add esp, 4
mov edx, dword [ebp - 0x4470]
inc ecx
add edx, 0x20
mov dword [ebp - 0x443c], ecx
mov dword [ebp - 0x4470], edx
cmp ecx, dword [ebp - 0x44b8]
jb 0x100dd7b0
mov ebx, dword [ebp - 0x4440]
jmp 0x100ddadd
mov ebx, 2
jmp 0x100ddadd
push str.can_not_close_output_file
jmp 0x100ddacb
push str.can_not_write_output_file
jmp 0x100ddacb
push str.can_not_open_output_file
push str._nERROR:__s_n
call fcn.100ddb90
add esp, 8
mov ebx, 0xb
push dword [ebp - 0x4448]
lea eax, [ebp - 0x4458]
push eax
call dword [ebp - 0x4454]
add esp, 8
lea eax, [ebp - 0x4458]
push eax
lea eax, [ebp - 0x44d4]
push eax
call fcn.100de2b0
push edi
push 0
call fcn.100ddbe0
add esp, 0x10
test ebx, ebx
jne 0x100ddb26
push str._nEverything_is_Ok_n
call fcn.100ddb90
add esp, 4
xor esi, esi
jmp 0x100ddb6d
cmp ebx, 4
jne 0x100ddb37
mov eax, str._nERROR:__s_n
mov ebx, str.decoder_doesnt_support_this_archive
jmp 0x100ddb5e
cmp ebx, 2
jne 0x100ddb48
mov eax, str._nERROR:__s_n
mov ebx, str.can_not_allocate_memory
jmp 0x100ddb5e
cmp ebx, 3
jne 0x100ddb59
mov eax, str._nERROR:__s_n
mov ebx, str.CRC_error
jmp 0x100ddb5e
mov eax, str._nERROR__d_n
push ebx
push eax
call fcn.100ddb90
add esp, 8
mov esi, 1
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e5dee
mov esp, ebp
pop ebp
ret