Function at 0x1020f690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x218
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x224]
push ebx
mov ebx, dword [esp + 0x224]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x22c]
push ebp
mov ebp, dword [esp + 0x224]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x234]
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x240]
push edi
mov edi, dword [esp + 0x24c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xd4], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x18], 0
test eax, eax
je 0x1020f71a
mov dword [eax], 0
test edi, edi
je 0x1020f724
mov dword [edi], 0
mov esi, dword [esp + 0x240]
push 0
push esi
push ebp
call sym.php5.dll__php_stream_seek
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1020f75e
test ebp, ebp
je 0x1020f74b
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.cannot_seek_to___HALT_COMPILER____location_in_phar___s_
jmp 0x10210e1c
push 3
lea eax, [esp + 0x54]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0xc
cmp eax, 3
je 0x1020f795
test ebp, ebp
je 0x1020f782
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___truncated_manifest_at_stub_end_
jmp 0x10210e1c
mov eax, dword [esp + 0x50]
cmp al, 0x20
je 0x1020f7a5
cmp al, 0xa
jne 0x1020f83a
cmp ah, 0x3f
jne 0x1020f83a
cmp byte [esp + 0x52], 0x3e
jne 0x1020f83a
add esi, 3
push ebp
mov dword [esp + 0x244], esi
call sym.php5.dll__php_stream_getc
add esp, 4
cmp eax, 0xffffffff
jne 0x1020f7f3
test ebp, ebp
je 0x1020f7e0
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___truncated_manifest_at_stub_end_
jmp 0x10210e1c
cmp al, 0xd
jne 0x1020f82e
push ebp
call sym.php5.dll__php_stream_getc
add esp, 4
cmp eax, 0xffffffff
je 0x1020f80c
cmp al, 0xa
jne 0x1020f80c
inc esi
jmp 0x1020f832
test ebp, ebp
je 0x1020f81b
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___truncated_manifest_at_stub_end_
jmp 0x10210e1c
cmp al, 0xa
jne 0x1020f83a
inc esi
mov dword [esp + 0x240], esi
push 0
push esi
push ebp
call sym.php5.dll__php_stream_seek
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1020f86d
test ebp, ebp
je 0x1020f85a
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.cannot_seek_to___HALT_COMPILER____location_in_phar___s_
jmp 0x10210e1c
push 4
lea eax, [esp + 0x54]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0xc
cmp eax, 4
je 0x1020f8a4
test ebp, ebp
je 0x1020f891
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___truncated_manifest_at_manifest_length_
jmp 0x10210e1c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
cmp eax, 0x6400000
jbe 0x1020f8d5
test ebp, ebp
je 0x1020f8c2
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.manifest_cannot_be_larger_than_100_MB_in_phar___s_
jmp 0x10210e1c
push eax
call sym.php5.dll__emalloc
mov esi, eax
mov eax, dword [esp + 0x44]
add esp, 4
lea ecx, [eax + esi]
mov dword [esp + 0x14], esi
mov dword [esp + 0x58], ecx
cmp eax, 0xa
jb 0x10210dc7
push eax
push esi
push ebp
call sym.php5.dll__php_stream_read
add esp, 0xc
cmp dword [esp + 0x40], eax
jne 0x10210dc7
mov eax, dword [esi]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1020f975
push esi
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1020f931
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1020f953
cmp dword [0x106607ac], 0
push eax
je 0x1020f94b
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x1020f950
call sym.php5.dll__efree
add esp, 4
test ebp, ebp
je 0x1020f962
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.in_phar___s___manifest_claims_to_have_zero_entries.__Phars_must_have_at_least_1_entry
jmp 0x10210e1c
movzx ecx, byte [esi + 4]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esi + 5]
add cx, ax
movzx eax, cx
mov dword [esp + 0x60], eax
and eax, 0xfff0
mov ecx, 0x1000
mov dword [esp + 0x4c], eax
cmp ax, cx
jae 0x1020f9f2
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
mov eax, dword [esp + 0x60]
movzx ecx, ax
mov eax, ecx
shr eax, 4
and eax, 0xf
push eax
mov eax, ecx
shr eax, 8
and eax, 0xf
push eax
shr ecx, 0xc
push ecx
push ebx
push str.phar___s__is_API_version__1.u._1.u._1.u__and_cannot_be_processed
push 0
push edi
call sym.php5.dll_spprintf
add esp, 0x1c
jmp 0x10210e27
mov eax, dword [esi + 6]
and eax, 0xff0f0fff
or eax, dword [esp + 0x248]
mov dword [esp + 0x54], eax
test eax, 0x10000
je 0x1020fe58
push 2
push 0xfffffffffffffff8
push ebp
call sym.php5.dll__php_stream_seek
add esp, 0xc
cmp eax, 0xffffffff
je 0x1020fc1a
push ebp
call sym.php5.dll__php_stream_tell
add esp, 4
cmp eax, 0x14
jl 0x1020fc1a
push 8
lea eax, [esp + 0xdc]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0xc
cmp eax, 8
jne 0x1020fc1a
lea eax, [esp + 0xdc]
cmp dword [eax], 0x424d4247
jne 0x1020fc1a
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x64], eax
dec eax
cmp eax, 0xf
ja case.0x1020fa83.5
movzx eax, byte [eax + 0x10210e5c]
jmp dword [eax*4 + 0x10210e44]
push 1
push 0xfffffffffffffff4
push ebp
call sym.php5.dll__php_stream_seek
add esp, 0xc
cmp eax, 0xffffffff
je 0x1020fbc7
push 4
lea eax, [esp + 0xdc]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0xc
cmp eax, 4
jne 0x1020fbc7
mov eax, dword [esp + 0xd8]
push eax
mov dword [esp + 0x2c], eax
call sym.php5.dll__emalloc
mov ecx, 0xfffffffc
sub ecx, dword [esp + 0x2c]
push 1
push ecx
push ebp
mov dword [esp + 0x30], eax
call sym.php5.dll__php_stream_seek
add esp, 0x10
cmp eax, 0xffffffff
je 0x1020fb97
push ebp
call sym.php5.dll__php_stream_tell
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1020fb97
push dword [esp + 0x28]
push dword [esp + 0x24]
push ebp
call sym.php5.dll__php_stream_read
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp ecx, eax
jne 0x1020fb97
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
push dword [esp + 0x34]
push 0x10
push dword [esp + 0x38]
push ebp
call fcn.10221c50
add esp, 0x24
cmp eax, 0xffffffff
jne 0x1020fb86
push dword [esp + 0x14]
call sym.php5.dll__efree
push dword [esp + 0x24]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0x10
test edi, edi
je 0x10210e27
mov esi, dword [edi]
push esi
push ebx
push str.phar___s__openssl_signature_could_not_be_verified:__s
push 0
push edi
call sym.php5.dll_spprintf
push esi
call sym.php5.dll__efree
add esp, 0x18
jmp 0x10210e27
push dword [esp + 0x20]
call sym.php5.dll__efree
add esp, 4
jmp 0x1020fe98
push dword [esp + 0x14]
call sym.php5.dll__efree
push dword [esp + 0x24]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0x10
test edi, edi
je 0x10210e27
push ebx
push str.phar___s__openssl_signature_could_not_be_read
jmp 0x10210e1c
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
push ebx
push str.phar___s__openssl_signature_length_could_not_be_read
jmp 0x10210e1c
push 2
push 0xffffffffffffffb8
push ebp
call sym.php5.dll__php_stream_seek
push ebp
call sym.php5.dll__php_stream_tell
mov dword [esp + 0x2c], eax
push 0x40
lea eax, [esp + 0xf4]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0x1c
cmp eax, 0x40
je 0x1020fc41
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
push ebx
push str.phar___s__has_a_broken_signature
jmp 0x10210e1c
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x40
lea eax, [esp + 0xf4]
push eax
push 4
push dword [esp + 0x38]
push ebp
call fcn.10221c50
add esp, 0x24
cmp eax, 0xffffffff
jne 0x1020fe98
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
mov esi, dword [edi]
push esi
push ebx
push str.phar___s__SHA512_signature_could_not_be_verified:__s
jmp 0x1020fb70
push 2
push 0xffffffffffffffd8
push ebp
call sym.php5.dll__php_stream_seek
push ebp
call sym.php5.dll__php_stream_tell
mov dword [esp + 0x2c], eax
push 0x20
lea eax, [esp + 0xf4]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0x1c
cmp eax, 0x20
jne 0x1020fc1a
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x20
lea eax, [esp + 0xf4]
push eax
push 3
push dword [esp + 0x38]
push ebp
call fcn.10221c50
add esp, 0x24
cmp eax, 0xffffffff
jne 0x1020fe98
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
mov esi, dword [edi]
push esi
push ebx
push str.phar___s__SHA256_signature_could_not_be_verified:__s
jmp 0x1020fb70
push 2
push 0xffffffffffffffe4
push ebp
call sym.php5.dll__php_stream_seek
push ebp
call sym.php5.dll__php_stream_tell
mov dword [esp + 0x2c], eax
push 0x14
lea eax, [esp + 0xf4]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0x1c
cmp eax, 0x14
jne 0x1020fc1a
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x14
lea eax, [esp + 0xf4]
push eax
push 2
push dword [esp + 0x38]
push ebp
call fcn.10221c50
add esp, 0x24
cmp eax, 0xffffffff
jne 0x1020fe98
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
mov esi, dword [edi]
push esi
push ebx
push str.phar___s__SHA1_signature_could_not_be_verified:__s
jmp 0x1020fb70
push 2
push 0xffffffffffffffe8
push ebp
call sym.php5.dll__php_stream_seek
push ebp
call sym.php5.dll__php_stream_tell
mov dword [esp + 0x2c], eax
push 0x10
lea eax, [esp + 0xf4]
push eax
push ebp
call sym.php5.dll__php_stream_read
add esp, 0x1c
cmp eax, 0x10
jne 0x1020fc1a
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x10
lea eax, [esp + 0xf4]
push eax
push 1
push dword [esp + 0x38]
push ebp
call fcn.10221c50
add esp, 0x24
cmp eax, 0xffffffff
jne 0x1020fe98
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
mov esi, dword [edi]
push esi
push ebx
push str.phar___s__MD5_signature_could_not_be_verified:__s
jmp 0x1020fb70
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
push ebx
push str.phar___s__has_a_broken_or_unsupported_signature
jmp 0x10210e1c
cmp dword [0x106607c0], 0
je 0x1020fe88
push dword [esp + 0x14]
call sym.php5.dll__efree
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 0xc
test edi, edi
je 0x10210e27
push ebx
push str.phar___s__does_not_have_a_signature
jmp 0x10210e1c
mov dword [esp + 0x64], 0
mov dword [esp + 0x48], 0
mov edx, dword [esi + 0xa]
add esi, 0xe
mov dword [esp + 0x1c], edx
lea eax, [edx + esi]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x58]
jbe 0x1020ff10
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1020fecc
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1020feee
cmp dword [0x106607ac], 0
push eax
je 0x1020fee6
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x1020feeb
call sym.php5.dll__efree
add esp, 4
test ebp, ebp
je 0x1020fefd
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___buffer_overrun_
jmp 0x10210e1c
mov ecx, dword [esp + 0x40]
lea eax, [edx + 0xa]
cmp ecx, eax
jae 0x1020ff5d
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1020ff38
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210e03
cmp dword [0x106607ac], 0
push eax
je 0x10210dfb
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210e00
test edx, edx
je 0x1020fff6
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1020ffe0
cmp dword [esp + 0x30], 0
je 0x1020ffe0
cmp dword [esp + 0x30], edx
jne 0x1020ff8a
push edx
push esi
push eax
call dword [sym.imp.MSVCR110.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1020ffd8
mov eax, dword [esp + 0x28]
push 3
push ebp
mov byte [eax], 0
call sym.php5.dll__php_stream_free
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x1020ffad
push eax
call sym.php5.dll__efree
add esp, 4
test edi, edi
je 0x1020ffc7
push dword [esp + 0x3c]
push esi
push ebx
push str.cannot_load_phar___s__with_implicit_alias___s__under_different_alias___s_
push 0
push edi
call sym.php5.dll_spprintf
add esp, 0x18
push dword [esp + 0x14]
call sym.php5.dll__efree
add esp, 4
jmp 0x10210e27
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], 1
jmp 0x1021002e
cmp dword [esp + 0x30], 0
je 0x10210016
cmp dword [esp + 0x3c], 0
je 0x10210016
mov dword [esp + 0x28], 1
mov dword [esp + 0x5c], 1
jmp 0x1021002e
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
sub ecx, edx
sub ecx, 0xa
mov eax, 0x86186187
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
cmp dword [esp + 0x24], ecx
jbe 0x102100aa
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210066
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210088
cmp dword [0x106607ac], 0
push eax
je 0x10210080
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210085
call sym.php5.dll__efree
add esp, 4
test ebp, ebp
je 0x10210097
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___too_many_manifest_entries_for_size_of_manifest_
jmp 0x10210e1c
cmp dword [0x106607ac], 0
je 0x102100db
push 0
push 0xd8
push 1
call sym.php5.dll__safe_malloc
push 0xd8
push 0
push eax
mov dword [esp + 0x34], eax
call sub.MSVCR110.dll_memset
mov eax, dword [esp + 0x34]
add esp, 0x18
jmp 0x102100ea
push 0xd8
push 1
call sym.php5.dll__ecalloc
add esp, 8
mov ecx, dword [0x106607ac]
mov dword [esp + 0x10], eax
shl ecx, 8
xor ecx, dword [eax + 0xd4]
add esi, 4
and ecx, 0x100
xor dword [eax + 0xd4], ecx
mov ecx, dword [esi - 4]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xd8], ecx
test dword [edx + 0xd4], 0x100
mov dword [esp + 0x20], esi
je 0x10210148
mov dword [edx + 0xcc], ecx
mov edx, dword [esp + 0x10]
test ecx, ecx
jne 0x10210148
mov ecx, dword [esi]
add esi, 4
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x58]
sub eax, esi
cmp ecx, eax
jbe 0x102101b3
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1021016f
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210191
cmp dword [0x106607ac], 0
push eax
je 0x10210189
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x1021018e
call sym.php5.dll__efree
add esp, 4
test ebp, ebp
je 0x102101a0
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___trying_to_read_past_buffer_end_
jmp 0x10210e1c
push ecx
lea eax, [edx + 0xc8]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1020ca40
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1021022e
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x102101ea
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1021020c
cmp dword [0x106607ac], 0
push eax
je 0x10210204
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210209
call sym.php5.dll__efree
add esp, 4
test ebp, ebp
je 0x1021021b
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.unable_to_read_phar_metadata_in_.phar_file___s_
jmp 0x10210e1c
mov ecx, dword [esp + 0x10]
add esi, dword [esp + 0xd8]
mov eax, dword [ecx + 0xd4]
shr eax, 8
and al, 1
movzx eax, al
push eax
push fcn.1020cc30
push dword [esp + 0x2c]
lea eax, [ecx + 0x2c]
push eax
call sym.php5.dll__zend_hash_init
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xd4]
shr eax, 8
and al, 1
movzx eax, al
push eax
push 0
lea eax, [ecx + 0x7c]
push 5
push eax
call sym.php5.dll__zend_hash_init
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0xd4]
shr eax, 8
and al, 1
movzx eax, al
push eax
mov eax, dword [esp + 0x48]
add eax, eax
push 0
push eax
lea eax, [ecx + 0x54]
push eax
call sym.php5.dll__zend_hash_init
mov eax, dword [esp + 0x40]
add esp, 0x30
test dword [eax + 0xd4], 0x100
push dword [esp + 0x44]
push ebx
je 0x102102be
call sym.php5.dll_zend_strndup
jmp 0x102102c3
call sym.php5.dll__estrndup
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test edx, edx
jle 0x102102f2
xor ecx, ecx
mov edi, edi
cmp byte [eax], 0x5c
jne 0x102102e8
mov byte [eax], 0x2f
inc ecx
inc eax
cmp ecx, edx
jl 0x102102e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x240]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x40]
add ecx, 4
add eax, ecx
push 0x6c
mov dword [esp + 0x20], eax
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x6c]
push 0
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x9c], 0
mov eax, dword [eax + 0xd4]
xor eax, ecx
and eax, 0x100
xor edx, edx
xor ecx, eax
add esp, 0xc
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x40], edx
cmp dword [esp + 0x24], edx
jbe 0x102107ac
mov edi, dword [esp + 0x58]
lea ebx, [esi + 4]
cmp ebx, edi
ja 0x10210b27
mov eax, dword [esi]
mov dword [esp + 0x88], eax
test eax, eax
je 0x10210abb
mov ebp, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
test ebp, 0x100
cmovne ecx, edx
mov edx, edi
mov dword [esp + 0xc8], ecx
sub edx, ebx
lea ecx, [eax + 0x14]
cmp ecx, edx
ja 0x10210a84
mov ecx, 0x1110
cmp word [esp + 0x4c], cx
jb 0x102103c9
cmp byte [eax + ebx - 1], 0x2f
jne 0x102103c9
or ebp, 8
jmp 0x102103cc
and ebp, 0xfffffff7
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
mov dword [esp + 0xdc], ebp
call fcn.102225a0
add esp, 0xc
test dword [esp + 0xd0], 0x100
push dword [esp + 0x88]
push ebx
je 0x102103fe
call sym.php5.dll_zend_strndup
jmp 0x10210403
call sym.php5.dll__estrndup
add ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0xe0]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [ebx]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 4]
add esp, 8
mov dword [esp + 0x6c], eax
cmp ebp, dword [esp + 0x1c]
jne 0x10210442
mov dword [ecx + 0xa8], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
jmp 0x1021045a
cmp dword [ecx + 0xa8], eax
jbe 0x10210452
mov dword [ecx + 0xa8], eax
jmp 0x10210460
cmp dword [ecx + 0xac], eax
jae 0x10210460
mov dword [ecx + 0xac], eax
test byte [esp + 0xd0], 8
mov eax, dword [ebx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x78], eax
je 0x1021048f
dec dword [esp + 0x88]
or eax, 0x1ff
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0xd0]
mov esi, dword [ebx + 0x14]
add ebx, 0x18
mov eax, ecx
and eax, 0x100
neg eax
sbb eax, eax
and eax, esi
mov dword [esp + 0x84], eax
mov eax, edi
sub eax, ebx
mov dword [esp + 0x20], ebx
cmp esi, eax
ja 0x102109fb
push esi
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1020ca40
add esp, 0xc
cmp eax, 0xffffffff
je 0x1021096d
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
add ebx, esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
add ebp, eax
and ecx, 0xf000
mov dword [esp + 0x20], ebx
mov dword [esp + 0xd8], ebp
cmp ecx, 0x1000
je 0x10210585
cmp ecx, 0x2000
je 0x1021054e
cmp dword [esp + 0x68], eax
je 0x10210592
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.MSVCR110.dll_free]
test eax, eax
je 0x10210680
test dword [esp + 0xd0], 0x100
je 0x10210670
push eax
call esi
jmp 0x1021067d
cmp dword [0x106607b4], 0
jne 0x10210592
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.MSVCR110.dll_free]
test eax, eax
je 0x10210718
test dword [esp + 0xd0], 0x100
je 0x10210708
push eax
call esi
jmp 0x10210715
cmp dword [0x106607b0], 0
je 0x102108b2
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0xb0]
mov edi, dword [esp + 0x88]
or eax, ecx
mov ecx, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd0]
shr ecx, 0x10
xor ecx, eax
and ecx, 1
xor eax, ecx
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 4]
mov ecx, 0x104
lea ebp, [eax + edi]
cmp ebp, 0x104
cmova ebp, ecx
cmp eax, ebp
mov esi, ebp
cmovl esi, eax
push esi
push dword [ebx]
lea eax, [esp + 0x128]
push eax
call sub.MSVCR110.dll_memcpy
mov eax, ebp
sub eax, esi
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebx + 4]
push edi
push dword [esp + 0x9c]
lea edx, [esp + 0x134]
add eax, edx
push eax
call sub.MSVCR110.dll_memcpy
lea eax, [esp + 0x138]
push ebp
push eax
call sym.php5.dll_zend_hash_func
push 2
push 0
mov word [esp + 0xf4], ax
push 0x6c
lea eax, [esp + 0x94]
push eax
push dword [esp + 0xb8]
mov eax, dword [esp + 0x44]
push dword [esp + 0xc0]
add eax, 0x2c
push eax
call sym.php5.dll__zend_hash_add_or_update
mov edx, dword [esp + 0x7c]
inc edx
add esp, 0x3c
mov dword [esp + 0x40], edx
cmp edx, dword [esp + 0x24]
jae 0x102107a0
mov esi, dword [esp + 0x20]
jmp 0x10210364
lea eax, [esp + 0x80]
push eax
call sym.php5.dll__zval_ptr_dtor
add esp, 4
test dword [esp + 0xd0], 0x100
push dword [esp + 0x8c]
je 0x10210698
call esi
jmp 0x1021069d
call sym.php5.dll__efree
add esp, 4
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x102106bd
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x102106db
cmp dword [0x106607ac], 0
push eax
je 0x102106d3
call esi
jmp 0x102106d8
call sym.php5.dll__efree
add esp, 4
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x102106ee
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10210e27
push dword [esp + 0x2c]
push str.internal_corruption_of_phar___s___compressed_and_uncompressed_size_does_not_match_for_uncompressed_entry_
jmp 0x10210e1c
lea eax, [esp + 0x80]
push eax
call sym.php5.dll__zval_ptr_dtor
add esp, 4
test dword [esp + 0xd0], 0x100
push dword [esp + 0x8c]
je 0x10210730
call esi
jmp 0x10210735
call sym.php5.dll__efree
add esp, 4
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210755
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210773
cmp dword [0x106607ac], 0
push eax
je 0x1021076b
call esi
jmp 0x10210770
call sym.php5.dll__efree
add esp, 4
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x10210786
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10210e27
push dword [esp + 0x2c]
push str.bz2_extension_is_required_for_bzip2_compressed_.phar_file___s_
jmp 0x10210e1c
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
movzx ecx, ax
mov eax, ecx
shr eax, 4
and eax, 0xf
push eax
mov eax, ecx
shr eax, 8
and eax, 0xf
push eax
mov eax, dword [esp + 0x18]
shr ecx, 0xc
push ecx
push str._u._u._u
add eax, 0x18
push 0xc
push eax
call sym.php5.dll_ap_php_snprintf
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x258]
mov dword [eax + 0x28], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xa4], ecx
mov eax, dword [esp + 0x28]
push 0x2f
push dword [eax]
call dword [sym.imp.MSVCR110.dll_strrchr]
mov esi, dword [sym.imp.MSVCR110.dll_memchr]
mov ecx, dword [esp + 0x30]
add esp, 0x20
mov dword [esp + 0x4c], eax
test eax, eax
je 0x10210887
mov edx, dword [esp + 0x44]
mov ecx, dword [ecx]
sub edx, eax
add ecx, edx
push ecx
push 0x2e
push eax
mov dword [esp + 0x28], edx
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [ecx + 8], edx
jne 0x10210872
mov eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
dec ecx
add eax, ecx
push eax
lea eax, [edx + 1]
push 0x2e
push eax
call esi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
test edx, edx
je 0x10210887
mov eax, dword [ecx + 4]
sub eax, edx
add eax, dword [ecx]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10210b69
push dword [esp + 0x30]
push eax
test dword [ecx + 0xd4], 0x100
je 0x10210b74
call sym.php5.dll_zend_strndup
jmp 0x10210b79
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.MSVCR110.dll_free]
test eax, eax
je 0x102108e5
test dword [esp + 0xd0], 0x100
je 0x102108d5
push eax
call esi
jmp 0x102108e2
lea eax, [esp + 0x80]
push eax
call sym.php5.dll__zval_ptr_dtor
add esp, 4
test dword [esp + 0xd0], 0x100
push dword [esp + 0x8c]
je 0x102108fd
call esi
jmp 0x10210902
call sym.php5.dll__efree
add esp, 4
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210922
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210940
cmp dword [0x106607ac], 0
push eax
je 0x10210938
call esi
jmp 0x1021093d
call sym.php5.dll__efree
add esp, 4
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x10210953
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10210e27
push dword [esp + 0x2c]
push str.zlib_extension_is_required_for_gz_compressed_.phar_file___s_
jmp 0x10210e1c
test dword [esp + 0xd0], 0x100
mov esi, dword [sym.imp.MSVCR110.dll_free]
push dword [esp + 0x8c]
je 0x1021098b
call esi
jmp 0x10210990
call sym.php5.dll__efree
add esp, 4
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x102109b0
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x102109ce
cmp dword [0x106607ac], 0
push eax
je 0x102109c6
call esi
jmp 0x102109cb
call sym.php5.dll__efree
add esp, 4
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x102109e1
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10210e27
push dword [esp + 0x2c]
push str.unable_to_read_file_metadata_in_.phar_file___s_
jmp 0x10210e1c
mov esi, dword [sym.imp.MSVCR110.dll_free]
push dword [esp + 0x8c]
test ecx, 0x100
je 0x10210a14
call esi
jmp 0x10210a19
call sym.php5.dll__efree
add esp, 4
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210a39
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210a57
cmp dword [0x106607ac], 0
push eax
je 0x10210a4f
call esi
jmp 0x10210a54
call sym.php5.dll__efree
add esp, 4
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x10210a6a
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10210e27
push dword [esp + 0x2c]
push str.internal_corruption_of_phar___s___truncated_manifest_entry_
jmp 0x10210e1c
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210aa1
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210a57
cmp dword [0x106607ac], 0
push eax
je 0x10210a4f
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210a54
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210ad8
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210afa
cmp dword [0x106607ac], 0
push eax
je 0x10210af2
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210af7
call sym.php5.dll__efree
add esp, 4
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x10210b0d
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10210e27
push dword [esp + 0x2c]
push str.zero_length_filename_encountered_in_phar___s_
jmp 0x10210e1c
push dword [esp + 0x14]
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210b44
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210a57
cmp dword [0x106607ac], 0
push eax
je 0x10210a4f
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210a54
push dword [esp + 0x44]
push dword [ecx]
jmp 0x10210898
call sym.php5.dll__estrndup
mov ecx, eax
mov eax, dword [esp + 0x18]
add esp, 8
cmp dword [esp + 0x3c], 0
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
cmovne ecx, dword [esp + 0x30]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xbc], ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 0xb0], ebp
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [ecx + 0xc0], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0xc4], eax
call fcn.1020b450
cmp dword [esp + 0x28], 0
je 0x10210d7c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xd4]
xor eax, dword [esp + 0x5c]
and eax, 1
xor dword [ecx + 0xd4], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push ebp
push 0x2f
push eax
mov dword [esp + 0x30], eax
call esi
add esp, 0xc
test eax, eax
jne 0x10210d22
push ebp
push 0x5c
push dword [esp + 0x2c]
call esi
add esp, 0xc
test eax, eax
jne 0x10210d22
push ebp
push 0x3a
push dword [esp + 0x2c]
call esi
add esp, 0xc
test eax, eax
jne 0x10210d22
push ebp
push 0x3b
push dword [esp + 0x2c]
call esi
add esp, 0xc
test eax, eax
jne 0x10210d22
push ebp
push 0xa
push dword [esp + 0x2c]
call esi
add esp, 0xc
test eax, eax
jne 0x10210d22
push ebp
push 0xd
push dword [esp + 0x2c]
call esi
add esp, 0xc
test eax, eax
jne 0x10210d22
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x4c]
push eax
push esi
push ebp
push 0x10660774
call sym.php5.dll_zend_hash_find
add esp, 0x10
test eax, eax
jne 0x10210d06
mov eax, dword [esp + 0x4c]
push esi
push ebp
push dword [eax]
call fcn.10221120
add esp, 0xc
test eax, eax
je 0x10210d06
push dword [esp + 0x14]
mov dword [esp + 0x1c], 0
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210cd1
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210cf3
cmp dword [0x106607ac], 0
push eax
je 0x10210ceb
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210cf0
call sym.php5.dll__efree
add esp, 4
test edi, edi
je 0x10210e27
push ebx
push str.Cannot_open_archive___s___alias_is_already_in_use_by_existing_archive
jmp 0x10210e1c
push 2
push 0
push 4
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
push 0x10660774
call sym.php5.dll__zend_hash_add_or_update
add esp, 0x1c
jmp 0x10210d87
push dword [esp + 0x14]
mov dword [esp + 0x1c], 0
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210d47
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210d69
cmp dword [0x106607ac], 0
push eax
je 0x10210d61
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210d66
call sym.php5.dll__efree
add esp, 4
test edi, edi
je 0x10210e27
push ebx
push str.Cannot_open_archive___s___invalid_alias
jmp 0x10210e1c
mov eax, dword [esp + 0x10]
or dword [eax + 0xd4], 1
push 2
push 0
push 4
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x54]
mov eax, dword [esp + 0x24]
push dword [eax]
push 0x10660748
call sym.php5.dll__zend_hash_add_or_update
push dword [esp + 0x30]
call sym.php5.dll__efree
mov ecx, dword [esp + 0xf4]
add esp, 0x20
test ecx, ecx
je 0x10210dc3
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x10210e2a
push esi
call sym.php5.dll__efree
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x10210de1
push eax
call fcn.1020b5d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10210e03
cmp dword [0x106607ac], 0
push eax
je 0x10210dfb
call dword [sym.imp.MSVCR110.dll_free]
jmp 0x10210e00
call sym.php5.dll__efree
add esp, 4
test ebp, ebp
je 0x10210e12
push 3
push ebp
call sym.php5.dll__php_stream_free
add esp, 8
test edi, edi
je 0x10210e27
push ebx
push str.internal_corruption_of_phar___s___truncated_manifest_header_
push 0
push edi
call sym.php5.dll_spprintf
add esp, 0x10
or eax, 0xffffffff
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10311bec
add esp, 0x218
ret