Function at 0x4039be
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x48cc
call fcn.00406c90
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edi, 0x1fe
push edi
lea eax, [ebp - 0x806]
push esi
push eax
mov ebx, ecx
mov dword [ebp - 0x482c], esi
mov dword [ebp - 0x485c], esi
mov word [ebp - 0x808], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x406]
push esi
push eax
mov word [ebp - 0x408], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x606]
push esi
push eax
mov word [ebp - 0x608], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 0x407214
mov esi, 0x100
lea eax, [ebp - 0x408]
push esi
push eax
call fcn.004037d2
push str.play.7z
push ebx
push str._s_s
lea eax, [ebp - 0x608]
push esi
push eax
call fcn.004037d2
add esp, 0x24
lea ebx, [ebp - 0x808]
mov dword [ebp - 0x4850], fcn.00401000
mov dword [ebp - 0x484c], 0x401016
mov dword [ebp - 0x486c], fcn.00401000
mov dword [ebp - 0x4868], 0x401016
call fcn.00403801
test eax, eax
je 0x403ab2
push str.can_not_get_module_path_
call fcn.004037ef
pop ecx
push 0xa
pop eax
jmp 0x403eec
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x4870]
push eax
xor eax, eax
call fcn.00401978
test eax, eax
pop ecx
pop ecx
je 0x403adc
push str.can_not_open_input_file
call fcn.004037ef
pop ecx
push 8
jmp 0x403aac
lea eax, [ebp - 0x4878]
xor esi, esi
mov dword [ebp - 0x4878], 0x401af5
mov dword [ebp - 0x4874], 0x401b16
mov dword [ebp - 0x4828], 0x404332
mov dword [ebp - 0x4824], 0x404381
mov dword [ebp - 0x4820], 0x40438f
mov dword [ebp - 0x481c], 0x4043db
mov dword [ebp - 0x4818], eax
mov dword [ebp - 0x4810], esi
mov dword [ebp - 0x4814], esi
call fcn.0040105b
lea eax, [ebp - 0x48c8]
call fcn.00401c80
lea eax, [ebp - 0x486c]
push eax
lea eax, [ebp - 0x4850]
push eax
lea edx, [ebp - 0x4828]
lea ecx, [ebp - 0x48c8]
call fcn.00403335
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
je 0x403b7c
lea esi, [ebp - 0x4850]
lea eax, [ebp - 0x48c8]
call fcn.00401caf
xor esi, esi
cmp ebx, esi
mov dword [ebp - 0x4830], ebx
jne 0x403e71
or dword [ebp - 0x4864], 0xffffffff
cmp dword [ebp - 0x48ac], esi
mov dword [ebp - 0x4840], esi
mov dword [ebp - 0x4860], esi
mov dword [ebp - 0x4838], esi
jbe 0x403e5c
mov dword [ebp - 0x483c], esi
jmp 0x403bb9
xor esi, esi
mov eax, dword [ebp - 0x48b8]
mov ecx, dword [ebp - 0x483c]
lea ebx, [ecx + eax]
mov eax, dword [ebp - 0x4888]
mov ecx, dword [ebp - 0x4838]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x4858], esi
mov dword [ebp - 0x4844], esi
mov esi, dword [eax + 4]
sub esi, dword [eax]
cmp esi, dword [ebp - 0x485c]
jbe 0x403c1e
push dword [ebp - 0x482c]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [esi + esi]
push eax
push 0
mov dword [ebp - 0x485c], esi
call fcn.00401000
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x482c], eax
je 0x403e2d
mov esi, dword [ebp - 0x482c]
mov ecx, dword [ebp - 0x4838]
push esi
lea edx, [ebp - 0x48c8]
call fcn.00402c82
cmp byte [ebx + 0x19], 0
pop ecx
jne 0x403c97
lea eax, [ebp - 0x486c]
push eax
lea eax, [ebp - 0x4850]
push eax
lea eax, [ebp - 0x4844]
push eax
lea eax, [ebp - 0x4858]
push eax
lea eax, [ebp - 0x4860]
push eax
lea eax, [ebp - 0x4840]
push eax
lea eax, [ebp - 0x4864]
push eax
push dword [ebp - 0x4838]
lea eax, [ebp - 0x4828]
push eax
lea eax, [ebp - 0x48c8]
call fcn.004035f8
add esp, 0x24
test eax, eax
mov dword [ebp - 0x4830], eax
jne 0x403e5c
mov eax, dword [ebp - 0x482c]
and word [ebp - 0x208], 0
push edi
mov dword [ebp - 0x4834], eax
lea eax, [ebp - 0x206]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
mov eax, dword [ebp - 0x482c]
cmp word [eax], 0
pop ecx
pop ecx
je 0x403d54
mov dword [ebp - 0x4848], eax
cmp word [esi], 0x2f
jne 0x403d3f
push dword [ebp - 0x4834]
and word [esi], 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x403d1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x208]
push 0x407250
push eax
mov word [esi], 0x5c
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x4834], eax
add dword [ebp - 0x4848], 2
mov eax, dword [ebp - 0x4848]
inc esi
inc esi
cmp word [eax], 0
jne 0x403ce5
push dword [ebp - 0x4834]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat]
cmp byte [ebx + 0x19], 0
pop ecx
pop ecx
lea eax, [ebp - 0x208]
je 0x403d8e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x403e0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403e0c
push eax
lea eax, [ebp - 0x4854]
push eax
xor eax, eax
inc eax
call fcn.00401978
test eax, eax
pop ecx
pop ecx
jne 0x403e39
mov eax, dword [ebp - 0x4844]
mov ecx, dword [ebp - 0x4840]
mov dword [ebp - 0x4834], eax
mov eax, dword [ebp - 0x4858]
add eax, ecx
push eax
lea eax, [ebp - 0x4854]
push eax
lea esi, [ebp - 0x4834]
call fcn.00401a2d
test eax, eax
pop ecx
pop ecx
jne 0x403e47
mov eax, dword [ebp - 0x4844]
cmp dword [ebp - 0x4834], eax
jne 0x403e47
lea esi, [ebp - 0x4854]
call fcn.004019ba
test eax, eax
jne 0x403e40
cmp byte [ebx + 0x1d], al
je 0x403e0c
push dword [ebx + 0x14]
push dword [ebp - 0x482c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc dword [ebp - 0x4838]
mov eax, dword [ebp - 0x4838]
add dword [ebp - 0x483c], 0x20
cmp eax, dword [ebp - 0x48ac]
jb 0x403bb7
jmp 0x403e5c
mov dword [ebp - 0x4830], 2
jmp 0x403e5c
push str.can_not_open_output_file
jmp 0x403e4c
push str.can_not_close_output_file
jmp 0x403e4c
push str.can_not_write_output_file
call fcn.004037ef
pop ecx
mov dword [ebp - 0x4830], 0xb
push dword [ebp - 0x4840]
lea eax, [ebp - 0x4850]
push eax
call dword [ebp - 0x484c]
pop ecx
pop ecx
lea esi, [ebp - 0x4850]
lea eax, [ebp - 0x48c8]
call fcn.00401caf
push dword [ebp - 0x482c]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea esi, [ebp - 0x4870]
call fcn.004019ba
mov esi, dword [ebp - 0x4830]
test esi, esi
jne 0x403eb3
push str.Everything_is_Ok_n
call dword [sym.imp.MSVCR80.dll_printf]
xor eax, eax
jmp 0x403eeb
cmp esi, 4
jne 0x403ec4
push str.decoder_doesnt_support_this_archive
call fcn.004037ef
jmp 0x403ee9
cmp esi, 2
jne 0x403ed0
push str.can_not_allocate_memory
jmp 0x403ebd
cmp esi, 3
jne 0x403edc
push str.CRC_error
jmp 0x403ebd
push esi
push str._nERROR__d_n
call dword [sym.imp.MSVCR80.dll_printf]
pop ecx
mov eax, esi
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406458
leave
ret