Function at 0x101064b0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185394
mov eax, dword fs:[0]
push eax
mov eax, 0x102ac
call fcn.1014e7b0
mov eax, dword [0x101e42fc]
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 esi, ecx
cmp dword [esi + 8], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
je 0x10106557
test edi, edi
jne 0x101064f7
lea edi, [esi + 0x34]
push edi
call fcn.10106f50
test al, al
jne 0x101065f1
cmp dword [esi + 0x248], 0
je 0x10106577
lea ecx, [ebp - 0x1029c]
call fcn.100e5d90
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x1010652a
mov edx, dword [edx]
mov eax, dword [esi + 0x248]
mov ecx, dword [eax]
push edx
push edi
push str.Failed_to_create_destinationFolder__s.___s
push str.UnzipHandler
push 0x101a4aec
push 0x32
push eax
call dword [ecx + 0x34]
add esp, 0x1c
lea ecx, [ebp - 0x1029c]
call fcn.10001bc0
xor al, al
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.1014d1d5
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x101e9ed0], 0
je 0x101065c2
lea ecx, [ebp - 0x1029c]
call fcn.100e5d90
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x1010659a
mov eax, dword [eax]
push eax
push edi
push str.Failed_to_create_destinationFolder__s.___s
push 0x101a4aec
push 0x101a4aec
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x101e9ed0]
add esp, 0x20
jmp 0x1010654c
cmp dword [0x101e9ed4], 0
je 0x10106557
lea ecx, [ebp - 0x1029c]
call fcn.100e5d90
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 8
jb 0x101065e7
mov edx, dword [edx]
mov eax, dword [0x101e9ed4]
jmp 0x10106530
lea eax, [ebp - 0x10280]
mov ecx, esi
push eax
call fcn.10106dc0
mov ecx, edi
mov dword [ebp - 0x10018], 0
xor eax, eax
mov dword [ebp - 0x10014], 7
mov word [ebp - 0x10028], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10106621
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10028]
call fcn.10001c20
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10018]
test ecx, ecx
je 0x1010667c
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1010667c
push 1
push 0x101a4ae8
lea ecx, [ebp - 0x10028]
call fcn.10001d30
cmp byte [ebp + 0xc], 0
je 0x101066ad
lea eax, [ebp - 0x10280]
push 0x5c
push eax
call fcn.1014ee00
add esp, 8
test eax, eax
je 0x101066ad
inc eax
push eax
lea eax, [ebp - 0x10280]
push 0x105
push eax
call fcn.1015e0e3
add esp, 0xc
lea ecx, [ebp - 0x10280]
mov dword [ebp - 0x1028c], 0
mov dword [ebp - 0x10288], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1029c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101066d1
sub ecx, edx
lea eax, [ebp - 0x10280]
push ecx
push eax
lea ecx, [ebp - 0x1029c]
call fcn.100040c0
push ecx
lea edx, [ebp - 0x1029c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10044]
call fcn.100faf70
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10288]
cmp edx, 0x10
jb 0x10106744
mov ecx, dword [ebp - 0x1029c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1010673a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10106cbc
push edx
push ecx
call fcn.1014d535
add esp, 8
cmp dword [ebp - 0x10030], 8
lea eax, [ebp - 0x10044]
push dword [ebp - 0x10034]
cmovae eax, dword [ebp - 0x10044]
lea ecx, [ebp - 0x10028]
push eax
mov dword [ebp - 0x1028c], 0
mov dword [ebp - 0x10288], 0xf
mov byte [ebp - 0x1029c], 0
call fcn.10001d30
cmp ebx, 0xffffffff
lea eax, [ebp - 0x10028]
cmove ebx, dword [ebp - 0x10054]
cmp dword [ebp - 0x10014], 8
cmovae eax, dword [ebp - 0x10028]
push eax
call fcn.10165232
add esp, 4
mov edi, eax
push 0x5c
push edi
call fcn.1015126b
add esp, 8
mov byte [ebp - 0x10281], 0
test eax, eax
je 0x101067d7
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.10106f50
mov byte [ebp - 0x10281], al
push edi
call fcn.101586be
add esp, 4
cmp byte [ebp - 0x10281], 0
jne 0x101068d4
cmp dword [esi + 0x248], 0
je 0x1010681b
lea ecx, [ebp - 0x102b4]
call fcn.100e5d90
mov edi, eax
mov byte [ebp - 4], 7
cmp dword [edi + 0x14], 8
jb 0x1010680f
mov edi, dword [edi]
mov eax, dword [esi + 0x248]
push edi
jmp 0x101068b5
cmp dword [0x101e9ed0], 0
je 0x10106889
lea ecx, [ebp - 0x102b4]
call fcn.100e5d90
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 8
jb 0x1010683d
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push ecx
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_CreateFilePath:__s.__s
push 0x101a4aec
push 0x101a4aec
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x101e9ed0]
add esp, 0x20
lea ecx, [ebp - 0x102b4]
call fcn.10001bc0
xor bl, bl
jmp 0x10106c9f
cmp dword [0x101e9ed4], 0
je 0x10106abd
lea ecx, [ebp - 0x102b4]
call fcn.100e5d90
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 8
jb 0x101068af
mov esi, dword [esi]
mov eax, dword [0x101e9ed4]
push esi
cmp dword [ebp - 0x10014], 8
lea edx, [ebp - 0x10028]
cmovae edx, dword [ebp - 0x10028]
push edx
push str.Failed_to_CreateFilePath:__s.__s
jmp 0x10106a9d
mov cl, byte [ebp - 0x1004c]
test cl, cl
je 0x10106909
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
test ebx, ebx
je 0x10106909
cmp ebx, 0xffffffff
je 0x10106909
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov cl, byte [ebp - 0x1004c]
cmp dword [ebp - 0x10030], 8
lea eax, [ebp - 0x10044]
lea edi, [esi + 0x18]
mov dword [esi + 0x1c], 0
cmovae eax, dword [ebp - 0x10044]
cmp dword [ebp - 0x10014], 8
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
mov dword [esi + 0x28], eax
xor eax, eax
test cl, cl
mov byte [esi + 0x2c], cl
push edi
setne al
lea eax, [eax*2 + 1]
mov dword [edi], eax
mov eax, dword [esi + 0x30]
call eax
add esp, 4
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [eax - 1]
cmp ecx, 1
ja 0x1010697b
cmp eax, 2
jmp 0x10106c9c
cmp byte [ebp - 0x1004c], 0
je 0x1010698b
mov bl, 1
jmp 0x10106c9f
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push 0
cmovae eax, dword [ebp - 0x10028]
push ebx
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10106ac4
cmp dword [esi + 0x248], 0
je 0x101069ed
lea ecx, [ebp - 0x102b4]
call fcn.100e5d90
mov edi, eax
mov byte [ebp - 4], 0xa
cmp dword [edi + 0x14], 8
jb 0x101069e1
mov edi, dword [edi]
mov eax, dword [esi + 0x248]
push edi
jmp 0x10106a83
cmp dword [0x101e9ed0], 0
je 0x10106a5b
lea ecx, [ebp - 0x102b4]
call fcn.100e5d90
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [ecx + 0x14], 8
jb 0x10106a0f
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push ecx
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Cannot_open_file__s_for_writing:__s
push 0x101a4aec
push 0x101a4aec
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x101e9ed0]
add esp, 0x20
lea ecx, [ebp - 0x102b4]
call fcn.10001bc0
xor bl, bl
jmp 0x10106c9f
cmp dword [0x101e9ed4], 0
je 0x10106abd
lea ecx, [ebp - 0x102b4]
call fcn.100e5d90
mov esi, eax
mov byte [ebp - 4], 0xc
cmp dword [esi + 0x14], 8
jb 0x10106a7d
mov esi, dword [esi]
mov eax, dword [0x101e9ed4]
push esi
cmp dword [ebp - 0x10014], 8
lea edx, [ebp - 0x10028]
cmovae edx, dword [ebp - 0x10028]
push edx
push str.Cannot_open_file__s_for_writing:__s
mov ecx, dword [eax]
push str.UnzipHandler
push 0x101a4aec
push 0x32
push eax
call dword [ecx + 0x34]
add esp, 0x1c
lea ecx, [ebp - 0x102b4]
call fcn.10001bc0
xor bl, bl
jmp 0x10106c9f
push dword [esi + 0x240]
mov ecx, dword [esi + 8]
sub esp, 8
call fcn.1010be80
add esp, 0xc
test eax, eax
je 0x10106b7e
mov edx, dword [esi + 0x248]
test edx, edx
jne 0x10106b41
mov ecx, dword [0x101e9ed0]
test ecx, ecx
je 0x10106b37
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
push 0x101a4aec
push 0x101a4aec
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x10106c9f
mov edx, dword [0x101e9ed4]
test edx, edx
je 0x10106b70
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, dword [edx]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
push str.UnzipHandler
push 0x101a4aec
push 0x32
push edx
call dword [ecx + 0x34]
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x10106c9f
mov dword [edi], 2
mov cl, byte [ebp + 0x14]
lea edx, [ebp - 0x10010]
mov edi, 0x40000
test cl, cl
je 0x10106b9c
mov edx, dword [esi + 0x244]
test cl, cl
mov eax, 0x10000
mov ecx, dword [esi + 8]
cmovne eax, edi
push eax
call fcn.1010c1e0
mov edi, eax
add esp, 4
test edi, edi
jle 0x10106c11
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x1002c]
push 0
push eax
mov dword [ebp - 0x1002c], edi
push edi
jne 0x10106bd7
lea eax, [ebp - 0x10010]
push eax
jmp 0x10106bdd
push dword [esi + 0x244]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10106c0e
mov eax, dword [ebp - 0x1002c]
cmp eax, edi
jne 0x10106c0e
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 0x30]
call eax
add esp, 4
test eax, eax
jne 0x10106c0e
test edi, edi
jle 0x10106c11
jmp 0x10106b84
or edi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 8]
call fcn.1010c4d0
test edi, edi
jne 0x10106c44
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push dword [ebp - 0x10068]
cmovae eax, dword [ebp - 0x10028]
push eax
call fcn.10106ff0
cmp dword [ebp - 0x10030], 8
lea eax, [ebp - 0x10044]
mov dword [esi + 0x18], 3
cmovae eax, dword [ebp - 0x10044]
cmp dword [ebp - 0x10014], 8
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x1c], 0
call eax
add esp, 4
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test edi, edi
sete bl
lea ecx, [ebp - 0x10044]
call fcn.10001bc0
lea ecx, [ebp - 0x10028]
call fcn.10001bc0
mov al, bl
jmp 0x10106559
call fcn.10158895
int3