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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
push ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x68], ebx
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x10087285
push str.GetPixel___pComponentValues_invalid
push str.invalid_pointer_:_pComponentValues
push ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.10008360
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
cmp dword [ebp - 8], 8
jb 0x10087213
push dword [ebp - 0x1c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x38], 8
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
jb 0x10087235
push dword [ebp - 0x4c]
call fcn.10022bb0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x1cb
push str..........._runtime_srccoreSurfaceImpl.cpp
call fcn.10026a30
add esp, 0x18
cmp dword [ebp - 0x20], 8
jb 0x100873ae
push dword [ebp - 0x34]
call fcn.10022bb0
pop esi
mov eax, 7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
jne 0x1008730f
push str.GetPixel___pComponentIDs_invalid
push str.invalid_pointer_:_pComponentIDs
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.10008360
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10007800
add esp, 0xc
cmp dword [ebp - 0x20], 8
jb 0x100872ce
push dword [ebp - 0x34]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jb 0x100872f0
push dword [ebp - 0x4c]
call fcn.10022bb0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x1cc
jmp 0x10087393
test ebx, ebx
jne 0x100873c5
push str.GetPixel___pSize_invalid
push str.invalid_pointer_:_pSize
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.10008360
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10007800
add esp, 0xc
cmp dword [ebp - 0x20], 8
jb 0x10087357
push dword [ebp - 0x34]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jb 0x10087379
push dword [ebp - 0x4c]
call fcn.10022bb0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x1cd
push str..........._runtime_srccoreSurfaceImpl.cpp
call fcn.10026a30
add esp, 0x18
cmp dword [ebp - 8], 8
jb 0x100873ae
push dword [ebp - 0x1c]
call fcn.10022bb0
pop esi
mov eax, 7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push eax
call fcn.10025620
mov ecx, eax
mov dword [ebp - 0x58], ecx
test ecx, ecx
jne 0x10087467
push str.GetPixel:_surface_format_not_supported
push str.surfaceFormatDesc___0
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.10008360
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x1d0
push str..........._runtime_srccoreSurfaceImpl.cpp
call fcn.10026a30
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.10006a50
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx]
cmp eax, dword [ecx + 8]
jae 0x100874fc
push str.GetPixel___memory_is_insufficient
push str._pSize____surfaceFormatDesc__componentNumber
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.10008360
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x1d2
push str..........._runtime_srccoreSurfaceImpl.cpp
call fcn.10026a30
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.10006a50
pop esi
mov eax, 5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [ebp + 0xc]
test ebx, ebx
js 0x10087b08
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp ebx, eax
jge 0x10087b08
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x10087aa5
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp ebx, eax
jge 0x10087aa5
mov eax, dword [ebp - 0x58]
mov ebx, 1
push edi
xor edi, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
cmp dword [eax + 8], edi
jbe 0x1008758c
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x5c]
push eax
call fcn.10025a20
mov eax, dword [ebp - 0x60]
cmp ebx, eax
cmovg eax, ebx
mov ebx, eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x50], eax
cmovg eax, dword [ebp - 0x50]
inc edi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
cmp edi, dword [eax + 8]
jb 0x10087554
mov dword [ebp - 0x54], ebx
mov eax, dword [esi]
push esi
mov dword [ebp - 0x60], 0
call dword [eax + 0x34]
sub eax, 1
je 0x10087968
mov ebx, dword [esi + 0x20]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi]
push 0
push 1
mov dword [ebp - 0x58], 0
mov edi, dword [ebx]
push esi
call dword [eax + 0x5c]
push eax
call fcn.100257f0
push eax
mov eax, dword [esi]
push 0
push 1
push esi
call dword [eax + 0x5c]
push eax
call fcn.10025ac0
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x34]
push eax
push ebx
call dword [edi + 0xb0]
mov edi, eax
test edi, edi
je 0x10087651
push str.GetPixel_____AllocSurface___failed
push 0x100c6538
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.100267a0
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x215
jmp 0x10087728
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov edi, dword [ebp - 0x54]
cdq
idiv edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x64], edx
cdq
idiv ebx
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x64]
sub eax, edx
mov dword [ebp - 0x5c], eax
add eax, ebx
mov dword [ebp - 0x60], eax
mov eax, dword [esi]
push 0
push esi
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x54], ecx
call dword [eax + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0x54]
add ecx, edi
cmp ecx, eax
jg 0x10087844
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp - 0x60], eax
jg 0x10087844
mov eax, dword [esi]
push ebx
push edi
push dword [ebp - 0x5c]
push dword [ebp - 0x54]
push 0
push 0
push dword [ebp - 0x58]
push esi
call dword [eax + 0x78]
mov edi, eax
test edi, edi
je 0x10087742
push str.GetPixel_____CopySurfaceRegion___failed
push 0x100c6538
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.100267a0
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x22b
push str..........._runtime_srccoreSurfaceImpl.cpp
call fcn.10026a30
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.10006a50
jmp 0x10087946
mov eax, dword [ebp - 0x58]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edi, eax
test edi, edi
je 0x100877b5
push str.GetPixel_____Convert_to_HOST_for_pixel_Failed
push 0x100c6538
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.100267a0
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x22e
jmp 0x10087728
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x100877f6
lea edx, [ebp - 0x50]
mov dword [ebp - 0x14], 0xb242af9
push edx
mov dword [ebp - 0x10], 0x478c22a9
lea edx, [ebp - 0x14]
mov dword [ebp - 0xc], 0xd6a03c8b
mov dword [ebp - 8], 0x31545281
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 8]
test eax, eax
jne 0x100877f6
mov esi, dword [ebp - 0x50]
jmp 0x100877fb
xor esi, esi
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp - 0x68]
mov eax, dword [esi]
push ecx
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x84]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x60], eax
call dword [ecx + 4]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x10087a8f
mov edx, dword [ecx]
push ecx
call dword [edx + 4]
mov eax, dword [ebp - 0x60]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
lea ecx, [ebp - 0x54]
push ecx
push 1
push esi
mov dword [ebp - 0x54], 0
call dword [eax + 0x38]
mov edi, eax
test edi, edi
je 0x100878d1
push str.GetPixel_____Duplicate_Failed
push 0x100c6538
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.100267a0
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x226
push str..........._runtime_srccoreSurfaceImpl.cpp
call fcn.10026a30
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.10006a50
jmp 0x10087939
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x10087912
lea edx, [ebp - 0x50]
mov dword [ebp - 0x14], 0xb242af9
push edx
mov dword [ebp - 0x10], 0x478c22a9
lea edx, [ebp - 0x14]
mov dword [ebp - 0xc], 0xd6a03c8b
mov dword [ebp - 8], 0x31545281
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 8]
test eax, eax
jne 0x10087912
mov esi, dword [ebp - 0x50]
jmp 0x10087917
xor esi, esi
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi]
push ecx
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push edx
push dword [ebp + 0xc]
push esi
call dword [eax + 0x84]
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10087946
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x10087953
mov edx, dword [ecx]
push ecx
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], 0
mov dword [ecx], 0
cmp dword [eax + 8], 0
jbe 0x10087a8f
lea edx, [eax + 0x14]
mov dword [ebp - 0x5c], edx
nop dword [eax + eax]
mov eax, dword [edx - 8]
mov ecx, dword [edx - 4]
mov dword [ebp - 0x88], eax
mov eax, dword [edx]
mov dword [ebp - 0x80], eax
mov eax, dword [esi]
push ecx
push esi
mov dword [ebp - 0x64], ecx
call dword [eax + 0x5c]
push eax
call fcn.10025a60
mov ecx, dword [esi]
mov edi, eax
push edi
push esi
call dword [ecx + 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [esi]
push edi
push esi
mov dword [ebp - 0x7c], eax
call dword [ecx + 0x68]
mov ecx, dword [esi]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [ecx + 0x68]
mov ecx, dword [esi]
mov ebx, eax
push edi
push esi
call dword [ecx + 0x68]
push dword [ebp - 0x64]
mov ecx, dword [esi]
mov edi, eax
push esi
call dword [ecx + 0x5c]
push eax
call fcn.100259d0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [ebx]
push ebx
mov dword [ebp - 0x78], eax
call dword [ecx + 0x24]
mov ecx, dword [edi]
push edi
call dword [ecx + 0x20]
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
add edi, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 1
push eax
push dword [ebp - 0x64]
mov eax, dword [esi]
push esi
mov dword [ebp - 0x54], 1
call dword [eax + 0x5c]
push eax
call fcn.10025a20
mov eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 0x54]
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ebp - 0x50]
imul ecx, dword [ebp - 0x78]
imul eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x68]
add ecx, edi
movzx ecx, byte [eax + ecx]
mov eax, dword [edx]
mov ebx, dword [ebp - 0x70]
mov dword [ebx + eax*4], ecx
mov eax, dword [edx]
mov ebx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x88]
mov dword [ebx + eax*4], ecx
inc dword [edx]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
inc ecx
mov edx, dword [ebp - 0x5c]
add edx, 0x14
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x5c], edx
cmp ecx, dword [eax + 8]
jb 0x10087990
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x60]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 0x18
push str.GetPixel:_y_is_invalid
push str.y___0__y___GetPlaneAt_0___GetHeight__
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.10008360
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x1d4
jmp 0x100874d0
push str.GetPixel:_x_is_invalid
push str.x___0__x___GetPlaneAt_0___GetWidth__
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.1000af00
add esp, 0x10
push eax
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.10008360
add esp, 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10007800
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.10006a50
lea ecx, [ebp - 0x1c]
call fcn.10006a50
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFSurfaceImpl
push 0
push 0x1d3
jmp 0x100874d0