Function at 0x41aa20
Capabilities:
Create directory
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45a55e
mov eax, dword fs:[0]
push eax
mov eax, 0x4138
call fcn.004126f0
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x4130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x474534]
xor eax, esp
push eax
lea eax, [esp + 0x414c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x415c]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], 0x416940
mov dword [esp + 0x54], 0x416930
mov dword [esp + 0x78], 0x416910
mov dword [esp + 0x7c], 0x416900
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x58], eax
jne 0x41aacc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x41aacc
push str.can_not_open_input_file
push str._nERROR:__s_n
jmp 0x41b148
lea edx, [esp + 0x50]
mov dword [esp + 0x50], 0x417180
mov dword [esp + 0x54], 0x417160
mov dword [esp + 0xdc], 0x415ef0
mov dword [esp + 0xe0], 0x415ee0
mov dword [esp + 0xe4], 0x415e80
mov dword [esp + 0xe8], 0x415e60
mov dword [esp + 0xec], edx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], ebx
call fcn.00418910
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x64]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
call fcn.0041a5e0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41abb6
lea edi, [esp + 0x34]
lea eax, [esp + 0x6c]
call fcn.00419b00
test esi, esi
mov ebp, esi
jne 0x41b0c0
xor eax, eax
mov edi, 0x45d40c
mov esi, str.xltex
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
jne 0x41aca8
mov dword [esp + 0x3c], 1
xor edi, edi
cmp dword [esp + 0x88], eax
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], edi
jbe 0x41b0af
mov eax, dword [esp + 0x7c]
add eax, 0x19
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
xor eax, eax
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], eax
jne 0x41ac42
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], al
je 0x41ac42
cmp dword [esp + 0x30], eax
je 0x41b048
mov eax, dword [esp + 0xac]
mov esi, dword [eax + edi*4 + 4]
sub esi, dword [eax + edi*4]
cmp esi, dword [esp + 0x40]
jbe 0x41ac81
push ebx
call fcn.00405354
lea eax, [esi + esi]
add esp, 4
test eax, eax
mov dword [esp + 0x40], esi
je 0x41b063
push eax
call fcn.00406162
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41b065
mov ecx, ebx
mov eax, edi
lea edx, [esp + 0x6c]
call fcn.00416030
cmp dword [esp + 0x3c], 0
je 0x41adf4
mov esi, dword [esp + 0x1c]
cmp byte [esi + 4], 0
je 0x41ad1e
mov eax, dword [esi - 5]
jmp 0x41ad20
mov edi, 0x45d410
mov esi, str.xltex
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41acca
mov dword [esp + 0x2c], 1
jmp 0x41abef
mov edi, 0x45d414
mov esi, str.xltex
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41abef
mov edi, 0x45d418
mov esi, str.xltex
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41ad05
mov dword [esp + 0x30], 1
jmp 0x41abef
push 0x45d41c
push str._nERROR:__s_n
call fcn.00406225
mov ebp, 0xb
jmp 0x41b0bd
xor eax, eax
movzx edx, byte [esi]
push edx
lea ecx, [esp + 0x4120]
call fcn.00416490
mov eax, dword [esi - 0xd]
mov ecx, dword [esi - 0x11]
add esp, 4
push eax
push ecx
lea ecx, [esp + 0x412c]
call fcn.00416580
add esp, 8
cmp byte [esi + 3], 0
je 0x41ad66
lea edx, [esp + 0x40fc]
push edx
lea eax, [esi - 0x19]
push eax
call fcn.00416ea0
add esp, 8
jmp 0x41ad9e
mov eax, 0x20202020
mov dword [esp + 0x40fc], eax
mov dword [esp + 0x4100], eax
mov dword [esp + 0x4104], eax
mov dword [esp + 0x4108], eax
mov word [esp + 0x410c], ax
mov byte [esp + 0x410e], al
mov byte [esp + 0x410f], 0
lea eax, [esp + 0x4124]
push eax
lea ecx, [esp + 0x4120]
push ecx
lea edx, [esp + 0x4104]
push edx
push str._s__s__10s
call fcn.00406225
add esp, 0x10
mov eax, ebx
call fcn.004188c0
mov ebp, eax
test ebp, ebp
jne 0x41b0af
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x41adea
push 0x45d440
call fcn.00406225
add esp, 4
push 0x45d444
jmp 0x41b040
cmp dword [esp + 0x2c], 0
mov esi, str.Testing
jne 0x41ae05
mov esi, str.Extracting
call fcn.004062ea
add eax, 0x20
push eax
push esi
call fcn.0040648b
add esp, 8
mov eax, ebx
call fcn.004188c0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
jne 0x41b0af
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], al
je 0x41ae43
push 0x45d460
call fcn.00406225
add esp, 4
jmp 0x41ae8f
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xf8]
push edi
push eax
lea eax, [esp + 0x90]
call fcn.00419bf0
mov ebp, eax
add esp, 0x24
test ebp, ebp
mov dword [esp + 0x18], eax
jne 0x41b0af
cmp dword [esp + 0x2c], 0
jne 0x41b03b
xor edi, edi
cmp word [ebx], di
mov ebp, ebx
je 0x41aee1
mov esi, ebx
cmp word [esi], 0x2f
jne 0x41aed4
cmp dword [esp + 0x30], 0
je 0x41aed1
push 0
push ebx
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41aeca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov word [esi], 0x5c
jmp 0x41aed4
lea ebp, [esi + 2]
add edi, 1
cmp word [ebx + edi*2], 0
lea esi, [ebx + edi*2]
jne 0x41aea5
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xc0]
call fcn.00402560
xor esi, esi
mov eax, ebp
mov dword [esp + 0x4154], esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41af00
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0xc8]
call fcn.00402af0
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe7
cmp byte [eax + 0x19], 0
je 0x41af95
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41af3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45d464
call fcn.00406225
add esp, 4
mov dword [esp + 0x4154], 0xffffffff
cmp dword [esp + 0xd8], 8
jb 0x41af6e
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00404706
add esp, 4
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], esi
mov word [esp + 0xc4], si
jmp 0x41b048
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x41afad
lea eax, [esp + 0xc4]
lea edx, [esp + 0x44]
push edx
call fcn.004179d0
add esp, 4
test eax, eax
jne 0x41b06c
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x44]
add eax, ecx
push edx
lea edi, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.004166a0
add esp, 4
test eax, eax
jne 0x41b07a
cmp dword [esp + 0x20], esi
jne 0x41b07a
lea esi, [esp + 0x44]
call fcn.004167a0
test eax, eax
jne 0x41b073
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe7
cmp byte [eax + 0x1d], 0
je 0x41b01c
mov eax, dword [eax + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea esi, [esp + 0xc0]
mov dword [esp + 0x4154], 0xffffffff
call fcn.004025a0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
push 0x45d4bc
call fcn.00406225
add esp, 4
add dword [esp + 0x1c], 0x20
add edi, 1
cmp edi, dword [esp + 0x88]
mov dword [esp + 0x24], edi
jb 0x41ac20
jmp 0x41b0af
xor ebx, ebx
mov ebp, 2
jmp 0x41b0af
push str.can_not_open_output_file
jmp 0x41b07f
push str.can_not_close_output_file
jmp 0x41b07f
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.00406225
add esp, 8
lea esi, [esp + 0xc0]
mov dword [esp + 0x18], 0xb
mov dword [esp + 0x4154], 0xffffffff
call fcn.004025a0
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [esp + 0x40]
add esp, 8
lea edi, [esp + 0x34]
lea eax, [esp + 0x6c]
call fcn.00419b00
push ebx
call fcn.00405354
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, 0xffffffff
je 0x41b0fa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41b0f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41b0fa
mov dword [esp + 0x58], 0xffffffff
test ebp, ebp
jne 0x41b10f
push str._nEverything_is_Ok_n
call fcn.00406225
add esp, 4
xor eax, eax
jmp 0x41b155
cmp ebp, 4
jne 0x41b120
push str.decoder_doesnt_support_this_archive
push str._nERROR:__s_n
jmp 0x41b148
cmp ebp, 2
jne 0x41b131
push str.can_not_allocate_memory
push str._nERROR:__s_n
jmp 0x41b148
cmp ebp, 3
jne 0x41b142
push str.CRC_error
push str._nERROR:__s_n
jmp 0x41b148
push ebp
push str._nERROR__d_n
call fcn.00406225
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x414c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4130]
xor ecx, esp
call fcn.0040470b
add esp, 0x4144
ret