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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push 0x100450df
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
xor esi, esi
mov ebx, ecx
inc esi
and ebx, 7
push edi
je 0x10008eaa
test cl, 2
je 0x10008ea2
test cl, 4
je 0x10008e9e
push 0x67
pop eax
mov ecx, str.Cant_use_both__XMP_UTF16_Bit_and__XMP_UTF32_Bit
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
push eax
call fcn.10035956
push 2
jmp 0x10008ea9
test cl, 4
je 0x10008ec1
push 4
pop esi
test cx, 0x800
je 0x10008edc
mov dword [ebp + 0x1c], 0x100489a0
mov dword [ebp + 0x20], 0x1004843b
jmp 0x10008f11
push 0x67
pop eax
mov ecx, str.Cant_use__XMP_LittleEndian_Bit_by_itself
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
jmp 0x10008e98
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
jne 0x10008eeb
mov dword [ebp + 0x1c], 0x10049138
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0
jne 0x10008f11
test cl, 0x40
mov dword [ebp + 0x20], 0x100489a0
jne 0x10008f06
mov dword [ebp + 0x20], 0x1004913c
test cl, cl
jns 0x10008f11
mov dword [ebp + 0x20], 0x10049140
mov dword [esp + 0x14], ecx
and dword [esp + 0x14], 0x200
je 0x10008f70
test cx, 0x110
je 0x10008f44
push 0x67
pop eax
mov ecx, str.Inconsistent_options_for_exact_size_serialize
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
jmp 0x10008e98
lea eax, [esi - 1]
mov esi, dword [ebp + 0x18]
test esi, eax
je 0x10009001
push 0x67
pop eax
mov ecx, str.Exact_size_must_be_a_multiple_of_the_Unicode_element
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
jmp 0x10008e98
test cl, 0x20
je 0x10008fa0
test cx, 0x110
je 0x10008f9a
push 0x67
pop eax
mov ecx, str.Inconsistent_options_for_read_only_packet
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
jmp 0x10008e98
and dword [ebp + 0x18], 0
jmp 0x10008ffe
test cl, 0x10
je 0x10008fca
test cx, 0x100
je 0x10008f9a
push 0x67
pop eax
mov ecx, str.Inconsistent_options_for_non_packet_serialize
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
jmp 0x10008e98
cmp dword [ebp + 0x18], 0
jne 0x10008fd8
mov eax, esi
shl eax, 0xb
mov dword [ebp + 0x18], eax
test cx, 0x100
je 0x10008ffe
push str.http:__ns.adobe.com_xap_1.0_
push dword [ebp + 8]
mov ecx, str.Thumbnails
call fcn.10004983
test al, al
jne 0x10008ffe
imul esi, esi, 0x2710
add dword [ebp + 0x18], esi
mov esi, dword [ebp + 0x18]
push 0xf
pop edi
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], edi
call fcn.10002a1c
push dword [ebp + 0x24]
and dword [esp + 0xa0], 0
test byte [ebp + 0x14], 0x80
push dword [ebp + 0x20]
lea eax, [esp + 0x60]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
je 0x1000903c
call fcn.10008b3d
jmp 0x10009041
call fcn.100080bc
add esp, 0x18
test ebx, ebx
jne 0x10009105
cmp dword [esp + 0x14], ebx
je 0x10009082
mov eax, dword [0x10059558]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x6c]
cmp eax, esi
jbe 0x10009080
push 0x6b
pop eax
mov ecx, str.Cant_fit_into_specified_packet_size
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
jmp 0x10008e98
sub esi, eax
push dword [ebp + 0x1c]
call fcn.10031420
cmp esi, eax
pop ecx
mov dword [esp + 0x14], eax
jae 0x100090a4
mov edi, dword [0x10059558]
push 0x20
mov ebx, esi
call fcn.10002929
jmp 0x100090ed
sub esi, eax
jmp 0x100090c9
push 0x64
pop ebx
call fcn.10002929
push dword [ebp + 0x1c]
push dword [0x10059558]
call fcn.1000240e
mov eax, dword [esp + 0x14]
push 0xffffffffffffff9c
pop ecx
sub ecx, eax
add esi, ecx
mov edi, dword [0x10059558]
add eax, 0x64
cmp esi, eax
push 0x20
jae 0x100090a8
mov ebx, esi
call fcn.10002929
push dword [ebp + 0x1c]
push dword [0x10059558]
call fcn.1000240e
mov esi, dword [0x10059558]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
call fcn.10002d86
jmp 0x10009556
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
call fcn.10002a1c
push 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], edi
call fcn.10002a1c
mov al, bl
not al
and al, 1
test bl, 2
mov byte [esp + 0x9c], 2
mov byte [esp + 0x1c], al
lea ecx, [esp + 0x3c]
je 0x10009323
push 0x10049140
call fcn.100023e2
xor edi, edi
lea eax, [esp + 0x3c]
mov byte [esp + 0x9c], 3
call fcn.1000959a
mov edi, dword [0x10059558]
mov byte [eax], 0
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.100095df
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x10009185
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.100188af
pop ecx
pop ecx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
call fcn.100095df
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x100091b3
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
call fcn.100188af
xor edi, edi
cmp dword [esp + 0x1c], edi
pop ecx
pop ecx
je 0x100091ff
mov eax, dword [0x10059558]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x6c]
cmp eax, esi
jbe 0x100091fd
push 0x6b
pop eax
mov ecx, str.Cant_fit_into_specified_packet_size
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa80
lea eax, [esp + 0x10]
jmp 0x10008e98
sub esi, eax
push dword [ebp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.100029ff
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x1000921a
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
call fcn.100188af
mov eax, dword [esp + 0x90]
pop ecx
or ebx, 0xffffffff
cmp esi, eax
pop ecx
mov dword [esp + 0x1c], eax
jae 0x1000926e
shr esi, 1
cmp esi, edi
mov dword [esp + 0x14], esi
jle 0x10009301
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jg 0x1000924e
jmp 0x10009301
sub esi, eax
add eax, 0xc8
cmp esi, eax
mov dword [ebp + 0x18], esi
mov dword [esp + 0xc], eax
jb 0x100092cb
mov dword [esp + 0x14], 0x64
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jg 0x10009288
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x7c]
call fcn.10002d86
mov eax, 0xffffff38
sub eax, dword [esp + 0x1c]
add dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [esp + 0xc]
jae 0x10009280
mov esi, eax
shr esi, 1
cmp esi, edi
mov dword [esp + 0x14], esi
jle 0x100092f0
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jg 0x100092d5
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x7c]
call fcn.10002d86
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x60]
call fcn.10002d86
push edi
push 1
lea ecx, [esp + 0x44]
call fcn.10002a38
jmp 0x1000953e
push 0x1004925c
call fcn.100023e2
push 2
pop edi
lea eax, [esp + 0x3c]
mov byte [esp + 0x9c], 4
call fcn.1000959a
mov byte [eax], 0
xor edi, edi
inc edi
lea eax, [esp + 0x3c]
call fcn.1000959a
mov byte [eax], 0
xor edi, edi
lea eax, [esp + 0x3c]
call fcn.1000959a
test bl, 1
mov byte [eax], 0
je 0x1000939f
lea eax, [esp + 0x3c]
call fcn.1000959a
push 3
mov byte [eax], 0x20
pop edi
lea eax, [esp + 0x3c]
call fcn.1000959a
push 2
mov byte [eax], 0
pop edi
lea eax, [esp + 0x3c]
call fcn.1000959a
xor edi, edi
mov byte [eax], 0
inc edi
lea eax, [esp + 0x3c]
call fcn.1000959a
mov byte [eax], 0
mov edi, dword [0x10059558]
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.100095df
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x100093bf
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.1001894d
pop ecx
pop ecx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
call fcn.100095df
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x100093ed
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
call fcn.1001894d
cmp dword [esp + 0x1c], 0
pop ecx
pop ecx
je 0x10009438
mov eax, dword [0x10059558]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x6c]
cmp eax, esi
jbe 0x10009436
push 0x6b
pop eax
mov ecx, str.Cant_fit_into_specified_packet_size
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x1004fa80
lea eax, [esp + 0x18]
jmp 0x10008e98
sub esi, eax
push dword [ebp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.100029ff
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x10009453
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
call fcn.1001894d
mov eax, dword [esp + 0x90]
pop ecx
or ebx, 0xffffffff
cmp esi, eax
pop ecx
mov dword [esp + 0xc], eax
jae 0x1000949c
shr esi, 2
mov edi, esi
jmp 0x10009493
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x44]
call fcn.10002d86
dec edi
test edi, edi
jg 0x10009480
jmp 0x1000951d
sub esi, eax
lea edi, [eax + 0x190]
cmp esi, edi
mov dword [ebp + 0x18], esi
jb 0x100094f6
mov dword [esp + 0x14], 0x64
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0
jg 0x100094b3
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x7c]
call fcn.10002d86
mov eax, 0xfffffe70
sub eax, dword [esp + 0xc]
add dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], edi
jae 0x100094ab
mov esi, dword [ebp + 0x18]
shr esi, 2
mov edi, esi
jmp 0x10009507
lea eax, [esp + 0x44]
call fcn.10002d86
dec edi
test edi, edi
mov esi, dword [0x10059558]
push ebx
push 0
jg 0x100094fd
lea eax, [esp + 0x7c]
call fcn.10002d86
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x60]
call fcn.10002d86
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.10002a38
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x7c]
call fcn.10002a38
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.10002a38
mov eax, dword [0x10059558]
cmp dword [eax + 0x18], 0x10
jb 0x10009566
mov ecx, dword [eax + 4]
jmp 0x10009569
lea ecx, [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x10]
push 0
mov dword [ecx], eax
push 1
lea ecx, [esp + 0x60]
call fcn.10002a38
mov ecx, dword [esp + 0x94]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20