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

Disassembly:
push 0xffffffffffffffff
push 0x4731ae
mov eax, dword fs:[0]
push eax
mov eax, 0x4138
call fcn.004126e0
mov eax, dword [0x482534]
xor eax, esp
mov dword [esp + 0x4130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x482534]
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], 0x416930
mov dword [esp + 0x54], 0x416920
mov dword [esp + 0x78], 0x416900
mov dword [esp + 0x7c], 0x4168f0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x58], eax
jne 0x41aabc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x41aabc
push str.can_not_open_input_file
push str._nERROR:__s_n
jmp 0x41b138
lea edx, [esp + 0x50]
mov dword [esp + 0x50], 0x417170
mov dword [esp + 0x54], 0x417150
mov dword [esp + 0xdc], 0x415ee0
mov dword [esp + 0xe0], 0x415ed0
mov dword [esp + 0xe4], 0x415e70
mov dword [esp + 0xe8], 0x415e50
mov dword [esp + 0xec], edx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], ebx
call fcn.00418900
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.0041a5d0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41aba6
lea edi, [esp + 0x34]
lea eax, [esp + 0x6c]
call fcn.00419af0
test esi, esi
mov ebp, esi
jne 0x41b0b0
xor eax, eax
mov edi, 0x47640c
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 0x41ac98
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 0x41b09f
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 0x41ac32
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], al
je 0x41ac32
cmp dword [esp + 0x30], eax
je 0x41b038
mov eax, dword [esp + 0xac]
mov esi, dword [eax + edi*4 + 4]
sub esi, dword [eax + edi*4]
cmp esi, dword [esp + 0x40]
jbe 0x41ac71
push ebx
call fcn.00405354
lea eax, [esi + esi]
add esp, 4
test eax, eax
mov dword [esp + 0x40], esi
je 0x41b053
push eax
call fcn.00406445
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41b055
mov ecx, ebx
mov eax, edi
lea edx, [esp + 0x6c]
call fcn.00416020
cmp dword [esp + 0x3c], 0
je 0x41ade4
mov esi, dword [esp + 0x1c]
cmp byte [esi + 4], 0
je 0x41ad0e
mov eax, dword [esi - 5]
jmp 0x41ad10
mov edi, 0x476410
mov esi, str.xltex
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41acba
mov dword [esp + 0x2c], 1
jmp 0x41abdf
mov edi, 0x476414
mov esi, str.xltex
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41abdf
mov edi, 0x476418
mov esi, str.xltex
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41acf5
mov dword [esp + 0x30], 1
jmp 0x41abdf
push 0x47641c
push str._nERROR:__s_n
call fcn.00406508
mov ebp, 0xb
jmp 0x41b0ad
xor eax, eax
movzx edx, byte [esi]
push edx
lea ecx, [esp + 0x4120]
call fcn.00416480
mov eax, dword [esi - 0xd]
mov ecx, dword [esi - 0x11]
add esp, 4
push eax
push ecx
lea ecx, [esp + 0x412c]
call fcn.00416570
add esp, 8
cmp byte [esi + 3], 0
je 0x41ad56
lea edx, [esp + 0x40fc]
push edx
lea eax, [esi - 0x19]
push eax
call fcn.00416e90
add esp, 8
jmp 0x41ad8e
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.00406508
add esp, 0x10
mov eax, ebx
call fcn.004188b0
mov ebp, eax
test ebp, ebp
jne 0x41b09f
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x41adda
push 0x476440
call fcn.00406508
add esp, 4
push 0x476444
jmp 0x41b030
cmp dword [esp + 0x2c], 0
mov esi, str.Testing
jne 0x41adf5
mov esi, str.Extracting
call fcn.00406113
add eax, 0x20
push eax
push esi
call fcn.004062b4
add esp, 8
mov eax, ebx
call fcn.004188b0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
jne 0x41b09f
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], al
je 0x41ae33
push 0x476460
call fcn.00406508
add esp, 4
jmp 0x41ae7f
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.00419be0
mov ebp, eax
add esp, 0x24
test ebp, ebp
mov dword [esp + 0x18], eax
jne 0x41b09f
cmp dword [esp + 0x2c], 0
jne 0x41b02b
xor edi, edi
cmp word [ebx], di
mov ebp, ebx
je 0x41aed1
mov esi, ebx
cmp word [esi], 0x2f
jne 0x41aec4
cmp dword [esp + 0x30], 0
je 0x41aec1
push 0
push ebx
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41aeba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov word [esi], 0x5c
jmp 0x41aec4
lea ebp, [esi + 2]
add edi, 1
cmp word [ebx + edi*2], 0
lea esi, [ebx + edi*2]
jne 0x41ae95
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 0x41aef0
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 0x41af85
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41af2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x476464
call fcn.00406508
add esp, 4
mov dword [esp + 0x4154], 0xffffffff
cmp dword [esp + 0xd8], 8
jb 0x41af5e
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 0x41b038
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x41af9d
lea eax, [esp + 0xc4]
lea edx, [esp + 0x44]
push edx
call fcn.004179c0
add esp, 4
test eax, eax
jne 0x41b05c
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.00416690
add esp, 4
test eax, eax
jne 0x41b06a
cmp dword [esp + 0x20], esi
jne 0x41b06a
lea esi, [esp + 0x44]
call fcn.00416790
test eax, eax
jne 0x41b063
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe7
cmp byte [eax + 0x1d], 0
je 0x41b00c
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 0x4764bc
call fcn.00406508
add esp, 4
add dword [esp + 0x1c], 0x20
add edi, 1
cmp edi, dword [esp + 0x88]
mov dword [esp + 0x24], edi
jb 0x41ac10
jmp 0x41b09f
xor ebx, ebx
mov ebp, 2
jmp 0x41b09f
push str.can_not_open_output_file
jmp 0x41b06f
push str.can_not_close_output_file
jmp 0x41b06f
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.00406508
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.00419af0
push ebx
call fcn.00405354
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, 0xffffffff
je 0x41b0ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41b0e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41b0ea
mov dword [esp + 0x58], 0xffffffff
test ebp, ebp
jne 0x41b0ff
push str._nEverything_is_Ok_n
call fcn.00406508
add esp, 4
xor eax, eax
jmp 0x41b145
cmp ebp, 4
jne 0x41b110
push str.decoder_doesnt_support_this_archive
push str._nERROR:__s_n
jmp 0x41b138
cmp ebp, 2
jne 0x41b121
push str.can_not_allocate_memory
push str._nERROR:__s_n
jmp 0x41b138
cmp ebp, 3
jne 0x41b132
push str.CRC_error
push str._nERROR:__s_n
jmp 0x41b138
push ebp
push str._nERROR__d_n
call fcn.00406508
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