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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c72e5
mov eax, dword fs:[0]
push eax
mov eax, 0x1034c
call fcn.00691730
mov eax, dword [0x7ca00c]
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 0x6383da
test ebx, ebx
jne 0x638370
lea ebx, [edi + 0x34]
mov dword [ebp - 0x10330], ebx
push ebx
call fcn.00639540
test al, al
jne 0x63847e
cmp dword [edi + 0x248], 0
je 0x6383fa
lea ecx, [ebp - 0x10350]
call fcn.005ddfe0
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x6383a3
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 0x701e7c
push 0x32
push eax
call dword [0x6ef350]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10350]
call fcn.00428770
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.0063de71
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x7eb9f0], 0
je 0x63844f
lea ecx, [ebp - 0x10350]
call fcn.005ddfe0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x63841d
mov eax, dword [eax]
mov esi, dword [0x7eb9f0]
mov ecx, esi
push eax
push ebx
push str.Failed_to_create_destinationFolder__s.___s
push 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0x32
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x6383cf
cmp dword [0x7eb9f4], 0
je 0x6383da
lea ecx, [ebp - 0x10350]
call fcn.005ddfe0
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 8
jb 0x638474
mov ecx, dword [ecx]
mov eax, dword [0x7eb9f4]
jmp 0x6383a9
lea eax, [ebp - 0x10328]
mov ecx, edi
push eax
xor ebx, ebx
call fcn.006393b0
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6384b2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10028]
call fcn.00428800
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10018]
test ecx, ecx
je 0x63850d
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x63850d
push 1
push 0x702ca8
lea ecx, [ebp - 0x10028]
call fcn.00428920
lea ecx, [ebp - 0x10328]
mov dword [ebp - 0x10340], 0
mov dword [ebp - 0x1033c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x10350], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x638531
sub ecx, edx
lea eax, [ebp - 0x10328]
push ecx
push eax
lea ecx, [ebp - 0x10350]
call fcn.00428b60
push ecx
lea edx, [ebp - 0x10350]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10060]
call fcn.005e4610
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1033c]
cmp edx, 0x10
jb 0x6385a4
mov ecx, dword [ebp - 0x10350]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x63859a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6392a9
push edx
push ecx
call fcn.0063e103
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 - 0x10340], 0
mov dword [ebp - 0x1033c], 0xf
mov byte [ebp - 0x10350], 0
call fcn.00428920
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.0066bb7b
add esp, 4
mov esi, eax
push 0x5c
push esi
call fcn.006919f9
add esp, 8
mov byte [ebp - 0x10329], 0
test eax, eax
je 0x638639
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.00639540
mov byte [ebp - 0x10329], al
push esi
call fcn.006532ee
add esp, 4
cmp byte [ebp - 0x10329], 0
jne 0x638748
cmp dword [edi + 0x248], 0
je 0x638697
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 8
jb 0x638671
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 0x638b5c
cmp dword [0x7eb9f0], 0
je 0x638702
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 8
jb 0x6386b9
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x7eb9f0]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Failed_to_CreateFilePath:__s.__s
push 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x638b7b
cmp dword [0x7eb9f4], 0
je 0x638b86
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x638728
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 0x638b57
mov cl, byte [ebp - 0x100f4]
test cl, cl
je 0x638783
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov edx, dword [ebp - 0x10330]
cmovae eax, dword [ebp - 0x10028]
test edx, edx
je 0x638783
cmp edx, 0xffffffff
je 0x638783
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 [0x6ef350]
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 0x638818
lea ecx, [ebp - 0x10060]
call fcn.00428770
lea ecx, [ebp - 0x10028]
call fcn.00428770
cmp esi, 2
sete al
jmp 0x6383dc
cmp byte [ebp - 0x100f4], 0
je 0x63883e
lea ecx, [ebp - 0x10060]
call fcn.00428770
lea ecx, [ebp - 0x10028]
call fcn.00428770
mov al, 1
jmp 0x6383dc
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 0x6389eb
xor eax, eax
nop
add eax, 0x64
mov dword [ebp - 0x1002c], eax
cmp eax, 0x1f4
jge 0x638a65
cmp dword [edi + 0x248], 0
je 0x6388c1
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov edx, eax
mov byte [ebp - 4], 0xa
cmp dword [edx + 0x14], 8
jb 0x6388b6
mov edx, dword [edx]
mov eax, dword [edi + 0x248]
jmp 0x638950
cmp dword [0x7eb9f0], 0
je 0x638929
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [ecx + 0x14], 8
jb 0x6388e3
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x7eb9f0]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Failed_to_open_file_:__s_with_code__s__retrying_
push 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0xa
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x63898a
cmp dword [0x7eb9f4], 0
je 0x63899f
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 8
jb 0x63894b
mov edx, dword [edx]
mov eax, dword [0x7eb9f4]
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 0x701e7c
push 0xa
push eax
call dword [0x6ef350]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10044]
mov byte [ebp - 4], 6
call fcn.00428770
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 0x638880
push dword [edi + 0x240]
mov ecx, dword [edi + 8]
sub esp, 8
call fcn.0063a380
add esp, 0xc
test eax, eax
je 0x638c01
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x638ba6
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x638b9c
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 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0x32
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x638bdf
cmp esi, 0xffffffff
jne 0x6389eb
cmp dword [edi + 0x248], 0
je 0x638ab2
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov edx, eax
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x638a8c
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 0x638b5c
cmp dword [0x7eb9f0], 0
je 0x638b1a
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov ecx, eax
mov byte [ebp - 4], 0xe
cmp dword [ecx + 0x14], 8
jb 0x638ad4
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x7eb9f0]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Cannot_open_file__s_for_writing:__s
push 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x638b7b
cmp dword [0x7eb9f4], 0
je 0x638b86
lea ecx, [ebp - 0x10044]
call fcn.005ddfe0
mov edx, eax
mov byte [ebp - 4], 0xf
cmp dword [edx + 0x14], 8
jb 0x638b3c
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 [0x7eb9f4]
mov esi, dword [eax]
push str.UnzipHandler
push 0x701e7c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x6ef350]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10044]
call fcn.00428770
lea ecx, [ebp - 0x10060]
call fcn.00428770
lea ecx, [ebp - 0x10028]
jmp 0x6383d5
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x638bdf
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x701e7c
push 0x32
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x18
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x10060]
call fcn.00428770
lea ecx, [ebp - 0x10028]
jmp 0x6383d5
mov eax, dword [edi + 0x250]
test eax, eax
je 0x6390d2
cmp eax, 0xffffffff
je 0x6390d2
cmp eax, 1
jne 0x639218
mov eax, dword [edi + 8]
test eax, eax
je 0x63901a
mov eax, dword [eax + 0x9c]
test eax, eax
je 0x63901a
mov ebx, dword [eax + 0x48]
sub ebx, dword [eax + 0x4c]
test ebx, ebx
jle 0x63901a
xor ecx, ecx
mov eax, ebx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.00656bb7
mov ecx, dword [edi + 8]
add esp, 4
mov dword [ebp - 0x10338], eax
push ebx
mov ebx, eax
mov edx, ebx
call fcn.0063a9f0
mov ecx, ebx
mov dword [ebp - 0x10034], 0
add esp, 4
mov dword [ebp - 0x10030], 0xf
mov byte [ebp - 0x10044], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x638c95
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x10044]
call fcn.00428b60
push 1
push ebx
call fcn.0063e103
cmp dword [ebp - 0x10030], 0x10
lea eax, [ebp - 0x10044]
cmovae eax, dword [ebp - 0x10044]
push eax
call fcn.00667c31
add esp, 0xc
lea ebx, [eax + 0x10000]
push ebx
mov dword [ebp - 0x10354], ebx
call fcn.00656bb7
mov edx, dword [ebp - 0x10030]
add esp, 4
mov dword [ebp - 0x1002c], eax
cmp edx, 0x10
jb 0x638d25
mov ecx, dword [ebp - 0x10044]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x638d1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6392ae
push edx
push ecx
call fcn.0063e103
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.0063a6f0
add esp, 4
cmp eax, 1
je 0x638d8d
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x1002c]
push 1
push eax
call fcn.0063e103
add esp, 8
lea ecx, [ebp - 0x10060]
call fcn.00428770
lea ecx, [ebp - 0x10028]
jmp 0x6383d5
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.0063ac80
mov eax, dword [ebp - 0x1002c]
xor esi, esi
add esp, 4
mov dword [ebp - 0x100c8], ebx
mov dword [ebp - 0x100dc], eax
xor ebx, ebx
mov dword [ebp - 0x10078], 0
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
mov edx, dword [edi + 0x244]
mov ecx, dword [edi + 8]
push 0x10000
mov dword [ebp - 0x10048], ebx
call fcn.0063a6f0
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x638f68
mov edx, dword [ebp - 0x10354]
lea eax, [ebp - 0x10358]
mov esi, dword [ebp - 0x100cc]
push eax
push ecx
lea eax, [ebp - 0x10330]
mov dword [ebp - 0x10330], ebx
push eax
push dword [edi + 0x244]
lea ecx, [ebp - 0x100f0]
call fcn.0063ad20
add esp, 0x10
test eax, eax
jne 0x638f61
cmp dword [ebp - 0x10358], 1
mov eax, dword [ebp - 0x100c4]
mov ecx, dword [ebp - 0x100cc]
mov dword [ebp - 0x10338], eax
jne 0x638ec8
cmp eax, ecx
jne 0x638f61
cmp dword [ebp - 0x10330], 0
jne 0x638ed9
cmp esi, ecx
je 0x638f61
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 [0x6ef350]
call esi
add esp, 4
test eax, eax
je 0x638e42
or ebx, 0xffffffff
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x638fa7
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x638f9d
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 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0x32
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x638fe0
mov ebx, 0xffffff99
jmp 0x638f03
jne 0x638f03
mov esi, dword [ebp - 0x10338]
lea eax, [ebp - 0x10048]
push 0
push eax
push esi
push dword [ebp - 0x1002c]
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x638f98
cmp dword [ebp - 0x10048], esi
je 0x638fe0
or ebx, 0xffffffff
jmp 0x638fe0
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x638fe0
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 0x701e7c
push 0x32
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x18
push dword [ebp - 0x100e0]
mov esi, dword [0x7cab70]
mov ecx, esi
push 0x7cab6c
call dword [0x6ef350]
call esi
push 1
push dword [ebp - 0x1002c]
mov dword [ebp - 0x100e0], 0
call fcn.0063e103
add esp, 0x10
jmp 0x639218
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x639077
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x63906d
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 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0x32
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x6390b0
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x6390b0
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_get_extra_local_size_for_file__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x701e7c
push 0x32
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x18
push dword [ebp - 0x10334]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x10060]
call fcn.00428770
lea ecx, [ebp - 0x10028]
jmp 0x6383d5
mov dword [edi + 0x18], 2
mov cl, byte [ebp + 0x14]
lea edx, [ebp - 0x10010]
mov ebx, 0x40000
test cl, cl
je 0x6390f1
mov edx, dword [edi + 0x244]
test cl, cl
mov eax, 0x10000
mov ecx, dword [edi + 8]
cmovne eax, ebx
push eax
call fcn.0063a6f0
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x639218
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x1002c]
push 0
push eax
mov dword [ebp - 0x1002c], ebx
push ebx
jne 0x639130
lea eax, [ebp - 0x10010]
push eax
jmp 0x639136
push dword [edi + 0x244]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x63917d
mov eax, dword [ebp - 0x1002c]
cmp eax, ebx
jne 0x63917d
mov esi, dword [edi + 0x30]
mov ecx, esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
push eax
call dword [0x6ef350]
call esi
add esp, 4
test eax, eax
jne 0x639215
test ebx, ebx
jle 0x639218
mov esi, dword [ebp - 0x10334]
jmp 0x6390d9
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x6391db
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x6391d1
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 0x701e7c
push 0x701e7c
push str.UnzipHandler
push 0x7721a4
push 0x32
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x639215
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x639215
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 0x701e7c
push 0x32
push ecx
mov ecx, esi
call dword [0x6ef350]
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.0063aa90
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 [0x6ef350]
call esi
add esp, 4
mov dword [edi + 0x24], 0
lea ecx, [ebp - 0x10060]
mov dword [edi + 0x28], 0
call fcn.00428770
lea ecx, [ebp - 0x10028]
call fcn.00428770
test ebx, ebx
sete al
jmp 0x6383dc
call fcn.006534c5
call fcn.006534c5
int3