Function at 0x4073c4
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
jmp 0x617e90
push 0xffffffffffffffff
push 0x6696b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x78], edi
call fcn.0041093d
lea ecx, [esp + 0x7c]
mov dword [esp + 0x48], eax
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZData::constructor_void_]
mov esi, dword [esp + 0xd0]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, esi
mov eax, dword [esi]
mov dword [esp + 0xcc], 0
call dword [eax]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov edx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
push eax
call dword [edx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xd8]
mov ebx, dword [eax]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xd4]
push 0
push edx
mov edx, dword [eax + 4]
push ecx
push 0x41286a00
push 0
mov eax, ebx
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0x9c]
call dword [sym.imp.zmathdll.dll_public:_class_CPoint___thiscall_ZData::M_RPoint_class_CPoint__double__double__char_]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ebp, dword [edi + 0x11c]
xor ecx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [edi + 0x1ec]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x13]
mov dword [esp + 0x14], edx
push ecx
xor ecx, ecx
xor edx, edx
push ecx
mov edi, dword [sym.imp.zmathdll.dll_public:_class_CPoint___thiscall_ZData::M_XPoint_class_CPoint__class_CPoint__class_CPoint__class_CPoint__char__]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ebp
push ecx
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
lea edx, [esp + 0x6c]
push ebx
push edx
lea ecx, [esp + 0xa4]
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x617fba
test cl, 0xa
je 0x617fba
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
fld qword [esp + 0xd4]
fabs
fst qword [esp + 0x4c]
fcomp qword [0x66f0d8]
fnstsw ax
test ah, 0x41
je 0x61801c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x13]
push eax
push ecx
mov ecx, dword [esp + 0x34]
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x28]
push ebp
push edx
push eax
push ecx
lea edx, [esp + 0x60]
push ebx
push edx
lea ecx, [esp + 0xa4]
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x61801c
test cl, 0xa
je 0x61801c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
fld qword [esp + 0xd4]
fcomp qword [0x66e938]
fnstsw ax
test ah, 0x41
jne 0x618078
lea eax, [esp + 0x13]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
push eax
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ebp
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
push ebx
push ecx
lea ecx, [esp + 0xa4]
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x618078
test cl, 0xa
je 0x618078
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x13]
push ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
push edx
mov edx, dword [esp + 0x34]
push eax
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push edx
lea eax, [esp + 0x60]
push ebx
push eax
lea ecx, [esp + 0xa4]
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x6180be
test cl, 0xa
je 0x6180be
mov ecx, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x24], ecx
jmp 0x6180c2
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x13]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
push eax
push edx
push ebp
push ecx
lea eax, [esp + 0x60]
mov dword [esp + 0x3c], ecx
push ebx
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x40], ebx
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x618114
test cl, 0xa
je 0x618114
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x13]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
push eax
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
push ebp
push ecx
lea edx, [esp + 0x60]
push ebx
push edx
lea ecx, [esp + 0xa4]
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x61815e
test cl, 0xa
je 0x61815e
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x13]
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
push ebp
push ecx
lea edx, [esp + 0x60]
push ebx
push edx
lea ecx, [esp + 0xa4]
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x6181a8
test cl, 0xa
je 0x6181a8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x13]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push eax
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
push ebp
push ecx
lea edx, [esp + 0x60]
push ebx
push edx
lea ecx, [esp + 0xa4]
call edi
mov cl, byte [esp + 0x13]
test cl, 5
je 0x6181ec
test cl, 0xa
je 0x6181ec
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x6181f4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
push ebp
lea ecx, [esp + 0x8c]
call dword [sym.imp.zmathdll.dll_public:_double___thiscall_ZData::M_SPtoP_class_CPoint__class_CPoint_]
call sub.MSVCRT.dll__ftol
mov edx, dword [esi]
mov ebp, eax
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
call dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x54]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x74], edx
call fcn.0063d896
mov dword [esp + 0x54], 0x66eaa8
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x54]
push 0
push eax
mov byte [esp + 0xd0], 1
call fcn.004039d1
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x618416
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + edi*4]
cmp eax, esi
je 0x618405
mov edx, dword [eax + 0x1f0]
test edx, edx
jg 0x618405
mov ecx, eax
lea eax, [esp + 0xb0]
push eax
mov edx, dword [ecx]
call dword [edx]
mov ebp, dword [eax]
fld qword [esp + 0xd4]
mov ecx, dword [eax + 4]
fcom qword [0x66e938]
mov edx, dword [eax + 8]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0xc]
fnstsw ax
mov dword [esp + 0xac], edx
test ah, 1
jne 0x6182e3
fcom qword [0x66f098]
fnstsw ax
test ah, 0x41
je 0x6182e3
cmp edx, dword [esp + 0x2c]
jl 0x618403
fld qword [esp + 0x4c]
fcomp qword [0x66f0d8]
fnstsw ax
test ah, 1
jne 0x6182fc
cmp ebp, ebx
jg 0x618403
fcom qword [0x67b4b0]
fnstsw ax
test ah, 1
jne 0x618320
fcom qword [0x66e938]
fnstsw ax
test ah, 0x41
je 0x618320
cmp ecx, dword [esp + 0x2c]
jg 0x618403
fcom qword [0x66f0c8]
fnstsw ax
test ah, 1
jne 0x618349
fcomp qword [0x66f0d8]
fnstsw ax
test ah, 0x41
je 0x61834b
cmp dword [esp + 0xa8], ebx
jle 0x618405
jmp 0x61834b
fstp st(0)
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
sub eax, edx
mov edx, dword [esp + 0x70]
sub edx, dword [esp + 0x68]
cmp edx, eax
jg 0x618363
mov edx, eax
mov eax, dword [esp + 0xac]
sub eax, ecx
mov ecx, dword [esp + 0xa8]
sub ecx, ebp
cmp ecx, eax
jle 0x61837b
mov eax, ecx
lea ebp, [edx + eax + 0x3e8]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edi*4]
lea eax, [esp + 0x40]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x34]
mov edx, dword [eax]
mov eax, dword [esi]
push edx
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x84]
push edx
mov eax, dword [eax]
push eax
call dword [sym.imp.zmathdll.dll_public:_double___thiscall_ZData::M_SPtoP_class_CPoint__class_CPoint_]
mov ecx, dword [esp + 0x14]
add ebp, ecx
mov dword [esp + 0x20], ebp
fild dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 1
jne 0x618405
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
mov ebp, ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
mov ecx, dword [ecx + edi*4]
push ebp
push esi
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolygon::ToAPolygon_class_ZPolygon_const___int__double_const]
cmp eax, 0x80000001
je 0x618475
cmp eax, ebp
jge 0x618405
mov dword [esp + 0x14], eax
jmp 0x618405
fstp st(0)
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x618274
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x618570
cmp ebp, 0x7fffffff
je 0x618570
fild dword [esp + 0x14]
mov eax, dword [esp + 0x48]
fsub qword [eax + 0x131f]
call sub.MSVCRT.dll__ftol
test eax, eax
mov dword [esp + 0x14], eax
jg 0x6184a9
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 0
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], 0xffffffff
test ecx, ecx
je 0x61859d
jmp 0x618597
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 0
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], 0xffffffff
test ecx, ecx
je 0x6184a2
mov edx, dword [ecx]
push 1
call dword [edx]
xor eax, eax
jmp 0x6185a2
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
fild dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
push 0
push eax
push ecx
sub esp, 8
lea edx, [esp + 0x44]
lea ecx, [esp + 0x90]
fstp qword [esp]
push edi
push ebx
push edx
call dword [sym.imp.zmathdll.dll_public:_class_CPoint___thiscall_ZData::M_RPoint_class_CPoint__double__double__char_]
mov ecx, dword [eax]
mov edx, dword [esp + 0x78]
mov eax, dword [eax + 4]
mov ebp, dword [edx + 0x1ec]
cmp eax, ebp
jg 0x618541
test eax, eax
jl 0x618541
sub eax, edi
sub ecx, ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
push eax
mov ecx, esi
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPiece::Offset_class_CSize_const__]
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 0
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], 0xffffffff
test ecx, ecx
je 0x61853a
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, 1
jmp 0x6185a2
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 0
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], 0xffffffff
test ecx, ecx
je 0x61859d
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x61859d
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 0
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], 0xffffffff
test ecx, ecx
je 0x61859d
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, 2
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 0xc