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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cb628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push esi
push edi
mov ebx, 0x5e2984
xor edi, edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov edx, dword [ebp + 0x10]
lea esi, [ecx + 0x2e0]
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x84]
push eax
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x190], edi
mov dword [esp + 0x4c], esi
call fcn.004db5e0
cmp eax, edi
jne 0x458f59
push edi
push edi
push 0x61c0d0
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c700
add esp, 0xc
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x180], 1
cmp eax, edi
je 0x4595f3
jmp 0x4595ea
push 0x61c0c8
lea ecx, [esp + 0x28]
call fcn.005c0fb0
push 0x61c0c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 2
call fcn.005c0fb0
lea ecx, [esp + 0x108]
mov byte [esp + 0x180], 3
call fcn.004ccd50
lea ecx, [esp + 0xb8]
mov byte [esp + 0x180], 4
call fcn.004ccd50
lea ecx, [esp + 0x98]
mov byte [esp + 0x180], 5
call fcn.004b6ca0
mov ecx, esi
mov byte [esp + 0x180], 6
call fcn.004e3ac0
cmp eax, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edi
jle 0x45930c
jmp 0x458fde
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004e3ad0
mov esi, eax
mov ecx, dword [esi + 0x18]
fld qword [ecx + 0x20]
fld qword [ecx + 0x28]
fcompp
fnstsw ax
test ah, 0x41
jne 0x459003
fld qword [ecx + 0x20]
jmp 0x459006
fld qword [ecx + 0x28]
mov eax, dword [esi + 0x3c]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call sub.etout.dll_void___cdecl_mgRefreshNotchData_class_mgPatternData___double_
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.004ebd70
fld qword [esp + 0x80]
fsub qword [esp + 0x70]
fld qword [esp + 0x78]
fsub qword [esp + 0x68]
add esp, 0x14
lea ecx, [esp + 0xb8]
fpatan
fchs
fstp qword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004b7630
mov ecx, dword [esi + 0x3c]
call fcn.004af210
lea ecx, [esp + 0x98]
mov edi, eax
call fcn.004b6ff0
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
jle 0x459197
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x45908e
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 4]
mov ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x48], edx
fld dword [esp + 0x48]
mov ecx, dword [ecx + 8]
fstp qword [esp + 0x74]
mov edx, dword [edi + 4]
mov dword [esp + 0x4c], ecx
add eax, edx
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xb8]
mov edx, dword [eax + 8]
lea eax, [esp + 0x74]
mov dword [esp + 0x34], edx
push eax
fld dword [esp + 0x38]
fstp qword [esp + 0x80]
call fcn.004b8150
fld qword [esp + 0x74]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 1
je 0x45910e
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
fld qword [esp + 0xa0]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x459126
fld qword [esp + 0x7c]
jmp 0x45912d
fld qword [esp + 0xa0]
fstp qword [esp + 0xa0]
fld qword [esp + 0xa8]
fcomp qword [esp + 0x74]
fnstsw ax
test ah, 1
je 0x45914c
fld qword [esp + 0x74]
jmp 0x459153
fld qword [esp + 0xa8]
fstp qword [esp + 0xa8]
fld qword [esp + 0xb0]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x459172
fld qword [esp + 0x7c]
jmp 0x459179
fld qword [esp + 0xb0]
fstp qword [esp + 0xb0]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 8]
inc ebx
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x14], ecx
jl 0x45908a
lea eax, [esp + 0x158]
lea ecx, [esp + 0x98]
push eax
call fcn.004b6ed0
mov ecx, dword [eax]
sub esp, 8
mov dword [esp + 0x7c], ecx
sub esp, 8
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0xc8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x90], edx
fld qword [esp + 0x8c]
fchs
fstp qword [esp + 8]
fld qword [esp + 0x84]
fchs
fstp qword [esp]
call fcn.004b7fd0
lea ecx, [esp + 0xb8]
mov eax, dword [esi + 0x3c]
lea edx, [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x38]
sub esp, 0xc
mov ebx, dword [esp + 0x48]
mov ecx, esp
xor edi, edi
push eax
movsx eax, word [eax + 0x974]
mov dword [ecx], edi
shl eax, 1
mov dword [ecx + 4], edx
push eax
mov dword [ecx + 8], ebx
mov ecx, dword [ebp + 8]
push ecx
call sub.etout.dll_int___cdecl_mgCutPattern_void___int__class_mgPatternData___struct_mgTypePoint__class_CString_const___class_CTMatrix_const__
add esp, 0x20
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x108]
push edx
call fcn.004b7e30
lea eax, [esp + 0x74]
lea ecx, [esp + 0x108]
push eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.004b8150
mov edx, dword [esp + 0x74]
lea ecx, [esi + 0x20]
push edi
push 1
mov dword [ecx], edx
mov eax, dword [esp + 0x80]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x84]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x88]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x110]
call fcn.004b7b80
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xbc]
call fcn.004b80e0
lea edx, [esp + 0xb8]
lea eax, [esp + 0x20]
mov esi, dword [esi + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edi
movsx eax, word [esi + 0x974]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
push esi
mov dword [ecx + 8], ebx
lea ecx, [eax + eax + 1]
push ecx
push edx
call sub.etout.dll_int___cdecl_mgCutPattern_void___int__class_mgPatternData___struct_mgTypePoint__class_CString_const___class_CTMatrix_const__
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
add esp, 0x20
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x458fda
push edi
push 1
lea ecx, [esp + 0xc0]
call fcn.004b7b80
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
mov eax, dword [eax + 8]
cmp eax, edi
mov dword [esp + 0x28], eax
jle 0x45956b
xor ebx, ebx
jmp 0x459337
xor edi, edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov esi, dword [edx + eax*4]
lea eax, [esp + 0x158]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x184], 7
call fcn.004b6d90
lea ecx, [esp + 0x158]
mov byte [esp + 0x180], 6
call fcn.0042bd50
mov ecx, dword [esp + 0x88]
fld qword [ebx + ecx]
fstp qword [esp + 0x3c]
fld qword [esp + 0x98]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x45960a
fld qword [esp + 0xa8]
fcomp qword [ebx + ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x4593d4
mov edx, dword [ebx + ecx + 0x14]
mov eax, dword [ebx + ecx + 0x10]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call sub.etout.dll_void___cdecl_mgMoveWorkArea_void___double__double_
add esp, 0x14
add ebx, 0x10
mov ecx, esi
call fcn.004eb730
lea ecx, [esp + 0x108]
push ecx
mov ecx, esi
call fcn.004ebec0
mov eax, dword [esi + 0x198]
dec eax
je 0x459480
dec eax
je 0x45944b
dec eax
je 0x459425
lea edx, [esp + 0x108]
lea ecx, [esp + 0xb8]
push edx
call fcn.004b7e20
mov eax, dword [esi + 0x364]
movsx edi, word [eax + 0x974]
shl edi, 1
jmp 0x4594a5
push 1
push 1
lea ecx, [esp + 0xc0]
call fcn.004b7b80
lea eax, [esp + 0x108]
lea ecx, [esp + 0xb8]
push eax
call fcn.004b80e0
jmp 0x459494
push 1
push 1
lea ecx, [esp + 0xc0]
call fcn.004b7b80
lea edx, [esp + 0x108]
lea ecx, [esp + 0xb8]
push edx
call fcn.004b80e0
mov eax, dword [esi + 0x364]
movsx edi, word [eax + 0x974]
shl edi, 1
jmp 0x4594a5
lea eax, [esp + 0x108]
lea ecx, [esp + 0xb8]
push eax
call fcn.004b7e20
mov eax, dword [esi + 0x364]
movsx ecx, word [eax + 0x974]
lea edi, [ecx + ecx + 1]
mov eax, dword [esi + 0x360]
add eax, 0x20
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 8]
push ecx
mov dword [esp + 0x38], edx
lea ecx, [esi + 0x2d0]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
call fcn.004b8150
lea edx, [esp + 0x44]
lea ecx, [esp + 0xb8]
push edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.004b8150
fld qword [esp + 0x34]
fsub qword [esp + 0x4c]
sub esp, 8
lea ecx, [esp + 0xc0]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x3c]
fsub qword [esp + 0x54]
fstp qword [esp]
call fcn.004b7fd0
lea eax, [esp + 0xb8]
lea ecx, [esi + 0x1b8]
push eax
call fcn.004b0a90
mov ecx, dword [ebp + 8]
push eax
push edi
push ecx
call sub.etout.dll_int___cdecl_mgDxfPattern_void___int__class_CString_const___class_CTMatrix_const__
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
add esp, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x459335
xor edi, edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x180], 5
call fcn.0042bd50
lea ecx, [esp + 0xb8]
mov byte [esp + 0x180], 4
call fcn.0042bd50
lea ecx, [esp + 0x108]
mov byte [esp + 0x180], 3
call fcn.0042bd50
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 2
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 0
call sub.mfc42u.dll_CString::CString
mov dword [esp + 0x84], 0x5e2984
mov eax, dword [esp + 0x88]
mov dword [esp + 0x180], 9
cmp eax, edi
je 0x4595f3
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x178]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
push 0x619fd8
push 0x619fa0
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c700
add esp, 0xc
lea ecx, [esp + 0x98]
mov byte [esp + 0x180], 5
call fcn.0042bd50
lea ecx, [esp + 0xb8]
mov byte [esp + 0x180], 4
call fcn.0042bd50
lea ecx, [esp + 0x108]
mov byte [esp + 0x180], 3
call fcn.0042bd50
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 2
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 0
call sub.mfc42u.dll_CString::CString
mov dword [esp + 0x84], 0x5e2984
mov eax, dword [esp + 0x88]
mov dword [esp + 0x180], 8
cmp eax, edi
je 0x4595f3
jmp 0x4595ea