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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018db2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4bc
mov eax, 0xd
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], eax
push esi
lea eax, [esp + 0x14]
push edi
push eax
push str.BitsPerCoordinate
mov ecx, ebx
call fcn.100ad0d0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
xor edi, edi
cmp eax, edi
je 0x100ba10f
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], edx
call fcn.100986a0
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.BitsPerComponent
call fcn.100ad0d0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x100ba108
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], edx
call fcn.100986a0
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], edi
cmp eax, 4
lea eax, [esp + 0x18]
mov dword [esp + 0x84], edi
push eax
jne 0x100b9953
push str.BitsPerFlag
mov ecx, ebx
call fcn.100ad0d0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x100b9949
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], edx
jmp 0x100b997b
push str.Missing_or_invalid_BitsPerFlag_in_shading_dictionary
jmp 0x100ba114
push str.VerticesPerRow
mov ecx, ebx
call fcn.100ad0d0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x100ba101
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x18]
call fcn.100986a0
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.Decode
call fcn.100ad0d0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 6
sete cl
mov eax, ecx
cmp eax, edi
je 0x100ba0fa
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0xc], 6
jl 0x100ba0fa
lea edx, [esp + 0x68]
push edx
push edi
call fcn.100b2f80
cmp dword [eax], 1
jne 0x100b99d3
fild dword [eax + 8]
fstp qword [esp + 0x8c]
jmp 0x100b99e7
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
lea ecx, [esp + 0x68]
call fcn.100986a0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 1
call fcn.100b2f80
cmp dword [eax], 1
jne 0x100b9a0e
fild dword [eax + 8]
fstp qword [esp + 0x5c]
jmp 0x100b9a1c
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x68]
call fcn.100986a0
fld qword [0x10192318]
fild dword [esp + 0x88]
call fcn.10056160
fsub qword [0x10191600]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 2
fstp qword [esp + 0x34]
fld qword [esp + 0x64]
fsub qword [esp + 0x94]
fdiv qword [esp + 0x34]
fstp qword [esp + 0xc4]
call fcn.100b2f80
cmp dword [eax], 1
jne 0x100b9a75
fild dword [eax + 8]
fstp qword [esp + 0x5c]
jmp 0x100b9a83
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x68]
call fcn.100986a0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 3
call fcn.100b2f80
cmp dword [eax], 1
jne 0x100b9aaa
fild dword [eax + 8]
fstp qword [esp + 0xc]
jmp 0x100b9ab8
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x68]
call fcn.100986a0
fld qword [esp + 0xc]
fsub qword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
xor esi, esi
fdiv qword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
cmp eax, 5
fstp qword [esp + 0xb4]
jle 0x100b9b90
mov edi, 5
cmp edi, 0x45
jge 0x100b9b8e
lea eax, [esp + 0x68]
lea edx, [edi - 1]
push eax
push edx
call fcn.100b2f80
cmp dword [eax], 1
jne 0x100b9b0c
fild dword [eax + 8]
jmp 0x100b9b0f
fld qword [eax + 8]
fst qword [esp + 0x2c]
fstp qword [esp + esi*8 + 0x1c8]
lea ecx, [esp + 0x68]
call fcn.100986a0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push edi
call fcn.100b2f80
cmp dword [eax], 1
jne 0x100b9b3c
fild dword [eax + 8]
jmp 0x100b9b3f
fld qword [eax + 8]
fst qword [esp + 0xc]
fstp qword [esp + esi*8 + 0x3c8]
lea ecx, [esp + 0x68]
call fcn.100986a0
mov ecx, dword [esp + 0x80]
mov edx, 1
fld qword [esp + 0xc]
fsub qword [esp + 0x2c]
shl edx, cl
mov ecx, dword [esp + 0x20]
add edi, 2
mov eax, dword [ecx + 0xc]
dec edx
inc esi
mov dword [esp + 0xc], edx
cmp edi, eax
fild dword [esp + 0xc]
fdivp st(1)
fstp qword [esp + esi*8 + 0x2c0]
jl 0x100b9aeb
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], esi
call fcn.100986a0
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.Function
call fcn.100ad0d0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 5
sete cl
mov eax, ecx
cmp eax, edi
jne 0x100b9c82
cmp dword [esp + 0x18], 6
jne 0x100b9c5d
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
cmp eax, 0x20
mov dword [esp + 0x58], eax
jle 0x100b9c03
push str.Invalid_Function_array_in_shading_dictionary
push 0xffffffffffffffff
call fcn.100912b0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp eax, edi
jle 0x100b9c86
mov ebx, dword [esp + 0x58]
lea edi, [esp + 0xc8]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push esi
call fcn.100b2f80
lea ecx, [esp + 0x68]
push ecx
call fcn.100e3100
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x100b9c4b
lea ecx, [esp + 0x68]
call fcn.100986a0
inc esi
add edi, 4
cmp esi, ebx
jl 0x100b9c14
xor edi, edi
jmp 0x100b9c86
lea ecx, [esp + 0x18]
call fcn.100986a0
lea ecx, [esp + 0x68]
jmp 0x100ba122
lea edx, [esp + 0x18]
mov dword [esp + 0x58], 1
push edx
call fcn.100e3100
add esp, 4
cmp eax, edi
mov dword [esp + 0xc8], eax
jne 0x100b9c86
jmp 0x100ba11e
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
call fcn.100986a0
push 0xc
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x7c], edi
call fcn.1005473e
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov dword [esp + 0x4d0], edi
je 0x100b9cdc
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, eax
call fcn.100b9510
mov dword [esp + 0x38], eax
jmp 0x100b9ce0
mov dword [esp + 0x38], edi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x4d0], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], edi
cmp dword [ebp + 8], 4
jne 0x100b9d20
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x78]
mov ecx, esi
push edx
push eax
call fcn.100b9540
test eax, eax
je 0x100b9fae
jmp 0x100b9d24
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
lea ecx, [esp + 0x94]
push ecx
push edi
mov ecx, esi
call fcn.100b9540
test eax, eax
je 0x100b9fae
lea edx, [esp + 0x98]
mov ecx, esi
push edx
push edi
call fcn.100b9540
test eax, eax
je 0x100b9fae
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
jle 0x100b9d9a
lea esi, [esp + 0x148]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
push esi
push eax
call fcn.100b9540
test eax, eax
je 0x100b9d90
mov eax, dword [esp + 0x44]
inc edi
add esi, 4
cmp edi, eax
jl 0x100b9d6c
jmp 0x100b9d9a
cmp edi, dword [esp + 0x44]
jl 0x100b9faa
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x100b9dd3
test eax, eax
jne 0x100b9db1
mov eax, 0x10
jmp 0x100b9db3
add eax, eax
mov ecx, dword [esp + 0x48]
push 0x90
push eax
push ecx
mov dword [esp + 0x88], eax
call fcn.100af970
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x100b9dd7
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x94]
xor esi, esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], esi
fild qword [esp + 0x9c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa8], esi
fmul qword [esp + 0xbc]
fadd qword [esp + 0x8c]
fstp qword [ecx + eax]
mov edx, dword [esp + 0x98]
mov dword [esp + 0xa4], edx
fild qword [esp + 0xa4]
fmul qword [esp + 0xb4]
fadd qword [esp + 0x5c]
fstp qword [ecx + eax + 8]
cmp dword [esp + 0x44], esi
jle 0x100b9e95
mov eax, ecx
mov ecx, dword [esp + 0x48]
lea edi, [esp + 0x148]
lea ebx, [eax + ecx + 0x10]
mov edx, dword [edi]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], edx
fild qword [esp + 0xac]
fmul qword [esp + esi*8 + 0x2c8]
fadd qword [esp + esi*8 + 0x1c8]
fmul qword [0x10193a98]
call fcn.10056138
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
inc esi
add edi, 4
add ebx, 4
cmp esi, eax
jl 0x100b9e4c
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
inc esi
add edx, 0x90
inc ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
call fcn.100b9600
cmp dword [ebp + 8], 4
jne 0x100b9d20
mov esi, dword [esp + 0x54]
test esi, esi
je 0x100b9fa0
mov edi, 1
cmp esi, edi
je 0x100b9fa0
cmp esi, 2
je 0x100b9ef7
mov eax, dword [esp + 0x78]
test eax, eax
ja 0x100b9ef7
mov dword [esp + 0x54], edi
jmp 0x100b9cf8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jne 0x100b9f2d
test eax, eax
jne 0x100b9f0e
mov eax, 0x10
jmp 0x100b9f10
add eax, eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [eax + eax*2]
push 4
push eax
push ecx
call fcn.100af970
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x100b9f31
mov eax, dword [esp + 0x28]
cmp esi, 2
jne 0x100b9f55
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], 3
lea ecx, [edx - 1]
lea esi, [ecx - 1]
mov dword [ebx + eax], esi
mov dword [ebx + eax + 4], ecx
mov dword [ebx + eax + 8], edx
jmp 0x100b9f8b
cmp dword [esp + 0x78], edi
jne 0x100b9f74
mov edx, dword [ebx + eax - 8]
mov dword [ebx + eax], edx
mov ecx, dword [ebx + eax - 4]
mov edx, dword [esp + 0x40]
mov dword [ebx + eax + 4], ecx
mov dword [ebx + eax + 8], edx
jmp 0x100b9f8b
mov ecx, dword [ebx + eax - 0xc]
mov dword [ebx + eax], ecx
mov edx, dword [ebx + eax - 4]
mov ecx, dword [esp + 0x40]
mov dword [ebx + eax + 4], edx
mov dword [ebx + eax + 8], ecx
mov ecx, dword [esp + 0x34]
inc ecx
add ebx, 0xc
mov dword [esp + 0x34], ecx
mov dword [esp + 0xc], ebx
jmp 0x100b9cf8
inc esi
mov dword [esp + 0x54], esi
jmp 0x100b9cf8
mov esi, dword [esp + 0x38]
test esi, esi
je 0x100b9fc2
mov ecx, esi
call fcn.100b9530
push esi
call fcn.10054626
add esp, 4
cmp dword [ebp + 8], 5
jne 0x100ba06e
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
cdq
idiv ecx
dec ecx
push 4
mov edi, eax
lea ebx, [edi + edi - 2]
imul ebx, ecx
mov dword [esp + 0x38], ebx
lea edx, [ebx + ebx*2]
push edx
call fcn.100af8e0
mov dword [esp + 0x30], eax
lea eax, [edi - 1]
add esp, 8
xor esi, esi
test eax, eax
jle 0x100ba072
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0xc], eax
lea edi, [ecx - 1]
test edi, edi
jle 0x100ba053
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*2]
mov ebx, edi
lea eax, [eax + edx*4]
lea edx, [ecx - 1]
inc esi
mov dword [eax], edx
lea edx, [edi + ecx]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
add eax, 0xc
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
add eax, 0xc
add edx, ecx
inc esi
mov dword [eax - 4], edx
inc ecx
dec ebx
jne 0x100ba027
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
jne 0x100ba013
jmp 0x100ba072
mov ebx, dword [esp + 0x34]
push 0x158
call fcn.1005473e
add esp, 4
test eax, eax
je 0x100ba0af
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x54]
push ebx
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, eax
call fcn.100b9610
mov esi, eax
jmp 0x100ba0b1
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.100b7a90
test eax, eax
jne 0x100ba0e3
test esi, esi
je 0x100ba127
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor eax, eax
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Missing_or_invalid_Decode_array_in_shading_dictionary
jmp 0x100ba114
push str.Missing_or_invalid_VerticesPerRow_in_shading_dictionary
jmp 0x100ba114
push str.Missing_or_invalid_BitsPerComponent_in_shading_dictionary
jmp 0x100ba114
push str.Missing_or_invalid_BitsPerCoordinate_in_shading_dictionary
push 0xffffffffffffffff
call fcn.100912b0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.100986a0
mov ecx, dword [esp + 0x4c8]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret