Function at 0x4097f0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459b18
mov eax, dword fs:[0]
push eax
mov eax, 0x40d4
call fcn.0044edf0
mov eax, dword [0x486850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4074], ecx
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push edx
mov dword [ebp - 0x406c], edi
mov dword [ebp - 0x4050], 0x403b00
mov dword [ebp - 0x404c], 0x403b20
mov dword [ebp - 0x407c], 0x403b00
mov dword [ebp - 0x4078], 0x403b20
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4084], eax
cmp eax, 0xffffffff
jne 0x409898
call esi
test eax, eax
je 0x409898
push str.can_not_open_input_file
call fcn.0043e0b3
add esp, 4
jmp 0x409e0c
lea eax, [ebp - 0x408c]
mov dword [ebp - 0x408c], 0x404a30
mov dword [ebp - 0x4088], 0x404a50
mov dword [ebp - 0x4048], 0x4073e0
mov dword [ebp - 0x4044], 0x407440
mov dword [ebp - 0x4040], 0x407450
mov dword [ebp - 0x403c], 0x4074a0
mov dword [ebp - 0x4038], eax
mov dword [ebp - 0x4030], edi
mov dword [ebp - 0x4034], edi
call fcn.00403ba0
lea ecx, [ebp - 0x40e0]
call fcn.00404c80
lea eax, [ebp - 0x407c]
push eax
lea eax, [ebp - 0x4050]
push eax
lea edx, [ebp - 0x4048]
call fcn.00406d80
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x409937
lea edx, [ebp - 0x4050]
lea ecx, [ebp - 0x40e0]
call fcn.00404cf0
test ebx, ebx
jne 0x409cf2
xor edx, edx
mov dword [ebp - 0x4080], 0xffffffff
mov dword [ebp - 0x4060], edi
mov dword [ebp - 0x4070], edi
mov dword [ebp - 0x4058], edx
cmp dword [ebp - 0x40c4], edx
jbe 0x409cdc
mov esi, dword [ebp - 0x40d0]
add esi, 0x14
mov dword [ebp - 0x405c], esi
cmp byte [esi + 5], 0
mov dword [ebp - 0x4068], 0
mov dword [ebp - 0x4054], 0
jne 0x409c5a
mov ebx, dword [ebp - 0x40a0]
mov esi, dword [ebx + edx*4 + 4]
sub esi, dword [ebx + edx*4]
cmp esi, dword [ebp - 0x406c]
jbe 0x4099d3
push edi
call fcn.0043dd0d
add esp, 4
mov dword [ebp - 0x406c], esi
add esi, esi
je 0x409c78
push esi
call fcn.0043dd90
mov edi, eax
add esp, 4
test edi, edi
je 0x409c7a
mov edx, dword [ebp - 0x4058]
mov ecx, dword [ebx + edx*4]
mov edx, dword [ebx + edx*4 + 4]
sub edx, ecx
test edi, edi
je 0x409a00
mov eax, dword [ebp - 0x409c]
lea esi, [eax + ecx*2]
test edx, edx
je 0x409a00
mov ecx, edi
sub esi, edi
mov ax, word [esi + ecx]
mov word [ecx], ax
lea ecx, [ecx + 2]
dec edx
jne 0x4099f1
mov edi, edi
call fcn.0043dfc2
add eax, 0x20
push eax
push str.Extracting
call fcn.0043de22
add esp, 8
mov ecx, edi
call fcn.00409790
mov ebx, eax
test ebx, ebx
jne 0x409cd6
mov eax, dword [ebp - 0x405c]
cmp byte [eax + 5], bl
je 0x409a41
push 0x4689ec
call fcn.0043e0b3
add esp, 4
jmp 0x409a96
lea eax, [ebp - 0x407c]
push eax
lea eax, [ebp - 0x4050]
push eax
lea eax, [ebp - 0x4054]
push eax
lea eax, [ebp - 0x4068]
push eax
lea eax, [ebp - 0x4070]
push eax
lea eax, [ebp - 0x4060]
push eax
lea eax, [ebp - 0x4080]
push eax
push dword [ebp - 0x4058]
lea edx, [ebp - 0x4048]
lea ecx, [ebp - 0x40e0]
call fcn.00407110
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x409cd6
xor ecx, ecx
mov esi, edi
cmp word [edi], cx
je 0x409ab5
mov eax, edi
cmp word [eax], 0x2f
jne 0x409aaa
lea esi, [eax + 2]
inc ecx
cmp word [edi + ecx*2], 0
lea eax, [edi + ecx*2]
jne 0x409aa1
push dword [ebp - 0x4074]
lea ecx, [ebp - 0x28]
call fcn.00402a00
push 1
push 0x468374
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00401b20
cmp word [esi], 0
jne 0x409ae3
xor ecx, ecx
jmp 0x409aff
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x409af0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409af0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00401b20
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x487a30
call fcn.004024b0
mov esi, dword [ebp - 0x405c]
mov eax, dword [ebp - 0x28]
cmp byte [esi + 5], 0
je 0x409b84
cmp dword [ebp - 0x14], 8
jae 0x409b33
lea eax, [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x409b46
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4689f0
call fcn.0043e0b3
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x409b6b
push dword [ebp - 0x28]
call fcn.0043d3af
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x409c54
cmp dword [ebp - 0x14], 8
jae 0x409b8d
lea eax, [ebp - 0x28]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4064], eax
cmp eax, 0xffffffff
jne 0x409bc1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x409c81
mov ecx, dword [ebp - 0x4060]
mov edx, dword [ebp - 0x4068]
mov esi, dword [ebp - 0x4054]
lea eax, [ebp - 0x4054]
lea edx, [edx + ecx]
push eax
lea ecx, [ebp - 0x4064]
mov dword [ebp - 0x4054], esi
call fcn.00404920
add esp, 4
test eax, eax
jne 0x409cb0
cmp dword [ebp - 0x4054], esi
jne 0x409cb0
lea ecx, [ebp - 0x4064]
call fcn.00404870
test eax, eax
jne 0x409ca9
mov esi, dword [ebp - 0x405c]
cmp byte [esi + 9], al
je 0x409c38
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x409c2f
lea eax, [ebp - 0x28]
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004023c0
push 0x4689f0
call fcn.0043e0b3
add esp, 4
mov edx, dword [ebp - 0x4058]
inc edx
add esi, 0x20
mov dword [ebp - 0x4058], edx
mov dword [ebp - 0x405c], esi
cmp edx, dword [ebp - 0x40c4]
jb 0x409970
jmp 0x409cd6
xor edi, edi
mov ebx, 2
jmp 0x409cd6
push str.can_not_open_output_file
push str._nERROR:__s_n
call fcn.0043e0b3
add esp, 8
lea ecx, [ebp - 0x28]
mov ebx, 0xb
mov dword [ebp - 4], 0xffffffff
call fcn.004023c0
jmp 0x409cdc
push str.can_not_close_output_file
jmp 0x409cb5
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.0043e0b3
add esp, 8
lea ecx, [ebp - 0x28]
mov ebx, 0xb
mov dword [ebp - 4], 0xffffffff
call fcn.004023c0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x4060]
lea eax, [ebp - 0x4050]
push eax
call dword [ebp - 0x404c]
add esp, 8
push dword [ebp - 0x40b0]
lea eax, [ebp - 0x4050]
push eax
call dword [ebp - 0x404c]
push dword [ebp - 0x40ac]
lea eax, [ebp - 0x4050]
push eax
call dword [ebp - 0x404c]
push dword [ebp - 0x40a8]
lea eax, [ebp - 0x4050]
push eax
call dword [ebp - 0x404c]
push dword [ebp - 0x40a4]
lea eax, [ebp - 0x4050]
push eax
call dword [ebp - 0x404c]
push dword [ebp - 0x40a0]
lea eax, [ebp - 0x4050]
push eax
call dword [ebp - 0x404c]
push dword [ebp - 0x409c]
lea eax, [ebp - 0x4050]
push eax
call dword [ebp - 0x404c]
lea edx, [ebp - 0x4050]
lea ecx, [ebp - 0x40e0]
mov dword [ebp - 0x409c], 0
mov dword [ebp - 0x4098], 0
call fcn.00404bd0
push edi
call fcn.0043dd0d
mov eax, dword [ebp - 0x4084]
add esp, 0x34
cmp eax, 0xffffffff
je 0x409db6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x409dac
call esi
jmp 0x409db6
mov dword [ebp - 0x4084], 0xffffffff
test ebx, ebx
jne 0x409dcb
push str._nEverything_is_Ok_n
call fcn.0043e0b3
add esp, 4
xor eax, eax
jmp 0x409e11
cmp ebx, 4
jne 0x409ddc
push str.decoder_doesnt_support_this_archive
push str._nERROR:__s_n
jmp 0x409e04
cmp ebx, 2
jne 0x409ded
push str.can_not_allocate_memory
push str._nERROR:__s_n
jmp 0x409e04
cmp ebx, 3
jne 0x409dfe
push str.CRC_error
push str._nERROR:__s_n
jmp 0x409e04
push ebx
push str._nERROR__d_n
call fcn.0043e0b3
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d3b4
mov esp, ebp
pop ebp
ret