Function at 0x411550
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468678
mov eax, dword fs:[0]
push eax
mov eax, 0x40d4
call fcn.0045fc50
mov eax, dword [0x4a5590]
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], 0x40b720
mov dword [ebp - 0x404c], 0x40b740
mov dword [ebp - 0x407c], 0x40b720
mov dword [ebp - 0x4078], 0x40b740
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4084], eax
cmp eax, 0xffffffff
jne 0x4115f8
call esi
test eax, eax
je 0x4115f8
push str.can_not_open_input_file
call fcn.0044df4f
add esp, 4
jmp 0x411b6c
lea eax, [ebp - 0x408c]
mov dword [ebp - 0x408c], 0x40c650
mov dword [ebp - 0x4088], 0x40c670
mov dword [ebp - 0x4048], 0x40f000
mov dword [ebp - 0x4044], 0x40f060
mov dword [ebp - 0x4040], 0x40f070
mov dword [ebp - 0x403c], 0x40f0c0
mov dword [ebp - 0x4038], eax
mov dword [ebp - 0x4030], edi
mov dword [ebp - 0x4034], edi
call fcn.0040b7c0
lea ecx, [ebp - 0x40e0]
call fcn.0040c8a0
lea eax, [ebp - 0x407c]
push eax
lea eax, [ebp - 0x4050]
push eax
lea edx, [ebp - 0x4048]
call fcn.0040e9a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x411697
lea edx, [ebp - 0x4050]
lea ecx, [ebp - 0x40e0]
call fcn.0040c910
test ebx, ebx
jne 0x411a52
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 0x411a3c
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 0x4119ba
mov ebx, dword [ebp - 0x40a0]
mov esi, dword [ebx + edx*4 + 4]
sub esi, dword [ebx + edx*4]
cmp esi, dword [ebp - 0x406c]
jbe 0x411733
push edi
call fcn.0044cbc4
add esp, 4
mov dword [ebp - 0x406c], esi
add esi, esi
je 0x4119d8
push esi
call fcn.0044dda2
mov edi, eax
add esp, 4
test edi, edi
je 0x4119da
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 0x411760
mov eax, dword [ebp - 0x409c]
lea esi, [eax + ecx*2]
test edx, edx
je 0x411760
mov ecx, edi
sub esi, edi
mov ax, word [esi + ecx]
mov word [ecx], ax
lea ecx, [ecx + 2]
dec edx
jne 0x411751
mov edi, edi
call fcn.0044cc96
add eax, 0x20
push eax
push str.Extracting
call fcn.0044de34
add esp, 8
mov ecx, edi
call fcn.004114f0
mov ebx, eax
test ebx, ebx
jne 0x411a36
mov eax, dword [ebp - 0x405c]
cmp byte [eax + 5], bl
je 0x4117a1
push 0x47b4dc
call fcn.0044df4f
add esp, 4
jmp 0x4117f6
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.0040ed30
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x411a36
xor ecx, ecx
mov esi, edi
cmp word [edi], cx
je 0x411815
mov eax, edi
cmp word [eax], 0x2f
jne 0x41180a
lea esi, [eax + 2]
inc ecx
cmp word [edi + ecx*2], 0
lea eax, [edi + ecx*2]
jne 0x411801
push dword [ebp - 0x4074]
lea ecx, [ebp - 0x28]
call fcn.0040a200
push 1
push 0x47ac4c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004092b0
cmp word [esi], 0
jne 0x411843
xor ecx, ecx
jmp 0x41185f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x411850
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411850
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004092b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4a6f44
call fcn.00409d90
mov esi, dword [ebp - 0x405c]
mov eax, dword [ebp - 0x28]
cmp byte [esi + 5], 0
je 0x4118e4
cmp dword [ebp - 0x14], 8
jae 0x411893
lea eax, [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4118a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x47b4e0
call fcn.0044df4f
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4118cb
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x4119b4
cmp dword [ebp - 0x14], 8
jae 0x4118ed
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 0x411921
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x4119e1
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.0040c540
add esp, 4
test eax, eax
jne 0x411a10
cmp dword [ebp - 0x4054], esi
jne 0x411a10
lea ecx, [ebp - 0x4064]
call fcn.0040c490
test eax, eax
jne 0x411a09
mov esi, dword [ebp - 0x405c]
cmp byte [esi + 9], al
je 0x411998
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41198f
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.0040a2c0
push 0x47b4e0
call fcn.0044df4f
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 0x4116d0
jmp 0x411a36
xor edi, edi
mov ebx, 2
jmp 0x411a36
push str.can_not_open_output_file
push str._nERROR:__s_n
call fcn.0044df4f
add esp, 8
lea ecx, [ebp - 0x28]
mov ebx, 0xb
mov dword [ebp - 4], 0xffffffff
call fcn.0040a2c0
jmp 0x411a3c
push str.can_not_close_output_file
jmp 0x411a15
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.0044df4f
add esp, 8
lea ecx, [ebp - 0x28]
mov ebx, 0xb
mov dword [ebp - 4], 0xffffffff
call fcn.0040a2c0
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.0040c7f0
push edi
call fcn.0044cbc4
mov eax, dword [ebp - 0x4084]
add esp, 0x34
cmp eax, 0xffffffff
je 0x411b16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x411b0c
call esi
jmp 0x411b16
mov dword [ebp - 0x4084], 0xffffffff
test ebx, ebx
jne 0x411b2b
push str._nEverything_is_Ok_n
call fcn.0044df4f
add esp, 4
xor eax, eax
jmp 0x411b71
cmp ebx, 4
jne 0x411b3c
push str.decoder_doesnt_support_this_archive
push str._nERROR:__s_n
jmp 0x411b64
cmp ebx, 2
jne 0x411b4d
push str.can_not_allocate_memory
push str._nERROR:__s_n
jmp 0x411b64
cmp ebx, 3
jne 0x411b5e
push str.CRC_error
push str._nERROR:__s_n
jmp 0x411b64
push ebx
push str._nERROR__d_n
call fcn.0044df4f
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.0044c2ed
mov esp, ebp
pop ebp
ret