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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x101cc284]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], esi
push edi
test eax, eax
jne 0x100ec2f2
push 0x80004003
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
cmp edx, 8
jbe 0x100ec302
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jae 0x100ec314
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
mov eax, dword [esi]
lea edi, [edx*8 + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x5c], eax
test ecx, ecx
je 0x100ec36b
lea esi, [ebx + 0xc]
mov edi, ecx
mov eax, dword [esi - 0xc]
lea ecx, [esi - 0xc]
cmp eax, dword [esi - 4]
jge 0x100ec35f
mov eax, dword [esi - 8]
cmp eax, dword [esi]
jge 0x100ec35f
push ecx
lea ecx, [esp + 0x54]
call fcn.100585b0
add esi, 0x10
sub edi, 1
jne 0x100ec343
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100ec37c
push eax
lea ecx, [esp + 0x54]
call fcn.10048030
mov edx, dword [esp + 0x4c]
xor esi, esi
fld1
mov dword [esp + 0x1c], esi
lea ebx, [edi + edx]
mov eax, ebx
add ebx, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x90], eax
mov eax, ebx
add ebx, edi
mov dword [esp + 0x30], eax
mov ecx, ebx
mov dword [esp + 0x18], ebx
add ebx, edi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x3c], ebx
lea eax, [ebx + edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xa0], eax
cmp dword [ebp + 0x10], esi
jbe 0x100ec696
mov esi, dword [esp + 0x2c]
lea ebx, [edx + 0x10]
mov eax, dword [esp + 0x38]
sub esi, ecx
fld qword [0x10039b48]
mov edi, ecx
sub dword [esp + 0x2c], edx
add eax, 0xc
mov dword [esp + 0x60], esi
add edi, 0xc
mov esi, edx
mov dword [esp + 0x38], eax
sub esi, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], esi
mov esi, ecx
sub esi, dword [esp + 0x98]
sub ecx, edx
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x98]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x98]
sub dword [esp + 0x24], edx
sub dword [esp + 0x30], edx
fst qword [esp + 0x40]
fld dword [0x10039ee8]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
jmp 0x100ec451
fxch st(1)
mov edx, dword [eax - 4]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ecx
cmp ecx, edx
jge 0x100ec603
mov esi, dword [eax]
mov edx, dword [eax - 8]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edx
cmp edx, esi
jge 0x100ec5ff
mov eax, ecx
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x18]
cdq
sub eax, ecx
mov dword [esp + 0x78], eax
sbb edx, esi
cmp edx, 0xffffffff
jl 0x100ec8cd
jg 0x100ec4a6
cmp eax, 0x80000000
jb 0x100ec8cd
test edx, edx
jg 0x100ec8cd
jl 0x100ec4bb
cmp eax, 0x7fffffff
ja 0x100ec8cd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x28]
cdq
sub esi, eax
mov dword [esp + 0x80], esi
sbb ecx, edx
add esi, 0x80000000
adc ecx, 0
test ecx, ecx
ja 0x100ec8cd
jb 0x100ec4f8
cmp esi, 0xffffffff
ja 0x100ec8cd
fild dword [esp + 0x34]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fsub st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fild dword [esp + 0x78]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fdivr st(4)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fild dword [esp + 0x50]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fsub st(2)
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x18]
fstp dword [eax + edi]
fld dword [esp + 0x18]
fst dword [edi]
mov eax, dword [esp + 0x64]
fstp dword [eax + edi]
fild dword [esp + 0x14]
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsubrp st(4)
fxch st(3)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fild dword [esp + 0x80]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fdivr st(5)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fild dword [esp + 0x54]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsub st(2)
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [edi + 4]
fst dword [eax + ebx]
fstp dword [ebx]
fild dword [esp + 0x58]
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsubrp st(3)
fxch st(2)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x20]
fild dword [esp + 0x5c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsubrp st(4)
fxch st(3)
fmulp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fst dword [esp + 0x20]
fstp dword [esp + 0x34]
fxch st(1)
fstp dword [esp + 0x28]
fld qword [esp + 0x40]
jmp 0x100ec631
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
fst dword [ecx + edi]
mov ecx, dword [esp + 0x64]
fst dword [edi]
fst dword [ecx + edi]
mov ecx, dword [esp + 0x24]
fst dword [edi + 4]
fst dword [ecx + ebx]
fst dword [ebx]
fst dword [esp + 0x18]
fst dword [esp + 0x20]
fst dword [esp + 0x34]
fst dword [esp + 0x28]
fxch st(1)
mov ecx, dword [esp + 0x68]
inc esi
fld dword [esp + 0x28]
add eax, 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], eax
fstp dword [ecx + edi]
mov ecx, dword [esp + 0x6c]
fld dword [esp + 0x34]
fstp dword [ecx + edi]
mov ecx, dword [esp + 0x70]
fld dword [esp + 0x20]
fstp dword [ecx + edi]
mov ecx, dword [esp + 0x2c]
add edi, 8
fld dword [esp + 0x18]
fst dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ecx + ebx]
mov ecx, dword [esp + 0x74]
fstp dword [ecx + ebx]
mov ecx, dword [esp + 0x30]
fstp dword [ecx + ebx]
add ebx, 8
cmp esi, dword [ebp + 0x10]
jb 0x100ec44f
mov ebx, dword [esp + 0x3c]
fstp st(0)
fstp st(0)
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [edi + 8]
cdq
sub eax, ecx
mov dword [esp + 0x40], eax
sbb edx, esi
add eax, 0x80000000
adc edx, 0
test edx, edx
ja 0x100ec8d1
jb 0x100ec6c8
cmp eax, 0xffffffff
ja 0x100ec8d1
mov eax, dword [esp + 0x50]
sub eax, dword [edi]
add eax, eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fild dword [esp + 0x40]
fstp dword [esp + 0x10]
fdiv dword [esp + 0x10]
mov eax, dword [esp + 0xa0]
fsub st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x10]
fstp dword [eax]
mov eax, dword [esp + 0x98]
fld dword [esp + 0x10]
fst dword [eax]
fstp dword [esi]
mov eax, dword [edi + 0xc]
cdq
mov dword [esp + 0x1c], eax
mov ecx, edx
mov eax, dword [edi + 4]
cdq
sub dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
sbb ecx, edx
mov dword [esp + 0x40], eax
add eax, 0x80000000
adc ecx, 0
test ecx, ecx
ja 0x100ec8d1
jb 0x100ec74d
cmp eax, 0xffffffff
ja 0x100ec8d1
mov eax, dword [edi + 4]
sub eax, dword [esp + 0x54]
add eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fild dword [esp + 0x40]
fstp dword [esp + 0x10]
fdiv dword [esp + 0x10]
mov eax, dword [esp + 0x98]
fadd st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x10]
fstp dword [eax + 4]
mov eax, dword [esp + 0x90]
fld dword [esp + 0x10]
fst dword [eax + 4]
fstp dword [esi + 4]
mov eax, dword [edi]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [edi + 8]
cdq
sub eax, ecx
mov dword [esp + 0x40], eax
sbb edx, esi
add eax, 0x80000000
adc edx, 0
test edx, edx
ja 0x100ec8d1
jb 0x100ec7c9
cmp eax, 0xffffffff
ja 0x100ec8d1
mov eax, dword [esp + 0x58]
sub eax, dword [edi]
add eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fild dword [esp + 0x40]
fstp dword [esp + 0x10]
fdiv dword [esp + 0x10]
mov eax, dword [esp + 0x94]
fsub st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x10]
fstp dword [ebx]
fld dword [esp + 0x10]
fst dword [eax]
mov eax, dword [esp + 0x90]
fstp dword [eax]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 4]
cdq
mov edi, eax
mov ecx, edx
mov eax, esi
cdq
sub edi, eax
mov dword [esp + 0x40], edi
sbb ecx, edx
add edi, 0x80000000
adc ecx, 0
test ecx, ecx
ja 0x100ec8d1
jb 0x100ec845
cmp edi, 0xffffffff
ja 0x100ec8d1
sub esi, dword [esp + 0x5c]
add esi, esi
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
pop edi
pop esi
fstp dword [esp + 8]
fld dword [esp + 8]
fild dword [esp + 0x38]
fstp dword [esp + 8]
fdiv dword [esp + 8]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
faddp st(1)
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esp + 8]
fstp dword [eax + 4]
fld dword [esp + 8]
fst dword [ebx + 4]
fstp dword [ecx + 4]
fld1
fst dword [eax + 8]
mov eax, dword [esp + 0x90]
fst dword [ebx + 8]
pop ebx
fst dword [eax + 8]
mov eax, dword [esp + 0x84]
fst dword [ecx + 8]
mov ecx, dword [esp + 0x98]
xor ecx, esp
fst dword [eax + 8]
mov eax, dword [esp + 0x40]
fstp dword [eax + 8]
call fcn.1003b8a2
mov esp, ebp
pop ebp
ret 0x10
fstp st(1)
fstp st(0)
fstp st(0)
call fcn.10042180
int3