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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70a790
mov eax, dword fs:[0]
push eax
mov eax, 0x1034c
call fcn.0067c520
mov eax, dword [0x82d084]
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 edi, ecx
cmp dword [edi + 8], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10330], ebx
je 0x66f2a1
cmp byte [ebp + 0x14], 0
je 0x66f22a
cmp dword [edi + 0x244], 0
jne 0x66f22a
mov eax, dword [edi + 0x248]
test eax, eax
jne 0x66f204
mov esi, dword [0x853a78]
test esi, esi
je 0x66f1f7
push 0x7e60d0
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
jmp 0x66f2a1
mov eax, dword [0x853a7c]
test eax, eax
je 0x66f2a1
mov esi, dword [eax]
push 0x7e60d0
push str.UnzipHandler
push 0x75b10c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x14
jmp 0x66f2a1
test ebx, ebx
jne 0x66f237
lea ebx, [edi + 0x34]
mov dword [ebp - 0x10330], ebx
push ebx
call fcn.006705a0
test al, al
jne 0x66f345
cmp dword [edi + 0x248], 0
je 0x66f2c1
lea ecx, [ebp - 0x10354]
call fcn.00611e20
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x66f26a
mov ecx, dword [ecx]
mov eax, dword [edi + 0x248]
mov esi, dword [eax]
push ecx
push ebx
push str.Failed_to_create_destinationFolder__s.___s
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.UnzipHandler
push 0x75b10c
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10354]
call fcn.0042fd70
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.0067ba01
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x853a78], 0
je 0x66f316
lea ecx, [ebp - 0x10354]
call fcn.00611e20
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x66f2e4
mov eax, dword [eax]
mov esi, dword [0x853a78]
mov ecx, esi
push eax
push ebx
push str.Failed_to_create_destinationFolder__s.___s
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x66f296
cmp dword [0x853a7c], 0
je 0x66f2a1
lea ecx, [ebp - 0x10354]
call fcn.00611e20
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 8
jb 0x66f33b
mov ecx, dword [ecx]
mov eax, dword [0x853a7c]
jmp 0x66f270
lea eax, [ebp - 0x10328]
mov ecx, edi
push eax
xor ebx, ebx
call fcn.00670410
mov edx, dword [ebp - 0x10330]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x10018], ebx
mov dword [ebp - 0x10014], 7
mov word [ebp - 0x10028], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x66f380
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10028]
call fcn.0042fe00
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10018]
test ecx, ecx
je 0x66f3db
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x66f3db
push 1
push 0x761550
lea ecx, [ebp - 0x10028]
call fcn.0042ff20
lea ecx, [ebp - 0x10328]
mov dword [ebp - 0x10344], 0
mov dword [ebp - 0x10340], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x10354], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x66f400
sub ecx, edx
lea eax, [ebp - 0x10328]
push ecx
push eax
lea ecx, [ebp - 0x10354]
call fcn.00430160
push ecx
lea edx, [ebp - 0x10354]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10060]
call fcn.006185e0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10340]
cmp edx, 0x10
jb 0x66f473
mov ecx, dword [ebp - 0x10354]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x66f469
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x670310
push edx
push ecx
call fcn.0067bc93
add esp, 8
cmp dword [ebp - 0x1004c], 8
lea eax, [ebp - 0x10060]
push dword [ebp - 0x10050]
cmovae eax, dword [ebp - 0x10060]
lea ecx, [ebp - 0x10028]
push eax
mov dword [ebp - 0x10344], 0
mov dword [ebp - 0x10340], 0xf
mov byte [ebp - 0x10354], 0
call fcn.0042ff20
mov eax, dword [ebp - 0x100fc]
cmp dword [ebp - 0x10014], 8
mov dword [ebp - 0x10330], eax
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
push eax
call fcn.006ab0eb
add esp, 4
mov esi, eax
push 0x5c
push esi
call fcn.006d0be9
add esp, 8
mov byte [ebp - 0x10329], 0
test eax, eax
je 0x66f508
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.006705a0
mov byte [ebp - 0x10329], al
push esi
call fcn.00690e3e
add esp, 4
cmp byte [ebp - 0x10329], 0
jne 0x66f617
cmp dword [edi + 0x248], 0
je 0x66f566
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 8
jb 0x66f540
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
mov eax, dword [edi + 0x248]
cmovae ecx, dword [ebp - 0x10028]
push edx
push ecx
push str.Failed_to_CreateFilePath:__s.__s
jmp 0x66fa2c
cmp dword [0x853a78], 0
je 0x66f5d1
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 8
jb 0x66f588
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x853a78]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Failed_to_CreateFilePath:__s.__s
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x66fa4b
cmp dword [0x853a7c], 0
je 0x66fa56
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x66f5f7
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
push edx
cmovae ecx, dword [ebp - 0x10028]
push ecx
push str.Failed_to_CreateFilePath:__s.__s
jmp 0x66fa27
mov cl, byte [ebp - 0x100f4]
test cl, cl
je 0x66f652
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov edx, dword [ebp - 0x10330]
cmovae eax, dword [ebp - 0x10028]
test edx, edx
je 0x66f652
cmp edx, 0xffffffff
je 0x66f652
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov cl, byte [ebp - 0x100f4]
cmp dword [ebp - 0x1004c], 8
lea eax, [ebp - 0x10060]
mov esi, dword [edi + 0x30]
lea edx, [edi + 0x18]
cmovae eax, dword [ebp - 0x10060]
cmp dword [ebp - 0x10014], 8
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
mov dword [edi + 0x28], eax
xor eax, eax
test cl, cl
mov byte [edi + 0x2c], cl
push edx
setne al
mov dword [edi + 0x1c], 0
mov ecx, esi
lea eax, [eax*2 + 1]
mov dword [edx], eax
call dword [0x747368]
call esi
mov esi, eax
mov dword [edi + 0x24], 0
add esp, 4
mov dword [edi + 0x28], 0
lea ecx, [esi - 1]
cmp ecx, 1
ja 0x66f6e7
lea ecx, [ebp - 0x10060]
call fcn.0042fd70
lea ecx, [ebp - 0x10028]
call fcn.0042fd70
cmp esi, 2
sete al
jmp 0x66f2a3
cmp byte [ebp - 0x100f4], 0
je 0x66f70d
lea ecx, [ebp - 0x10060]
call fcn.0042fd70
lea ecx, [ebp - 0x10028]
call fcn.0042fd70
mov al, 1
jmp 0x66f2a3
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push 0
push dword [ebp - 0x10330]
cmovae eax, dword [ebp - 0x10028]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10334], esi
cmp esi, 0xffffffff
jne 0x66f8bb
xor eax, eax
nop
add eax, 0x64
mov dword [ebp - 0x1002c], eax
cmp eax, 0x1f4
jge 0x66f935
cmp dword [edi + 0x248], 0
je 0x66f791
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov edx, eax
mov byte [ebp - 4], 0xa
cmp dword [edx + 0x14], 8
jb 0x66f786
mov edx, dword [edx]
mov eax, dword [edi + 0x248]
jmp 0x66f820
cmp dword [0x853a78], 0
je 0x66f7f9
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [ecx + 0x14], 8
jb 0x66f7b3
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x853a78]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Failed_to_open_file_:__s_with_code__s__retrying_
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x66f85a
cmp dword [0x853a7c], 0
je 0x66f86f
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 8
jb 0x66f81b
mov edx, dword [edx]
mov eax, dword [0x853a7c]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
mov esi, dword [eax]
cmovae ecx, dword [ebp - 0x10028]
push edx
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.Failed_to_open_file_:__s_with_code__s__retrying_
push str.UnzipHandler
push 0x75b10c
push 0xa
push eax
call dword [0x747368]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10044]
mov byte [ebp - 4], 6
call fcn.0042fd70
mov eax, dword [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push 0
push dword [ebp - 0x10330]
cmovae eax, dword [ebp - 0x10028]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
mov eax, dword [ebp - 0x1002c]
mov dword [ebp - 0x10334], esi
cmp esi, 0xffffffff
je 0x66f750
push dword [edi + 0x240]
mov ecx, dword [edi + 8]
sub esp, 8
call fcn.006713e0
add esp, 0xc
test eax, eax
je 0x66fad1
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x66fa76
mov esi, dword [0x853a78]
test esi, esi
je 0x66fa6c
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x66faaf
cmp esi, 0xffffffff
jne 0x66f8bb
cmp dword [edi + 0x248], 0
je 0x66f982
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov edx, eax
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x66f95c
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
mov eax, dword [edi + 0x248]
cmovae ecx, dword [ebp - 0x10028]
push edx
push ecx
push str.Cannot_open_file__s_for_writing:__s
jmp 0x66fa2c
cmp dword [0x853a78], 0
je 0x66f9ea
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov ecx, eax
mov byte [ebp - 4], 0xe
cmp dword [ecx + 0x14], 8
jb 0x66f9a4
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x853a78]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Cannot_open_file__s_for_writing:__s
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x66fa4b
cmp dword [0x853a7c], 0
je 0x66fa56
lea ecx, [ebp - 0x10044]
call fcn.00611e20
mov edx, eax
mov byte [ebp - 4], 0xf
cmp dword [edx + 0x14], 8
jb 0x66fa0c
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
push edx
cmovae ecx, dword [ebp - 0x10028]
push ecx
push str.Cannot_open_file__s_for_writing:__s
mov eax, dword [0x853a7c]
mov esi, dword [eax]
push str.UnzipHandler
push 0x75b10c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x747368]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10044]
call fcn.0042fd70
lea ecx, [ebp - 0x10060]
call fcn.0042fd70
lea ecx, [ebp - 0x10028]
jmp 0x66f29c
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x66faaf
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
mov esi, dword [ecx]
push str.UnzipHandler
push 0x75b10c
push 0x32
mov esi, dword [esi + 0x34]
push ecx
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x10060]
call fcn.0042fd70
lea ecx, [ebp - 0x10028]
jmp 0x66f29c
mov eax, dword [edi + 0x250]
test eax, eax
je 0x670139
cmp eax, 0xffffffff
je 0x670139
cmp eax, 1
jne 0x67027f
mov eax, dword [edi + 8]
test eax, eax
je 0x6700b6
mov eax, dword [eax + 0x9c]
test eax, eax
je 0x6700b6
mov ebx, dword [eax + 0x48]
sub ebx, dword [eax + 0x4c]
test ebx, ebx
jle 0x6700b6
lea eax, [ebx + 1]
push eax
call fcn.00695088
add esp, 4
mov dword [ebp - 0x10338], eax
test eax, eax
jne 0x66fb31
push esi
jmp 0x66fab5
mov ecx, dword [edi + 8]
mov edx, eax
push ebx
call fcn.00671a50
mov esi, dword [ebp - 0x10338]
add esp, 4
mov ecx, esi
mov dword [ebp - 0x10034], 0
mov dword [ebp - 0x10030], 0xf
mov byte [ebp - 0x10044], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x66fb65
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x10044]
call fcn.00430160
push 1
push esi
mov byte [ebp - 4], 0x10
call fcn.0067bc93
cmp dword [ebp - 0x10030], 0x10
lea eax, [ebp - 0x10044]
cmovae eax, dword [ebp - 0x10044]
push eax
call fcn.006a6131
add esp, 0xc
lea esi, [eax + 0x10000]
push esi
mov dword [ebp - 0x1002c], esi
call fcn.00695088
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10330], ebx
test ebx, ebx
jne 0x66fd8d
mov ecx, dword [edi + 0x248]
test ecx, ecx
je 0x66fc15
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ebx, dword [ebp - 0x1002c]
cmovae eax, dword [ebp - 0x10028]
mov esi, dword [ecx]
push ebx
push eax
push str.Failed_to_allocate_buffer_for_file__s_of_size__lu
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x75b10c
push 0x32
push ecx
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x66fc73
mov ebx, dword [0x853a78]
test ebx, ebx
je 0x66fc5f
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push esi
cmovae eax, dword [ebp - 0x10028]
mov ecx, ebx
push eax
push str.Failed_to_allocate_buffer_for_file__s_of_size__lu
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x747368]
call ebx
add esp, 0x20
jmp 0x66fc6d
mov ecx, dword [0x853a7c]
test ecx, ecx
jne 0x66fbd3
mov ebx, dword [ebp - 0x1002c]
xor esi, esi
push 0x1388
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
call fcn.00695088
mov ebx, eax
mov dword [ebp - 0x10330], eax
add esp, 4
test ebx, ebx
jne 0x66fd87
mov ebx, dword [ebp - 0x1002c]
inc esi
cmp esi, 0xc
jl 0x66fc75
mov eax, dword [edi + 0x248]
test eax, eax
jne 0x66fcec
mov esi, dword [0x853a78]
test esi, esi
je 0x66fce3
push str.Failed_memory_allocation_after_sleep_also
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
jmp 0x66fd10
mov eax, dword [0x853a7c]
test eax, eax
je 0x66fd10
mov esi, dword [eax]
push str.Failed_memory_allocation_after_sleep_also
push str.UnzipHandler
push 0x75b10c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x14
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x10030]
cmp edx, 0x10
jb 0x66fd56
mov ecx, dword [ebp - 0x10044]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x66fd4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x670315
push edx
push ecx
call fcn.0067bc93
add esp, 8
lea ecx, [ebp - 0x10060]
mov dword [ebp - 0x10034], 0
mov dword [ebp - 0x10030], 0xf
mov byte [ebp - 0x10044], 0
call fcn.0042fd70
lea ecx, [ebp - 0x10028]
jmp 0x66f29c
mov esi, dword [ebp - 0x1002c]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10030]
cmp edx, 0x10
jb 0x66fdcb
mov ecx, dword [ebp - 0x10044]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x66fdc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x670315
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov edx, dword [edi + 0x244]
mov ecx, dword [edi + 8]
push 1
mov dword [ebp - 0x10034], 0
mov dword [ebp - 0x10030], 0xf
mov byte [ebp - 0x10044], 0
mov dword [edi + 0x18], 2
call fcn.00671750
add esp, 4
cmp eax, 1
je 0x66fe30
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call fcn.00690e3e
add esp, 4
lea ecx, [ebp - 0x10060]
call fcn.0042fd70
lea ecx, [ebp - 0x10028]
jmp 0x66f29c
mov eax, dword [edi + 0x244]
mov dword [ebp - 0x100dc], 0
mov dword [ebp - 0x100e0], 0
push ecx
mov dl, byte [eax]
lea ecx, [ebp - 0x100f0]
call fcn.00671ce0
mov dword [ebp - 0x100c8], esi
add esp, 4
xor esi, esi
mov dword [ebp - 0x100dc], ebx
mov dword [ebp - 0x10078], 0
xor ebx, ebx
mov dword [ebp - 0x10070], 1
mov dword [ebp - 0x1006c], 1
mov dword [ebp - 0x10068], 1
mov dword [ebp - 0x100cc], 0
mov dword [ebp - 0x100a4], 1
mov dword [ebp - 0x100a8], 0
mov dword [ebp - 0x10098], 0
mov dword [ebp - 0x100c4], 0
mov dword [ebp - 0x100c0], 0
mov dword [ebp - 0x100a0], 1
mov dword [ebp - 0x10338], esi
nop
mov edx, dword [edi + 0x244]
mov ecx, dword [edi + 8]
push 0x10000
mov dword [ebp - 0x10048], ebx
call fcn.00671750
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x670006
mov edx, dword [ebp - 0x1002c]
lea eax, [ebp - 0x10358]
mov esi, dword [ebp - 0x100cc]
push eax
push ecx
lea eax, [ebp - 0x1033c]
mov dword [ebp - 0x1033c], ebx
push eax
push dword [edi + 0x244]
lea ecx, [ebp - 0x100f0]
call fcn.00671d80
add esp, 0x10
test eax, eax
jne 0x66ffff
cmp dword [ebp - 0x10358], 1
mov eax, dword [ebp - 0x100c4]
mov ecx, dword [ebp - 0x100cc]
mov dword [ebp - 0x10338], eax
jne 0x66ff66
cmp eax, ecx
jne 0x66ffff
cmp dword [ebp - 0x1033c], 0
jne 0x66ff77
cmp esi, ecx
je 0x66ffff
mov esi, dword [edi + 0x30]
mov ebx, eax
sub eax, dword [ebp - 0x10048]
mov ecx, esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
push eax
call dword [0x747368]
call esi
add esp, 4
test eax, eax
je 0x66fee0
or ebx, 0xffffffff
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x670045
mov esi, dword [0x853a78]
test esi, esi
je 0x67003b
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push str.some_error_for_file__s
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x67007e
mov ebx, 0xffffff99
jmp 0x66ffa1
jne 0x66ffa1
mov esi, dword [ebp - 0x10338]
lea eax, [ebp - 0x10048]
push 0
push eax
push esi
push dword [ebp - 0x10330]
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x670036
cmp dword [ebp - 0x10048], esi
je 0x67007e
or ebx, 0xffffffff
jmp 0x67007e
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x67007e
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.some_error_for_file__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x75b10c
push 0x32
push ecx
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
push dword [ebp - 0x100e0]
mov esi, dword [0x82dbfc]
mov ecx, esi
push 0x82dbf8
call dword [0x747368]
call esi
push dword [ebp - 0x10330]
mov dword [ebp - 0x100e0], 0
call fcn.00690e3e
add esp, 0xc
jmp 0x67027f
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x67011a
mov esi, dword [0x853a78]
test esi, esi
je 0x67010c
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_get_extra_local_size_for_file__s
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x66faaf
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x66faaf
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_get_extra_local_size_for_file__s
jmp 0x66fa90
mov dword [edi + 0x18], 2
mov cl, byte [ebp + 0x14]
lea edx, [ebp - 0x10010]
mov ebx, 0x40000
test cl, cl
je 0x670158
mov edx, dword [edi + 0x244]
test cl, cl
mov eax, 0x10000
mov ecx, dword [edi + 8]
cmovne eax, ebx
push eax
call fcn.00671750
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x67027f
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x1002c]
push 0
push eax
mov dword [ebp - 0x1002c], ebx
push ebx
jne 0x670197
lea eax, [ebp - 0x10010]
push eax
jmp 0x67019d
push dword [edi + 0x244]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x6701e4
mov eax, dword [ebp - 0x1002c]
cmp eax, ebx
jne 0x6701e4
mov esi, dword [edi + 0x30]
mov ecx, esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
push eax
call dword [0x747368]
call esi
add esp, 4
test eax, eax
jne 0x67027c
test ebx, ebx
jle 0x67027f
mov esi, dword [ebp - 0x10334]
jmp 0x670140
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x670242
mov esi, dword [0x853a78]
test esi, esi
je 0x670238
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push ebx
push str.Error__d_in_writing_to_file_:__s
push 0x75b10c
push 0x75b10c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x67027c
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x67027c
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push ebx
mov esi, dword [esi + 0x34]
push str.Error__d_in_writing_to_file_:__s
push str.UnzipHandler
push 0x75b10c
push 0x32
push ecx
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
or ebx, 0xffffffff
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [edi + 8]
call fcn.00671af0
cmp dword [ebp - 0x1004c], 8
lea eax, [ebp - 0x10060]
mov esi, dword [edi + 0x30]
mov ecx, esi
cmovae eax, dword [ebp - 0x10060]
cmp dword [ebp - 0x10014], 8
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
mov dword [edi + 0x28], eax
lea eax, [edi + 0x18]
push eax
mov dword [edi + 0x1c], 0
mov dword [eax], 3
call dword [0x747368]
call esi
add esp, 4
mov dword [edi + 0x24], 0
lea ecx, [ebp - 0x10060]
mov dword [edi + 0x28], 0
call fcn.0042fd70
lea ecx, [ebp - 0x10028]
call fcn.0042fd70
test ebx, ebx
sete al
jmp 0x66f2a3
call fcn.00691015
call fcn.00691015
int3