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

Disassembly:
push 0xffffffffffffffff
push 0x10192adc
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x16c]
mov esi, ecx
mov ebx, dword [esp + 0x14c]
fld dword [esp + 0x160]
push ecx
lea ecx, [ebx + 0x10]
fstp dword [esp]
lea eax, [esp + 0x80]
call fcn.10013c30
fld dword [esp + 0x164]
xor edi, edi
mov dword [esp + 0x148], edi
fstp dword [esp]
lea ecx, [ebx + 0x1c]
lea eax, [esp + 0x8c]
call fcn.10013c30
add esp, 4
cmp byte [esp + 0x164], 0
je 0x101045a8
fild dword [ebx + 8]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld st(0)
fsub dword [ebx + 0x20]
fld dword [esp + 0x160]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fld dword [ebx + 0x14]
fsubp st(2)
fmulp st(1)
fstp dword [esp + 0x8c]
mov dword [esp + 0x58], vtable.ert_TmplArr_class_vsi_Rectangle_.0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], 0
mov byte [esp + 0x69], 0
mov byte [esp + 0x144], 2
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x4c]
lea ecx, [ebx + 0x28]
call edx
mov edi, eax
lea ecx, [esp + 0x58]
call fcn.10104c60
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x164]
mov edi, dword [esp + 0x15c]
push eax
push ecx
push ebx
call fcn.101037a0
mov edx, dword [ebx + 0xc0]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x158]
sub esi, eax
mov edi, esi
sub edx, eax
test edi, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], 0
jl 0x10104bbf
lea eax, [ecx - 1]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov eax, ecx
neg eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], esi
jmp 0x1010465e
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x1c], eax
cmp esi, eax
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x3c]
jl 0x10104674
lea eax, [esp + 0x1c]
cmp dword [esp + 0x34], 0
mov esi, dword [eax]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], 0
jl 0x10104ba5
mov edi, dword [esp + 0x34]
mov eax, ecx
neg eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], edi
cmp edi, dword [esp + 0x54]
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x1c]
jl 0x101046b3
lea eax, [esp + 0x54]
mov eax, dword [eax]
xor edx, edx
test ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jle 0x10104b87
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ecx, [ecx]
test edx, edx
jne 0x101046d8
mov eax, esi
jmp 0x101046e2
mov eax, edx
sub eax, esi
neg eax
sbb eax, eax
and eax, edx
mov esi, dword [esp + 0x48]
add eax, esi
test ecx, ecx
mov dword [esp + 0x40], eax
jne 0x101046f6
mov edi, dword [esp + 0x1c]
jmp 0x10104702
mov edi, ecx
sub edi, dword [esp + 0x1c]
neg edi
sbb edi, edi
and edi, ecx
mov esi, dword [esp + 0x38]
add edi, esi
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x28], edi
jg 0x10104b59
cmp edi, dword [esp + 0x34]
jg 0x10104b59
imul eax, dword [esp + 0x15c]
mov edx, dword [esp + 0x5c]
add eax, edi
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x158]
add eax, eax
add eax, eax
push edx
mov edx, dword [esp + 0x158]
add ecx, eax
lea esi, [eax + edx]
mov eax, dword [esp + 0x164]
push ebx
call fcn.10103870
mov esi, eax
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0x4c]
lea ecx, [ebx + 0x4c]
mov dword [esp + 0x14], esi
call edx
cmp esi, eax
jne 0x10104980
lea edx, [esp + 0x94]
call fcn.10102e80
fild dword [esp + 0x40]
mov byte [esp + 0x144], 3
sub esp, 8
fmul dword [esp + 0x168]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
call fcn.10189ea0
fild dword [esp + 0x30]
mov dword [esp + 0xac], eax
fmul dword [esp + 0x168]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
call fcn.10189ea0
mov esi, dword [ebx + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
lea ecx, [esi + eax]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fmul dword [esp + 0x168]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
call fcn.10189ea0
add esi, edi
mov dword [esp + 0x20], esi
fild dword [esp + 0x20]
mov dword [esp + 0xb0], eax
fmul dword [esp + 0x168]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
add esp, 8
call fcn.10189ea0
fld dword [esp + 0x50]
fchs
mov dword [esp + 0xa0], eax
fmul qword [0x101e9868]
call fcn.10189a7c
fld1
fadd st(1), st(0)
sub esp, 8
lea eax, [esp + 0x11c]
fdivrp st(1)
fstp dword [esp + 0xb4]
fild dword [esp + 0xac]
fstp dword [esp + 4]
fild dword [esp + 0xa4]
fstp dword [esp]
call fcn.100489e0
mov edx, eax
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x12c]
call fcn.10048a40
mov ecx, eax
lea eax, [esp + 0xb4]
call fcn.10048a30
lea ecx, [esp + 0x12c]
call fcn.10048a00
lea ecx, [esp + 0x114]
call fcn.10048a00
fild dword [esp + 0xa4]
sub esp, 8
lea eax, [esp + 0xf8]
fstp dword [esp + 4]
fild dword [esp + 0xa4]
fstp dword [esp]
call fcn.100489e0
mov edx, eax
lea ecx, [esp + 0x88]
lea eax, [esp + 0xd8]
call fcn.10048a40
mov ecx, eax
lea eax, [esp + 0xc0]
call fcn.10048a30
lea ecx, [esp + 0xd8]
call fcn.10048a00
lea ecx, [esp + 0xf0]
call fcn.10048a00
mov esi, dword [esp + 0x168]
mov edi, dword [esi + 0xc]
xor edx, edx
cmp byte [esp + 0x164], dl
sete dl
lea edx, [edx + edx - 1]
imul edx, dword [ebx + 0x70]
lea ebx, [esp + 0x94]
mov dword [esp + 0xb0], edx
call fcn.10102b80
lea ecx, [esp + 0xcc]
mov byte [esp + 0x144], 2
call fcn.10102fd0
mov ebx, dword [esp + 0x14c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
fld dword [ebp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x50]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x10104b2f
fild dword [esp + 0x40]
sub esp, 8
fmul dword [esp + 0x168]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
call fcn.10189ea0
fild dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [ebp + 0x10], eax
fmul dword [esp + 0x168]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
call fcn.10189ea0
mov dword [esp + 0x30], eax
mov dword [ebp + 8], eax
mov eax, dword [ebx + 8]
add eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x168]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
call fcn.10189ea0
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 8]
add ecx, edi
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul dword [esp + 0x168]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd qword [0x101e9328]
fstp qword [esp]
call fcn.10189f50
call fcn.10189ea0
fld dword [esp + 0x58]
fstp dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
fild dword [esp + 0x20]
lea eax, [esp + 0x110]
fstp dword [esp + 4]
fild dword [esp + 0x30]
fstp dword [esp]
call fcn.100489e0
mov edx, eax
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x120]
call fcn.10048a40
mov ecx, eax
lea eax, [ebp + 0x20]
call fcn.10048a30
lea ecx, [esp + 0x120]
call fcn.10048a00
lea ecx, [esp + 0x108]
call fcn.10048a00
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
sub esp, 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x104]
fstp dword [esp + 4]
fild dword [esp + 0x20]
fstp dword [esp]
call fcn.100489e0
mov edx, eax
lea ecx, [esp + 0x88]
lea eax, [esp + 0xe4]
call fcn.10048a40
mov ecx, eax
lea eax, [ebp + 0x2c]
call fcn.10048a30
lea ecx, [esp + 0xe4]
call fcn.10048a00
lea ecx, [esp + 0xfc]
call fcn.10048a00
xor eax, eax
cmp byte [esp + 0x164], al
sete al
lea eax, [eax + eax - 1]
imul eax, dword [ebx + 0x70]
mov dword [ebp + 0x1c], eax
cmp dword [esp + 0x20], 0
jne 0x10104b51
cmp dword [esp + 0x24], 0
jne 0x10104b51
cmp esi, dword [esp + 0x6c]
jge 0x10104b51
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov edx, eax
mov ecx, eax
jmp 0x10104b59
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
add ecx, 1
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
jl 0x101046d0
add edx, 1
cmp edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
jl 0x101046c7
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
add edi, dword [esp + 0x78]
add dword [esp + 0x38], ecx
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x38], edx
mov dword [esp + 0x3c], edi
jle 0x101046a1
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
add dword [esp + 0x44], edx
add eax, ecx
cmp eax, edi
mov dword [esp + 0x48], eax
jle 0x10104656
mov byte [esp + 0x144], 1
cmp byte [esp + 0x69], 0
je 0x10104bfc
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10104bfc
cmp dword [eax - 4], 0
lea ecx, [eax - 4]
je 0x10104bf3
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x10104bfc
push ecx
call fcn.10178e5d
add esp, 4
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret 0x24