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

Disassembly:
push 0xffffffffffffffff
push 0x1019e0b7
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x150]
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
test eax, eax
je 0x1007f82c
cmp esi, ebp
jne 0x1007f2c0
push str.copy__int32__int32__const_eim_Image__const_ets_IntRect__const_eim_YuvSampleType__:
push str.eim_SegmLCByteImage::_s_destination_and_source_is_the_same_image
lea eax, [esp + 0x1c]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea eax, [esp + 0x18]
push eax
call fcn.1017d044
cmp dword [ebp + 0x18], 0
je 0x1007f2eb
push str.copy__int32__int32__const_eim_Image__const_ets_IntRect__const_eim_YuvSampleType__:
push str.eim_SegmLCByteImage::_s_log2SizeRatioE___0__do_log2SizeRatio__0___first_
lea eax, [esp + 0x1c]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea ecx, [esp + 0x18]
push ecx
call fcn.1017d044
mov eax, dword [ebp + 0x14]
lea edi, [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x3c]
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
cmp eax, ebx
jne 0x1007f8ee
mov eax, dword [ebp + 0x14]
lea edi, [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0x40]
mov ecx, edi
call eax
cmp eax, ebx
jne 0x1007f8ee
lea eax, [esp + 0x30]
call fcn.10048e10
mov dword [esp + 0x140], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
push eax
push 0
push 0
lea eax, [esp + 0x120]
call fcn.10049010
mov esi, dword [esp + 0x154]
lea eax, [esp + 0x110]
mov ecx, esi
lea edx, [esp + 0x30]
call fcn.100493a0
lea eax, [esp + 0x58]
call fcn.10048e10
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edi, dword [esp + 0x14c]
sub eax, edx
sub ecx, ebx
mov ebx, dword [esp + 0x148]
add eax, edi
push eax
add ecx, ebx
push ecx
push edi
push ebx
lea eax, [esp + 0xd0]
call fcn.10049010
mov byte [esp + 0x140], 3
mov edx, dword [ebp]
mov eax, dword [edx + 0x40]
mov ecx, ebp
call eax
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebp
call eax
push eax
push 0
push 0
lea eax, [esp + 0xf8]
call fcn.10049010
lea eax, [esp + 0xe8]
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x58]
call fcn.100493a0
mov edx, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
mov ecx, esi
sub edx, edi
sub ecx, ebx
lea eax, [esp + 0x80]
call fcn.10050290
lea ecx, [esp + 0x58]
push ecx
mov edi, eax
lea ebx, [esp + 0x90]
mov byte [esp + 0x144], 5
call fcn.10073970
mov edi, eax
lea esi, [esp + 0xc0]
call fcn.100490c0
mov eax, ebx
call fcn.10001c50
mov eax, esi
lea ecx, [esp + 0x30]
lea edx, [esp + 0x58]
call fcn.100493a0
lea edi, [esp + 0x58]
lea esi, [esp + 0x30]
call fcn.100490c0
fld qword [0x101e9408]
sub esp, 8
lea esi, [esp + 0x88]
fstp qword [esp]
call fcn.10050320
lea edx, [esp + 0x30]
push edx
mov edi, esi
lea ebx, [esp + 0x90]
call fcn.10073970
mov edi, eax
lea esi, [esp + 0x58]
call fcn.100490c0
mov eax, ebx
call fcn.10001c50
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x150]
sub esi, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, ebx
mov dword [esp + 0x28], esi
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
mov ecx, ebp
call edx
mov edi, eax
lea eax, [esp + 0x30]
mov dword [esp + 0x24], edi
call fcn.10048df0
test al, al
jne 0x1007f8c9
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov ecx, 0x10221598
call fcn.10062a30
test al, al
je 0x1007f576
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x70]
lea ecx, [eax + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
push ebx
push edx
call eax
imul ebx, edi
mov ecx, dword [ebp + 0x14]
add ebx, dword [esp + 0x64]
test esi, esi
mov edx, dword [ecx + 4]
lea ecx, [edx + ebx*2]
jle 0x1007f7f6
mov ebp, dword [esp + 0x20]
sub edi, ebp
add edi, edi
mov bl, 0x80
test ebp, ebp
mov edx, ebp
jle 0x1007f568
mov eax, ecx
sub edx, 1
add ecx, 2
test edx, edx
mov byte [eax], bl
mov byte [eax + 1], bl
jg 0x1007f557
sub esi, 1
add ecx, edi
test esi, esi
jg 0x1007f551
jmp 0x1007f7f6
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov ecx, 0x102216e8
call fcn.10062a30
test al, al
je 0x1007f66c
mov esi, dword [esp + 0x40]
imul esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 0xc]
imul eax, edi
mov edi, dword [ecx + 4]
add esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
mov edx, dword [ebp + 0x14]
add edi, eax
add eax, ecx
add edi, ecx
mov ecx, dword [edx + 4]
lea esi, [esi + esi*2]
add esi, dword [ebx - 0x18]
lea ebx, [ecx + eax*2]
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x1007f7f6
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
sub eax, ebp
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x24]
sub eax, ebp
add eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
test ebp, ebp
jle 0x1007f64a
jmp 0x1007f600
movzx eax, byte [esi + 2]
movzx ecx, byte [esi + 1]
imul eax, eax, 0x1d2f
movzx edx, byte [esi]
imul ecx, ecx, 0x9645
imul edx, edx, 0x4c8c
add eax, ecx
lea eax, [eax + edx + 0x8000]
sar eax, 0x10
mov byte [edi], al
mov eax, esi
add edi, 1
call fcn.1007c6d0
sub ebp, 1
add esi, 3
add ebx, 2
test ebp, ebp
jg 0x1007f600
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esi, dword [esp + 0x14]
sub ecx, ebp
add edi, ecx
mov ecx, dword [esp + 0x28]
sub ecx, 1
add ebx, eax
test ecx, ecx
mov dword [esp + 0x28], ecx
jg 0x1007f5f1
jmp 0x1007f7f6
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov ecx, 0x10221718
call fcn.10062a30
test al, al
mov edx, dword [ebx]
mov ecx, ebx
je 0x1007f89b
mov eax, dword [ebx + 0x14]
lea edi, [eax + 0x1c]
mov eax, dword [edx + 0x3c]
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x3c]
mov ecx, edi
mov dword [esp + 0x14], eax
call edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x1007f848
mov eax, dword [ebx + 0x14]
lea edi, [eax + 0x1c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
mov ecx, edi
mov dword [esp + 0x14], eax
call edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x1007f848
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1007f6e3
lea edx, [eax + 0x1c]
jmp 0x1007f6e5
xor edx, edx
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x30]
push edi
mov edi, dword [esp + 0x6c]
lea ecx, [eax + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
push edx
mov edx, dword [esp + 0x6c]
push edi
push edx
call eax
cmp dword [ebx + 0x18], 0
jne 0x1007f78a
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x14]
imul edx, ecx
add edx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx + 4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x24]
imul edi, edx
add edi, dword [esp + 0x64]
test esi, esi
lea edi, [ebx + edi*2]
jle 0x1007f7f6
mov ebp, dword [esp + 0x20]
sub ecx, ebp
add ecx, ecx
sub edx, ebp
add edx, edx
mov ebx, ecx
mov dword [esp + 0x1c], edx
jmp 0x1007f757
mov ebp, dword [esp + 0x20]
cmp dword [esp + 0x20], 0
jle 0x1007f77b
mov edi, edi
movzx edx, byte [eax]
mov ecx, edi
mov byte [ecx], dl
movzx edx, byte [eax + 1]
sub ebp, 1
add edi, 2
add eax, 2
test ebp, ebp
mov byte [ecx + 1], dl
jg 0x1007f760
add edi, dword [esp + 0x1c]
sub esi, 1
add eax, ebx
test esi, esi
jg 0x1007f753
jmp 0x1007f7f6
lea eax, [esp + 0x8c]
push eax
call fcn.1007dac0
lea ecx, [esp + 0x30]
push ecx
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0x148], 6
call fcn.1007ef00
mov edx, dword [esp + 0x158]
push edx
xor ecx, ecx
lea edx, [esp + 0x90]
call fcn.1007e2f0
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push ebp
lea esi, [esp + 0x9c]
mov dword [esp + 0x24], 1
call fcn.1007cb20
mov eax, esi
mov byte [esp + 0x140], 5
call fcn.1001fda0
lea ecx, [esp + 0x108]
call fcn.10049090
lea ecx, [esp + 0xe0]
call fcn.10049090
lea ecx, [esp + 0x78]
call fcn.10049090
lea ecx, [esp + 0x130]
call fcn.10049090
lea ecx, [esp + 0x50]
call fcn.10049090
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 0x14
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx]
lea esi, [eax + 0x1c]
mov eax, dword [edx + 0x40]
mov ecx, ebx
call eax
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
push eax
push str.copy__int32__int32__const_eim_Image__const_ets_IntRect__const_eim_YuvSampleType__:
push str.eim_SegmLCByteImage::_s_uvImage_has_different_size_than_yImage:__dx_d_versus__dx_d
lea eax, [esp + 0x2c]
call fcn.100595b0
add esp, 0x18
push 0x102051a0
lea ecx, [esp + 0x18]
push ecx
call fcn.1017d044
mov eax, dword [edx + 8]
call eax
mov ecx, dword [eax + 4]
push str.copy__int32__int32__const_eim_Image__const_ets_IntRect__const_eim_YuvSampleType__:
push ecx
push str.eim_SegmLCByteImage::_s_instance_of_imageA__s_is_not_handled
lea eax, [esp + 0x20]
call fcn.100595b0
add esp, 0xc
push 0x102051a0
lea edx, [esp + 0x18]
push edx
call fcn.1017d044
push str.copy__int32__int32__const_eim_Image__const_ets_IntRect__const_eim_YuvSampleType__:
push str.eim_SegmLCByteImage::_s_no_section_shared_by_destination_and_source_rectangle
lea eax, [esp + 0x30]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea eax, [esp + 0x2c]
push eax
call fcn.1017d044
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x1c]
mov ebp, dword [ebp + 0x14]
lea esi, [eax + 0x1c]
mov eax, dword [edx + 0x40]
mov ecx, esi
lea edi, [ebp + 0x1c]
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x40]
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
push eax
push str.copy__int32__int32__const_eim_Image__const_ets_IntRect__const_eim_YuvSampleType__:
push str.eim_SegmLCByteImage::_s_uvImage_has_different_size_than_yImage:__dx_d_versus__dx_d
lea eax, [esp + 0x2c]
call fcn.100595b0
add esp, 0x18
push 0x102051a0
lea ecx, [esp + 0x18]
push ecx
call fcn.1017d044
int3