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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10198760
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call edx
push eax
lea eax, [esp + 0x28]
xor esi, esi
push eax
mov dword [esp + 0xa8], esi
call fcn.10009af0
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x38]
cmp eax, esi
mov dword [esp + 0x34], vtable.ert_TmplPtr_class_ebs_Object_.0
je 0x10174a74
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
add dword [edx + eax + 8], 0xffffffff
cmp dword [edx + eax + 8], esi
lea eax, [edx + eax + 4]
jne 0x10174a70
mov eax, dword [esp + 0x38]
cmp eax, esi
mov dword [esp + 0x38], esi
je 0x10174a74
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
jmp 0x10174a74
mov dword [esp + 0x38], esi
push 1
lea ecx, [esp + 0x40]
call fcn.1004bc70
mov edi, dword [ebp + 8]
add edi, 8
lea eax, [esp + 0x3c]
mov byte [esp + 0xa0], 3
call fcn.10060770
fldz
fld dword [ebp + 0x1c]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x10174ab3
lea esi, [esp + 0x3c]
fstp st(0)
call fcn.1004c520
jmp 0x10174ac0
push ecx
lea eax, [esp + 0x40]
fstp dword [esp]
call fcn.1004c170
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push 0xff
push 0xff
push 0xff
call edx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
add eax, esi
push eax
add ecx, edx
push ecx
push esi
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x70]
mov dword [esp + 0x1c], ecx
call fcn.10049010
mov byte [esp + 0xa0], 4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x70]
sub edi, ecx
push edi
push eax
push ecx
mov ecx, ebx
call edx
mov edx, 1
mov ecx, edx
lea eax, [esp + 0x88]
call fcn.10050290
mov ecx, eax
lea eax, [esp + 0x68]
call fcn.10050300
mov edx, 1
mov ecx, edx
lea eax, [esp + 0x88]
call fcn.10050290
mov ecx, eax
lea eax, [esp + 0x74]
call fcn.10050310
lea ecx, [esp + 0x88]
call fcn.100502a0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x70]
sub edi, ecx
push edi
push eax
push ecx
mov ecx, ebx
call edx
fild dword [ebp + 0x18]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fmul qword [0x101e9810]
call fcn.10189ea0
mov ecx, dword [esp + 0x44]
mov edi, esi
sub edi, eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffa
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add ecx, 1
mov dword [esp + 0x14], ecx
fidiv dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul qword [0x101e99b8]
call fcn.10189ea0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x10174beb
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
push edi
push eax
push edi
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push 0
push 0xff
push 0
call edx
cmp dword [esp + 0x44], 0
mov dword [esp + 0xc], 0
jle 0x10174cd3
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x1c]
jmp 0x10174c40
fild dword [esp + 0xc]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x1c]
call fcn.10189ea0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
fld dword [ecx + edx*4]
mov dword [esp + 0x14], eax
fmul dword [esp + 0x30]
call fcn.10189ea0
mov ecx, edi
sub ecx, eax
cmp ecx, esi
mov dword [esp + 0x10], ecx
jge 0x10174c7b
mov dword [esp + 0x10], esi
mov ecx, esi
mov eax, dword [esp + 0x18]
cmp ecx, eax
jle 0x10174c89
mov dword [esp + 0x10], eax
mov ecx, eax
cmp dword [esp + 0x20], 0
jle 0x10174cbe
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x10174ca4
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
push edi
push esi
push ecx
push esi
mov ecx, ebx
call eax
add esi, 1
sub dword [esp + 0x14], 1
jne 0x10174ca0
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jl 0x10174c40
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0
push 0
push 0xff
call eax
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x2c]
fstp dword [esp + 0x10]
fldz
fld dword [ebp + 0x20]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x10174d0f
fstp st(0)
fld dword [esp + 0x10]
fmul qword [0x101e9440]
jmp 0x10174d13
fmul dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
fstp dword [esp + 0x10]
fild dword [esp + 0xc]
add edx, 4
mov dword [esp + 0x1c], edx
fmul dword [esp + 0x2c]
fiadd dword [esp + 0x1c]
call fcn.10189ea0
fld dword [esp + 0x30]
fmul dword [esp + 0x10]
mov dword [esp + 0x1c], eax
call fcn.10189ea0
mov ecx, edi
sub ecx, eax
cmp ecx, esi
mov dword [esp + 0xc], ecx
jge 0x10174d55
mov dword [esp + 0xc], esi
mov ecx, esi
mov eax, dword [esp + 0x18]
cmp ecx, eax
jle 0x10174d63
mov dword [esp + 0xc], eax
mov ecx, eax
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x10174d90
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jmp 0x10174d79
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
push edi
push esi
push ecx
push esi
mov ecx, ebx
call edx
add esi, 1
sub dword [esp + 0x18], 1
jne 0x10174d75
lea ecx, [esp + 0x80]
call fcn.10049090
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], vtable.ebs_FloatArr.0
mov dword [esp + 0x50], vtable.ebs_FloatArr.1.0
mov dword [esp + ecx + 0x54], vtable.ebs_FloatArr.2.0
lea ecx, [esp + 0x58]
call fcn.1005e680
cmp byte [esp + 0x4d], 0
je 0x10174de4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10174de4
push eax
call fcn.10178e5d
add esp, 4
or ecx, 0xffffffff
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x24], vtable.ert_TmplPtr_class_egr_Graphics_.0
je 0x10174e30
mov edx, dword [eax + 4]
mov edx, dword [edx + 4]
add dword [edx + eax + 8], ecx
lea eax, [edx + eax + 4]
jne 0x10174e30
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x28], 0
je 0x10174e30
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c