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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10241cf5
mov eax, dword fs:[0]
push eax
mov eax, 0x1034c
call fcn.101d0ca0
mov eax, dword [0x102e91c0]
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 - 0x1032c], ebx
jne 0x101badfa
mov eax, dword [edi + 0x248]
test eax, eax
jne 0x101badf3
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bade6
push str.NULL_unzip_File._OpenZip_not_called_successfully.
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
jmp 0x101bc07f
mov eax, dword [0x102eec48]
test eax, eax
je 0x101baf93
push str.NULL_unzip_File._OpenZip_not_called_successfully.
jmp 0x101bae62
cmp byte [ebp + 0x14], 0
je 0x101bae88
cmp dword [edi + 0x244], 0
jne 0x101bae88
mov eax, dword [edi + 0x248]
test eax, eax
jne 0x101bae5d
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bae50
push str.Central_buffer_has_not_been_allocated.
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
jmp 0x101bc07f
mov eax, dword [0x102eec48]
test eax, eax
je 0x101baf93
push str.Central_buffer_has_not_been_allocated.
mov esi, dword [eax]
push str.UnzipHandler
push 0x1025b044
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
xor al, al
jmp 0x101bc07f
test ebx, ebx
jne 0x101bae95
lea ebx, [edi + 0x34]
mov dword [ebp - 0x1032c], ebx
push ebx
call fcn.101bc330
test al, al
jne 0x101baf9a
cmp dword [edi + 0x248], 0
je 0x101baed3
lea ecx, [ebp - 0x10354]
call fcn.1016dc00
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x101baec8
mov ecx, dword [ecx]
mov eax, dword [edi + 0x248]
jmp 0x101baf62
cmp dword [0x102eec44], 0
je 0x101baf38
lea ecx, [ebp - 0x10354]
call fcn.1016dc00
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x101baef6
mov eax, dword [eax]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push ebx
push str.Failed_to_create_destinationFolder__s.___s
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x20
lea ecx, [ebp - 0x10354]
call fcn.1000ae90
xor al, al
jmp 0x101bc07f
cmp dword [0x102eec48], 0
je 0x101baf93
lea ecx, [ebp - 0x10354]
call fcn.1016dc00
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 8
jb 0x101baf5d
mov ecx, dword [ecx]
mov eax, dword [0x102eec48]
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 0x1025b044
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10354]
call fcn.1000ae90
xor al, al
jmp 0x101bc07f
lea eax, [ebp - 0x10328]
mov ecx, edi
push eax
xor ebx, ebx
call fcn.101bc1a0
mov edx, dword [ebp - 0x1032c]
mov ecx, edx
mov dword [ebp - 0x1002c], ebx
mov dword [ebp - 0x1001c], ebx
mov dword [ebp - 0x10018], ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101bafc7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1002c]
call fcn.1000aef0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x1001c]
test ecx, ecx
je 0x101bb022
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
cmovae eax, dword [ebp - 0x1002c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x101bb022
push 1
push 0x10263a50
lea ecx, [ebp - 0x1002c]
call fcn.10010650
lea ecx, [ebp - 0x10328]
mov dword [ebp - 0x10354], 0
mov dword [ebp - 0x10344], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x10340], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101bb050
sub ecx, edx
lea eax, [ebp - 0x10328]
push ecx
push eax
lea ecx, [ebp - 0x10354]
call fcn.10010c60
push ecx
lea edx, [ebp - 0x10354]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10060]
call fcn.10145240
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10340]
cmp ecx, 0x10
jb 0x101bb0c3
mov edx, dword [ebp - 0x10354]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101bb0b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101bc09d
push ecx
push edx
call fcn.101d02bd
add esp, 8
cmp dword [ebp - 0x1004c], 8
lea eax, [ebp - 0x10060]
push dword [ebp - 0x10050]
cmovae eax, dword [ebp - 0x10060]
lea ecx, [ebp - 0x1002c]
push eax
mov dword [ebp - 0x10344], 0
mov dword [ebp - 0x10340], 0xf
mov byte [ebp - 0x10354], 0
call fcn.10010650
mov eax, dword [ebp - 0x100fc]
cmp dword [ebp - 0x10018], 8
mov dword [ebp - 0x1032c], eax
lea eax, [ebp - 0x1002c]
cmovae eax, dword [ebp - 0x1002c]
push eax
call fcn.101eff3d
add esp, 4
mov esi, eax
push 0x5c
push esi
call fcn.10218e87
add esp, 8
mov byte [ebp - 0x1032d], 0
test eax, eax
je 0x101bb158
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.101bc330
mov byte [ebp - 0x1032d], al
push esi
call fcn.101dbd83
add esp, 4
cmp byte [ebp - 0x1032d], 0
jne 0x101bb267
cmp dword [edi + 0x248], 0
je 0x101bb1b6
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 8
jb 0x101bb190
mov edx, dword [edx]
cmp dword [ebp - 0x10018], 8
lea ecx, [ebp - 0x1002c]
mov eax, dword [edi + 0x248]
cmovae ecx, dword [ebp - 0x1002c]
push edx
push ecx
push str.Failed_to_CreateFilePath:__s.__s
jmp 0x101bb673
cmp dword [0x102eec44], 0
je 0x101bb221
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 8
jb 0x101bb1d8
mov ecx, dword [ecx]
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [0x102eec44]
cmovae eax, dword [ebp - 0x1002c]
push ecx
push eax
push str.Failed_to_CreateFilePath:__s.__s
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x20
jmp 0x101bb692
cmp dword [0x102eec48], 0
je 0x101bb69d
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x101bb247
mov edx, dword [edx]
cmp dword [ebp - 0x10018], 8
lea ecx, [ebp - 0x1002c]
push edx
cmovae ecx, dword [ebp - 0x1002c]
push ecx
push str.Failed_to_CreateFilePath:__s.__s
jmp 0x101bb66e
mov cl, byte [ebp - 0x100f4]
test cl, cl
je 0x101bb2a2
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov edx, dword [ebp - 0x1032c]
cmovae eax, dword [ebp - 0x1002c]
test edx, edx
je 0x101bb2a2
cmp edx, 0xffffffff
je 0x101bb2a2
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 - 0x10018], 8
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x1002c]
cmovae eax, dword [ebp - 0x1002c]
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 [0x1024852c]
call esi
mov esi, eax
mov dword [edi + 0x24], 0
mov ecx, esi
mov dword [edi + 0x28], 0
add esp, 4
sub ecx, 1
je 0x101bc063
sub ecx, 1
je 0x101bc063
cmp byte [ebp - 0x100f4], 0
je 0x101bb348
lea ecx, [ebp - 0x10060]
call fcn.1000ae90
lea ecx, [ebp - 0x1002c]
call fcn.1000ae90
mov al, 1
jmp 0x101bc07f
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
push 0
push dword [ebp - 0x1032c]
cmovae eax, dword [ebp - 0x1002c]
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 0x101bb4fb
xor eax, eax
nop dword [eax]
add eax, 0x64
mov dword [ebp - 0x10014], eax
cmp eax, 0x1f4
jge 0x101bb581
cmp dword [edi + 0x248], 0
je 0x101bb3d1
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov edx, eax
mov byte [ebp - 4], 0xa
cmp dword [edx + 0x14], 8
jb 0x101bb3c6
mov edx, dword [edx]
mov eax, dword [edi + 0x248]
jmp 0x101bb460
cmp dword [0x102eec44], 0
je 0x101bb439
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [ecx + 0x14], 8
jb 0x101bb3f3
mov ecx, dword [ecx]
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [0x102eec44]
cmovae eax, dword [ebp - 0x1002c]
push ecx
push eax
push str.Failed_to_open_file_:__s_with_code__s__retrying_
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x20
jmp 0x101bb49a
cmp dword [0x102eec48], 0
je 0x101bb4af
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 8
jb 0x101bb45b
mov edx, dword [edx]
mov eax, dword [0x102eec48]
cmp dword [ebp - 0x10018], 8
lea ecx, [ebp - 0x1002c]
mov esi, dword [eax]
cmovae ecx, dword [ebp - 0x1002c]
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 0x1025b044
push 0xa
push eax
call dword [0x1024852c]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10044]
mov byte [ebp - 4], 6
call fcn.1000ae90
mov eax, dword [ebp - 0x10014]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
push 0
push dword [ebp - 0x1032c]
cmovae eax, dword [ebp - 0x1002c]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10334], eax
mov eax, dword [ebp - 0x10014]
cmp esi, 0xffffffff
je 0x101bb390
push dword [edi + 0x240]
mov ecx, dword [edi + 8]
sub esp, 8
call fcn.101bfac0
add esp, 0xc
test eax, eax
je 0x101bb70b
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x101bb6c4
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bb6ba
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov ecx, esi
cmovae eax, dword [ebp - 0x1002c]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x1c
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101bb69d
cmp dword [edi + 0x248], 0
je 0x101bb5c9
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov edx, eax
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x101bb5a3
mov edx, dword [edx]
cmp dword [ebp - 0x10018], 8
lea ecx, [ebp - 0x1002c]
mov eax, dword [edi + 0x248]
cmovae ecx, dword [ebp - 0x1002c]
push edx
push ecx
push str.Cannot_open_file__s_for_writing:__s
jmp 0x101bb673
cmp dword [0x102eec44], 0
je 0x101bb631
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov ecx, eax
mov byte [ebp - 4], 0xe
cmp dword [ecx + 0x14], 8
jb 0x101bb5eb
mov ecx, dword [ecx]
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [0x102eec44]
cmovae eax, dword [ebp - 0x1002c]
push ecx
push eax
push str.Cannot_open_file__s_for_writing:__s
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x20
jmp 0x101bb692
cmp dword [0x102eec48], 0
je 0x101bb69d
lea ecx, [ebp - 0x10044]
call fcn.1016dc00
mov ecx, eax
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x1002c]
cmp dword [ebp - 0x10018], 8
cmovae edx, dword [ebp - 0x1002c]
cmp dword [ecx + 0x14], 8
jb 0x101bb667
mov ecx, dword [ecx]
push ecx
push edx
push str.Cannot_open_file__s_for_writing:__s
mov eax, dword [0x102eec48]
mov esi, dword [eax]
push str.UnzipHandler
push 0x1025b044
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x1024852c]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10044]
call fcn.1000ae90
lea ecx, [ebp - 0x10060]
call fcn.1000ae90
lea ecx, [ebp - 0x1002c]
call fcn.1000ae90
xor al, al
jmp 0x101bc07f
mov ecx, dword [0x102eec48]
test ecx, ecx
je 0x101bb6fd
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x1002c]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x1025b044
push 0x32
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101bb69d
mov eax, dword [edi + 0x250]
test eax, eax
je 0x101bbe05
cmp eax, 0xffffffff
je 0x101bbe05
cmp eax, 1
jne 0x101bbfd8
mov eax, dword [edi + 8]
test eax, eax
je 0x101bbd4f
mov eax, dword [eax + 0x9c]
test eax, eax
je 0x101bbd4f
mov ebx, dword [eax + 0x48]
sub ebx, dword [eax + 0x4c]
test ebx, ebx
jle 0x101bbd4f
lea eax, [ebx + 1]
push eax
call fcn.101dc6a1
mov edx, eax
add esp, 4
mov dword [ebp - 0x10014], edx
test edx, edx
jne 0x101bb776
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101bb69d
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x101bb7ef
mov ecx, dword [ecx + 0x9c]
mov dword [ebp - 0x10338], ecx
test ecx, ecx
je 0x101bb7ef
mov eax, dword [ecx + 0x48]
mov esi, dword [ecx + 0x4c]
sub eax, esi
cmp ebx, eax
cmova ebx, eax
test ebx, ebx
je 0x101bb7ef
mov eax, dword [ecx + 0x44]
push 0
add eax, esi
mov esi, dword [ecx + 0x70]
push eax
push dword [ecx + 0x80]
push dword [ecx + 0x7c]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x10
test eax, eax
jne 0x101bb7e9
mov esi, dword [ebp - 0x10338]
push ebx
push dword [ebp - 0x10014]
push dword [esi + 0x80]
push dword [esi + 0x7c]
mov esi, dword [esi + 0x64]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x10
mov edx, dword [ebp - 0x10014]
mov ecx, edx
mov dword [ebp - 0x10044], 0
mov dword [ebp - 0x10034], 0
mov dword [ebp - 0x10030], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101bb812
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x10044]
call fcn.10010c60
mov byte [ebp - 4], 0x10
push 1
push dword [ebp - 0x10014]
call fcn.101d02bd
cmp dword [ebp - 0x10030], 0x10
lea eax, [ebp - 0x10044]
cmovae eax, dword [ebp - 0x10044]
push eax
call fcn.101eb834
add esp, 0xc
lea esi, [eax + 0x10000]
push esi
mov dword [ebp - 0x10014], esi
call fcn.101dc6a1
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1032c], ebx
test ebx, ebx
jne 0x101bba37
mov ecx, dword [edi + 0x248]
test ecx, ecx
je 0x101bb8c7
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov ebx, dword [ebp - 0x10014]
cmovae eax, dword [ebp - 0x1002c]
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 0x1025b044
push 0x32
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x101bb925
mov ebx, dword [0x102eec44]
test ebx, ebx
je 0x101bb911
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
push esi
cmovae eax, dword [ebp - 0x1002c]
mov ecx, ebx
push eax
push str.Failed_to_allocate_buffer_for_file__s_of_size__lu
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call ebx
add esp, 0x20
jmp 0x101bb91f
mov ecx, dword [0x102eec48]
test ecx, ecx
jne 0x101bb885
mov ebx, dword [ebp - 0x10014]
xor esi, esi
nop word [eax + eax]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.101dc6a1
mov ebx, eax
mov dword [ebp - 0x1032c], eax
add esp, 4
test ebx, ebx
jne 0x101bba31
mov ebx, dword [ebp - 0x10014]
inc esi
cmp esi, 0xc
jl 0x101bb930
mov eax, dword [edi + 0x248]
test eax, eax
jne 0x101bb9a7
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bb99e
push str.Failed_memory_allocation_after_sleep_also
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x101bb9cb
mov eax, dword [0x102eec48]
test eax, eax
je 0x101bb9cb
mov esi, dword [eax]
push str.Failed_memory_allocation_after_sleep_also
push str.UnzipHandler
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10030]
cmp ecx, 0x10
jb 0x101bba11
mov edx, dword [ebp - 0x10044]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101bba07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101bc0a2
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov dword [ebp - 0x10034], 0
mov dword [ebp - 0x10030], 0xf
mov byte [ebp - 0x10044], 0
jmp 0x101bb69d
mov esi, dword [ebp - 0x10014]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10030]
cmp ecx, 0x10
jb 0x101bba75
mov edx, dword [ebp - 0x10044]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101bba6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101bc0a2
push ecx
push edx
call fcn.101d02bd
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.101bfe20
add esp, 4
cmp eax, 1
je 0x101bbac9
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.101dbd83
add esp, 4
jmp 0x101bb69d
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.10141ef0
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 dword [eax + eax]
mov edx, dword [edi + 0x244]
mov ecx, dword [edi + 8]
push 0x10000
mov dword [ebp - 0x10048], ebx
call fcn.101bfe20
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x101bbc9f
mov edx, dword [ebp - 0x10014]
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.10141fa0
add esp, 0x10
test eax, eax
jne 0x101bbc98
cmp dword [ebp - 0x10358], 1
mov eax, dword [ebp - 0x100c4]
mov ecx, dword [ebp - 0x100cc]
mov dword [ebp - 0x10338], eax
jne 0x101bbc06
cmp eax, ecx
jne 0x101bbc98
cmp dword [ebp - 0x1033c], 0
jne 0x101bbc17
cmp esi, ecx
je 0x101bbc98
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 [0x1024852c]
call esi
add esp, 4
test eax, eax
je 0x101bbb80
or ebx, 0xffffffff
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x101bbcde
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bbcd4
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov ecx, esi
cmovae eax, dword [ebp - 0x1002c]
push eax
push str.some_error_for_file__s
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x101bbd17
mov ebx, 0xffffff99
jmp 0x101bbc41
jne 0x101bbc41
mov esi, dword [ebp - 0x10338]
lea eax, [ebp - 0x10048]
push 0
push eax
push esi
push dword [ebp - 0x1032c]
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x101bbccf
cmp dword [ebp - 0x10048], esi
je 0x101bbd17
or ebx, 0xffffffff
jmp 0x101bbd17
mov ecx, dword [0x102eec48]
test ecx, ecx
je 0x101bbd17
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x1002c]
push eax
push str.some_error_for_file__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x1025b044
push 0x32
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push dword [ebp - 0x100e0]
mov esi, dword [0x102e9ecc]
mov ecx, esi
push 0x102e9ec8
call dword [0x1024852c]
call esi
push dword [ebp - 0x1032c]
mov dword [ebp - 0x100e0], 0
call fcn.101dbd83
add esp, 0xc
jmp 0x101bbfd8
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x101bbdbb
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bbdb1
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov ecx, esi
cmovae eax, dword [ebp - 0x1002c]
push eax
push str.Failed_to_get_extra_local_size_for_file__s
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x1c
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101bb69d
mov ecx, dword [0x102eec48]
test ecx, ecx
je 0x101bbdf4
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x1002c]
push eax
push str.Failed_to_get_extra_local_size_for_file__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x1025b044
push 0x32
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101bb69d
mov dword [edi + 0x18], 2
lea esi, [edi + 0x244]
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x1032c], esi
jne 0x101bbe2b
lea edx, [ebp - 0x10010]
mov eax, 0x10000
jmp 0x101bbe42
mov edx, dword [edi + 0x244]
lea esi, [edi + 0x244]
mov dword [ebp - 0x1032c], esi
mov eax, 0x40000
mov ecx, dword [edi + 8]
push eax
call fcn.101bfe20
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x101bbfd8
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x10014]
push 0
push eax
mov dword [ebp - 0x10014], 0
push ebx
jne 0x101bbea1
lea eax, [ebp - 0x10010]
push eax
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x10014]
test eax, eax
je 0x101bbee7
cmp ecx, ebx
jne 0x101bbee7
lea eax, [edi + 0x244]
mov dword [ebp - 0x1032c], eax
jmp 0x101bbebd
push dword [esi]
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x10014]
test eax, eax
je 0x101bbee7
cmp ecx, ebx
jne 0x101bbee7
mov esi, dword [edi + 0x30]
lea eax, [edi + 0x18]
mov dword [edi + 0x1c], ecx
mov ecx, esi
push eax
call dword [0x1024852c]
call esi
add esp, 4
test eax, eax
jne 0x101bbfd5
mov esi, dword [ebp - 0x1032c]
jmp 0x101bbe12
mov esi, dword [edi + 0x248]
test esi, esi
je 0x101bbf2d
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [esi]
cmovae eax, dword [ebp - 0x1002c]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_Error__d_in_writing_to_file_:__s___BytestoWrite__lu___BytesWritten__lu
push str.UnzipHandler
push 0x1025b044
push 0x32
push dword [edi + 0x248]
jmp 0x101bbfc5
cmp dword [0x102eec44], 0
je 0x101bbf84
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
push ecx
cmovae eax, dword [ebp - 0x1002c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.WriteFile_Error__d_in_writing_to_file_:__s___BytestoWrite__lu___BytesWritten__lu
push 0x1025b044
push 0x1025b044
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x28
jmp 0x101bbfd5
mov esi, dword [0x102eec48]
test esi, esi
je 0x101bbfd5
cmp dword [ebp - 0x10018], 8
lea eax, [ebp - 0x1002c]
mov esi, dword [esi]
cmovae eax, dword [ebp - 0x1002c]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_Error__d_in_writing_to_file_:__s___BytestoWrite__lu___BytesWritten__lu
push str.UnzipHandler
push 0x1025b044
push 0x32
push dword [0x102eec48]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x24
or ebx, 0xffffffff
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
call fcn.101c0100
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 - 0x10018], 8
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x1002c]
cmovae eax, dword [ebp - 0x1002c]
mov dword [edi + 0x28], eax
lea eax, [edi + 0x18]
push eax
mov dword [edi + 0x1c], 0
mov dword [eax], 3
call dword [0x1024852c]
call esi
add esp, 4
mov dword [edi + 0x24], 0
lea ecx, [ebp - 0x10060]
mov dword [edi + 0x28], 0
call fcn.1000ae90
lea ecx, [ebp - 0x1002c]
call fcn.1000ae90
test ebx, ebx
jmp 0x101bc07c
lea ecx, [ebp - 0x10060]
call fcn.1000ae90
lea ecx, [ebp - 0x1002c]
call fcn.1000ae90
cmp esi, 2
sete 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.101cff65
mov esp, ebp
pop ebp
ret 0x10
call fcn.101dc0ba
call fcn.101dc0ba
int3