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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf6c
mov ecx, dword [ebp + 8]
fild dword [ecx + 0x98]
push ebx
push esi
push edi
fsub qword [0x5a37b8]
mov edi, dword [ebp + 0xc]
xor esi, esi
xor ebx, ebx
test edi, edi
fstp qword [esp + 0x10]
fild dword [ecx + 0x9c]
fsub qword [0x5a37b8]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fadd qword [0x5a37b0]
fstp qword [esp + 0x28]
fld qword [esp + 0x20]
fadd qword [0x5a37b0]
fstp qword [esp + 0x48]
jle 0x553402
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
jmp 0x55337d
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0xc]
fld qword [eax]
mov edx, dword [eax + 8]
fcom qword [esp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
fst qword [esp + 0x50]
mov dword [esp + 0x18], edx
fnstsw ax
test ah, 1
jne 0x553400
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 0x41
je 0x553402
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x553402
fld qword [esp + 0x18]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x553402
mov edx, dword [ebp + 0x18]
mov eax, esi
push eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
push edx
push ecx
inc esi
call fcn.005537b0
mov ecx, dword [esp + 0x28]
add esp, 0x1c
inc ebx
add ecx, 0x10
cmp ebx, edi
mov dword [esp + 0xc], ecx
jl 0x553376
jmp 0x553402
fstp st(0)
cmp ebx, edi
jne 0x55342e
cmp esi, edi
je 0x553799
push 0x6b2
push str..._win_.._generic_tkCanvUtil.c
push str.numOutput__numVertex
call fcn.005863e4
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + edi*2]
shl eax, 2
cmp eax, 0x1e0
jg 0x553445
lea esi, [esp + 0x78]
mov dword [esp + 0x3c], esi
jmp 0x55345e
mov edx, dword [0x5debe0]
lea ecx, [edi + edi*2]
shl ecx, 5
push ecx
call dword [edx + 0x14]
add esp, 4
mov dword [esp + 0x3c], eax
mov esi, eax
lea edx, [edi + edi]
test edx, edx
jle 0x55347e
mov ecx, dword [ebp + 0x10]
mov eax, esi
sub ecx, esi
mov ebx, dword [ecx + eax]
mov dword [eax], ebx
mov ebx, dword [ecx + eax + 4]
mov dword [eax + 4], ebx
add eax, 8
dec edx
jne 0x55346c
mov eax, dword [esp + 0x28]
fld qword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
fchs
mov edx, dword [esp + 0x48]
fstp qword [esp + 0x60]
fld qword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
fchs
lea ebx, [edi + edi*2]
fstp qword [esp + 0x68]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x74], eax
shl ebx, 4
lea ecx, [edi + edi*2]
lea eax, [esp + 0x58]
mov dword [esp + 0xc], esi
add ebx, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 4
jmp 0x5534de
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
fld qword [edx]
mov dword [esp + 0x14], eax
fcomp qword [esp + 0x10]
mov dword [esp + 0x30], 1
fnstsw ax
test ah, 1
jne 0x55350c
mov dword [esp + 0x30], 0
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x28], ecx
xor ecx, ecx
xor esi, esi
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
jle 0x553729
mov eax, ecx
shl eax, 4
lea edi, [eax + edx]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], edx
fld qword [esp + 0x18]
mov edx, dword [edi + 8]
fcomp qword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
fnstsw ax
test ah, 1
mov eax, dword [esp + 0x30]
jne 0x55363e
test eax, eax
je 0x553606
test ecx, ecx
jg 0x553587
push 0x700
push str..._win_.._generic_tkCanvUtil.c
push str.i___0
call fcn.005863e4
add esp, 0xc
fld qword [edi - 0x10]
mov edx, dword [esp + 0x10]
fld qword [edi - 8]
mov ecx, esi
fld qword [esp + 0x20]
shl ecx, 4
fsub st(1)
lea eax, [ecx + ebx]
fld qword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fsub st(3)
inc esi
fmulp st(1)
fld qword [esp + 0x18]
fsub st(3)
fdivp st(1)
fadd st(1)
fstp qword [esp + 0x30]
fstp st(0)
fstp st(0)
fld qword [esp + 0x30]
fchs
fstp qword [eax]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
cmp esi, dword [esp + 0x44]
jle 0x5535e9
push 0x707
push str..._win_.._generic_tkCanvUtil.c
push str.numOutput___maxOutput
call fcn.005863e4
add esp, 0xc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
jmp 0x553711
test ecx, ecx
jne 0x553711
mov ecx, dword [esp + 0x10]
fld qword [esp + 0x20]
mov edx, dword [esp + 0x14]
fchs
mov eax, dword [esp + 0x20]
fstp qword [ebx]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0xc], edx
mov esi, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x553711
test eax, eax
jne 0x5536d4
test ecx, ecx
jg 0x553661
push 0x724
push str..._win_.._generic_tkCanvUtil.c
push str.i___0
call fcn.005863e4
add esp, 0xc
fld qword [edi - 0x10]
fld qword [edi - 8]
fld qword [esp + 0x20]
fsub st(1)
fld qword [esp + 0x10]
fsub st(3)
fmulp st(1)
fld qword [esp + 0x18]
fsub st(3)
fdivp st(1)
fadd st(1)
fstp st(2)
fstp st(0)
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x40
jne 0x5536ca
mov ecx, dword [esp + 0x10]
fchs
mov edx, esi
shl edx, 4
lea eax, [edx + ebx]
mov edx, dword [esp + 0x14]
fstp qword [eax]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jle 0x5536cc
push 0x72c
push str..._win_.._generic_tkCanvUtil.c
push str.numOutput___maxOutput
call fcn.005863e4
add esp, 0xc
jmp 0x5536cc
fstp st(0)
mov dword [esp + 0x30], 1
fld qword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fchs
mov eax, esi
shl eax, 4
add eax, ebx
fstp qword [eax]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jle 0x553711
push 0x733
push str..._win_.._generic_tkCanvUtil.c
push str.numOutput___maxOutput
call fcn.005863e4
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
inc ecx
cmp ecx, eax
mov dword [esp + 0x50], ecx
jl 0x55352a
mov ecx, dword [esp + 0x40]
mov eax, edx
mov dword [esp + 0xc], ebx
mov ebx, eax
mov eax, dword [esp + 0x48]
add ecx, 8
dec eax
mov dword [ebp + 0xc], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
jne 0x5534d7
xor edi, edi
test esi, esi
jle 0x553780
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push edi
push eax
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.005537b0
add esp, 0x1c
inc edi
add ebx, 0x10
cmp edi, esi
jl 0x553758
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x553799
mov edx, dword [0x5debe0]
push eax
call dword [edx + 0x18]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret