Function at 0x100a29c0
Capabilities:
Create directory
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xbc]
push edi
mov dword [ebp - 0x64], ecx
xor edi, edi
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x34], fcn.100a3730
mov dword [ebp - 0x30], fcn.100a3750
mov dword [ebp - 0x70], fcn.100a3730
mov dword [ebp - 0x6c], fcn.100a3750
mov dword [ebp - 0xa8], edi
call fcn.100a7260
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.100a3880
lea eax, [ebp - 0x34]
push 0x40000
push eax
call dword [ebp - 0x34]
add esp, 0x14
mov dword [ebp - 0x88], eax
test eax, eax
je 0x100a2a72
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x84], 0x40000
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], edi
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.100a6c90
lea eax, [ebp - 0x13c]
push eax
call fcn.100a5000
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100a50d0
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x2c], ebx
test ebx, ebx
jne 0x100a2d90
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0xfc], ebx
jbe 0x100a2e6c
mov eax, dword [ebp - 0xf4]
mov ecx, ebx
and ecx, 7
mov dword [ebp - 0x50], 0
mov edx, 0x80
mov dword [ebp - 0x3c], 0
sar edx, cl
mov ecx, ebx
shr ecx, 3
push 0
push ebx
mov dword [ebp - 0x38], edx
movzx eax, byte [ecx + eax]
and eax, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], eax
mov eax, 0
setne al
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100a4fb0
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp - 0x48]
jbe 0x100a2b4c
push edi
push 0
call fcn.100a3750
lea eax, [esi + esi]
mov dword [ebp - 0x48], esi
push eax
push 0
call fcn.100a3730
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100a2dea
push edi
lea eax, [ebp - 0x13c]
push ebx
push eax
call fcn.100a4fb0
add esp, 0xc
cmp dword [ebp - 0x2c], 0
jne 0x100a2d80
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x100a2b85
push 1
call fcn.100e3d51
push eax
push 0x1026e160
call fcn.100fde5d
add esp, 0xc
jmp 0x100a2bc5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100a4c60
mov ebx, eax
add esp, 0x28
mov dword [ebp - 0x2c], ebx
test ebx, ebx
jne 0x100a2d83
movzx eax, word [edi]
xor ebx, ebx
mov ecx, eax
test ax, ax
je 0x100a2c0a
mov esi, edi
cmp cx, 0x2f
jne 0x100a2bf8
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100a2bf0
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 0x100a2bd3
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x100a2c1a
push dword [ebp - 0x58]
push edi
call eax
add esp, 8
test esi, esi
je 0x100a2c3a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100a2d58
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100a2d58
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.100a73b0
add esp, 8
test eax, eax
jne 0x100a2e4b
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100a7170
add esp, 0xc
test eax, eax
jne 0x100a2e08
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x3c]
jne 0x100a2e08
mov eax, dword [ebp - 0xe0]
xor edx, edx
mov ecx, dword [ebp - 0x38]
xor esi, esi
test eax, eax
je 0x100a2cb8
mov ebx, dword [ebp - 0x40]
test byte [ebx + eax], cl
mov ebx, dword [ebp - 0x28]
je 0x100a2cbb
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0x78]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx]
mov dword [ebp - 0x78], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
jmp 0x100a2cbb
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x100a2ce7
mov ebx, dword [ebp - 0x40]
test byte [ebx + eax], cl
mov ebx, dword [ebp - 0x28]
je 0x100a2ce7
mov eax, dword [ebp - 0xd4]
lea esi, [ebp - 0x80]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x7c], eax
test edx, edx
jne 0x100a2cef
test esi, esi
je 0x100a2cfc
push edx
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0x14]
push eax
call fcn.100a6ff0
add esp, 4
test eax, eax
jne 0x100a2df1
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x100a2d48
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
test byte [edx + eax], cl
je 0x100a2d48
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax + ebx*4]
mov ecx, edx
mov eax, edx
and ecx, 0x7fff
and eax, 0xf0000000
cmove ecx, edx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x100a2d58
push dword [ebp - 0x58]
push edi
call eax
add esp, 8
push 1
call fcn.100e3d51
push eax
push 0x10274514
call fcn.100fde5d
mov ebx, dword [ebp - 0x28]
add esp, 0xc
inc ebx
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0xfc]
jb 0x100a2ad1
mov ebx, dword [ebp - 0x2c]
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
call dword [ebp - 0x30]
add esp, 8
push edi
push 0
call fcn.100a3750
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100a4e10
push dword [ebp - 0x88]
lea eax, [ebp - 0x34]
push eax
call dword [ebp - 0x30]
add esp, 0x18
test ebx, ebx
jne 0x100a2e73
push 1
call fcn.100e3d51
push eax
push str._nEverything_is_Ok_n
call fcn.100fde5d
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret 0x14
mov ebx, 2
jmp 0x100a2d83
push str.can_not_close_output_file
call fcn.100a1ef0
add esp, 4
mov ebx, 0xb
jmp 0x100a2d83
push 1
call fcn.100e3d51
push eax
push str._nERROR:
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push str.can_not_write_output_file
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push 0x10274514
call fcn.100fde5d
add esp, 0x24
mov ebx, 0xb
jmp 0x100a2d83
push 1
call fcn.100e3d51
push eax
push str._nERROR:
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push str.can_not_open_output_file
jmp 0x100a2e27
mov ebx, eax
jmp 0x100a2d83
cmp ebx, 4
jne 0x100a2e99
push 1
call fcn.100e3d51
push eax
push str._nERROR:
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push str.decoder_doesnt_support_this_archive
jmp 0x100a2ee3
cmp ebx, 2
jne 0x100a2ebf
push 1
call fcn.100e3d51
push eax
push str._nERROR:
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push str.can_not_allocate_memory
jmp 0x100a2ee3
cmp ebx, 3
jne 0x100a2eff
push 1
call fcn.100e3d51
push eax
push str._nERROR:
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push str.CRC_error
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push 0x10274514
call fcn.100fde5d
add esp, 0x24
jmp 0x100a2f47
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
cdq
push edx
push eax
call fcn.100a2000
push 1
call fcn.100e3d51
push eax
push str._nERROR:
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100fde5d
push 1
call fcn.100e3d51
push eax
push 0x10274514
call fcn.100fde5d
add esp, 0x34
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053a94
mov esp, ebp
pop ebp
ret 0x14