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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x101bf2c4]
xor eax, esp
mov dword [esp + 0x90], 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 0x100e4102
push 0x80004003
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
cmp edx, 8
ja 0x100e4702
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jb 0x100e4702
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 0x100e416d
lea esi, [ebx + 0xc]
mov edi, ecx
mov eax, dword [esi - 0xc]
lea ecx, [esi - 0xc]
cmp eax, dword [esi - 4]
jge 0x100e4161
mov eax, dword [esi - 8]
cmp eax, dword [esi]
jge 0x100e4161
push ecx
lea ecx, [esp + 0x54]
call fcn.100537e0
add esi, 0x10
sub edi, 1
jne 0x100e4145
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100e417e
push eax
lea ecx, [esp + 0x54]
call fcn.10043eb0
mov edx, dword [esp + 0x4c]
xor esi, esi
fld1
mov dword [esp + 0x2c], esi
lea ebx, [edi + edx]
mov eax, ebx
add ebx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], eax
mov eax, ebx
add ebx, edi
mov dword [esp + 0x28], eax
mov ecx, ebx
mov dword [esp + 0x18], ebx
add ebx, edi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x3c], ebx
lea eax, [ebx + edi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x98], eax
cmp dword [ebp + 0x10], esi
jbe 0x100e448d
mov esi, dword [esp + 0x24]
lea ebx, [edx + 0x10]
mov eax, dword [esp + 0x38]
sub esi, ecx
fld qword [0x10035c28]
mov edi, ecx
sub dword [esp + 0x24], 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 + 0x90]
sub ecx, edx
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x90]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x20]
sub esi, dword [esp + 0x90]
sub dword [esp + 0x20], edx
sub dword [esp + 0x28], edx
fst qword [esp + 0x40]
fld dword [0x10035fc8]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
jmp 0x100e4253
fxch st(1)
mov edx, dword [eax - 4]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ecx
cmp ecx, edx
jge 0x100e43fa
mov esi, dword [eax]
mov edx, dword [eax - 8]
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], edx
cmp edx, esi
jge 0x100e43f6
mov eax, ecx
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x18]
cdq
sub eax, ecx
sbb edx, esi
cmp edx, 0xffffffff
jl 0x100e470d
jg 0x100e42a4
cmp eax, 0x80000000
jb 0x100e470d
test edx, edx
jg 0x100e470d
jl 0x100e42b9
cmp eax, 0x7fffffff
ja 0x100e470d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x34]
cdq
sub eax, ecx
mov dword [esp + 0x78], eax
sbb edx, esi
add eax, 0x80000000
adc edx, 0
test edx, edx
ja 0x100e470d
jb 0x100e42f2
cmp eax, 0xffffffff
ja 0x100e470d
fild dword [esp + 0x30]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x2c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fsub st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fdivr st(4)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fild dword [esp + 0x50]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsub st(2)
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x14]
fstp dword [eax + edi]
fld dword [esp + 0x14]
fst dword [edi]
mov eax, dword [esp + 0x64]
fstp dword [eax + edi]
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
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 + 0x78]
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 + 0x1c]
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 + 0x1c]
fst dword [esp + 0x1c]
fstp dword [esp + 0x34]
fxch st(1)
fstp dword [esp + 0x30]
fld qword [esp + 0x40]
jmp 0x100e4428
mov esi, dword [esp + 0x2c]
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 + 0x20]
fst dword [edi + 4]
fst dword [ecx + ebx]
fst dword [ebx]
fst dword [esp + 0x18]
fst dword [esp + 0x1c]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fxch st(1)
mov ecx, dword [esp + 0x68]
inc esi
fld dword [esp + 0x30]
add eax, 0x10
mov dword [esp + 0x2c], 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 + 0x1c]
fstp dword [ecx + edi]
mov ecx, dword [esp + 0x24]
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 + 0x28]
fstp dword [ecx + ebx]
add ebx, 8
cmp esi, dword [ebp + 0x10]
jb 0x100e4251
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
cmp edx, 0xffffffff
jl 0x100e4711
jg 0x100e44ba
cmp eax, 0x80000000
jb 0x100e4711
test edx, edx
jg 0x100e4711
jl 0x100e44cf
cmp eax, 0x7fffffff
ja 0x100e4711
mov eax, dword [esp + 0x50]
sub eax, dword [edi]
add eax, eax
mov ecx, 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 + 0x98]
fsub st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x10]
fstp dword [eax]
mov eax, dword [esp + 0x90]
fld dword [esp + 0x10]
fst dword [eax]
fstp dword [ecx]
mov eax, dword [edi + 0xc]
cdq
mov esi, eax
mov dword [esp + 0x10], edx
mov eax, dword [edi + 4]
cdq
sub esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], esi
sbb eax, edx
cmp eax, 0xffffffff
jl 0x100e4711
jg 0x100e454e
cmp esi, 0x80000000
jb 0x100e4711
test eax, eax
jg 0x100e4711
jl 0x100e4564
cmp esi, 0x7fffffff
ja 0x100e4711
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 + 0x90]
fadd st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x10]
fstp dword [eax + 4]
mov eax, dword [esp + 0x88]
fld dword [esp + 0x10]
fst dword [eax + 4]
fstp dword [ecx + 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
cmp edx, 0xffffffff
jl 0x100e4711
jg 0x100e45db
cmp eax, 0x80000000
jb 0x100e4711
test edx, edx
jg 0x100e4711
jl 0x100e45f0
cmp eax, 0x7fffffff
ja 0x100e4711
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 + 0x8c]
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 + 0x88]
fstp dword [eax]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
cdq
mov esi, eax
mov edi, edx
mov eax, ecx
cdq
sub esi, eax
mov dword [esp + 0x40], esi
sbb edi, edx
cmp edi, 0xffffffff
jl 0x100e4711
jg 0x100e4667
cmp esi, 0x80000000
jb 0x100e4711
test edi, edi
jg 0x100e4711
jl 0x100e467d
cmp esi, 0x7fffffff
ja 0x100e4711
sub ecx, dword [esp + 0x5c]
add ecx, ecx
mov dword [esp + 0x10], ecx
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 + 0x90]
mov ecx, dword [esp + 0x84]
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 + 0x88]
fst dword [ebx + 8]
pop ebx
fst dword [eax + 8]
mov eax, dword [esp + 0x7c]
fst dword [ecx + 8]
mov ecx, dword [esp + 0x90]
xor ecx, esp
fst dword [eax + 8]
mov eax, dword [esp + 0x40]
fstp dword [eax + 8]
call fcn.101aa740
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
fstp st(1)
fstp st(0)
fstp st(0)
call fcn.1003ddb0
int3