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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b8
fld qword [0x4350a8]
fmul qword [0x434f08]
mov eax, dword [0x434f24]
mov edx, dword [0x434f14]
mov ecx, dword [0x434f20]
push ebx
push ebp
push esi
fstp qword [esp + 0x5c]
fld qword [0x434f18]
fmul qword [0x4350a8]
cmp eax, 1
push edi
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
fstp qword [esp + 0x58]
fld qword [0x434f2c]
fmul qword [0x4350a8]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x68], edx
fstp qword [esp + 0x10]
jle 0x40d2b5
cmp ecx, 1
jle 0x40d2b5
test edx, edx
jne 0x40d2cd
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov edx, dword [0x434f28]
test edx, edx
jne 0x40d2e7
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
dec eax
dec ecx
mov dword [esp + 0x18], eax
push 0
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push 4
fmul qword [esp + 0x60]
fild dword [0x434f24]
fmul qword [esp + 0x68]
faddp st(1)
fstp qword [esp + 0xd0]
fild dword [esp + 0x20]
fmul qword [esp + 0x60]
fild dword [0x434f20]
fmul qword [esp + 0x68]
faddp st(1)
fstp qword [esp + 0x80]
call fcn.0041d160
fld qword [esp + 0x68]
fmul qword [0x431168]
mov eax, dword [0x434f24]
add esp, 8
xor ebp, ebp
test eax, eax
fst qword [esp + 0x18]
fadd qword [esp + 0x10]
fst qword [esp + 0xe8]
fstp qword [esp + 0xd8]
jle 0x40d3f4
fld qword [esp + 0x78]
fsub qword [esp + 0x60]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
fmul qword [0x431210]
fstp qword [esp + 0x50]
fld qword [esp + 0x60]
fadd qword [esp + 0x58]
fstp qword [esp + 0x70]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xd0], ecx
mov ecx, dword [0x434f20]
xor esi, esi
mov dword [esp + 0xd4], edx
test ecx, ecx
jle 0x40d3dd
push edi
lea eax, [esp + 0xd4]
push ebx
push eax
call fcn.004202f0
fld qword [esp + 0x7c]
fadd qword [esp + 0xdc]
mov eax, dword [0x434f20]
add esp, 0xc
inc esi
cmp esi, eax
fstp qword [esp + 0xd0]
jl 0x40d3aa
mov eax, dword [0x434f24]
fld qword [esp + 0x70]
fadd qword [esp + 0xd8]
inc ebp
cmp ebp, eax
fstp qword [esp + 0xd8]
jl 0x40d388
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x40d505
fld qword [esp + 0x78]
fmul qword [0x431210]
xor esi, esi
dec eax
test eax, eax
fstp qword [esp + 0x20]
fld qword [esp + 0x78]
fmul qword [0x431168]
fstp qword [esp + 0x68]
fld qword [esp + 0x58]
fmul qword [0x431168]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fst qword [esp + 0x50]
fadd qword [esp + 0x10]
fadd qword [esp + 0x60]
fst qword [esp + 0x40]
fstp qword [esp + 0x28]
jle 0x40d48b
fld qword [esp + 0x60]
fadd qword [esp + 0x58]
fstp qword [esp + 0x70]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00420210
fld qword [esp + 0x78]
fadd qword [esp + 0x30]
mov edx, dword [0x434f24]
add esp, 8
inc esi
dec edx
cmp esi, edx
fst qword [esp + 0x28]
fstp qword [esp + 0x40]
jl 0x40d45d
fld qword [esp + 0x10]
fadd qword [esp + 0xc8]
mov edx, dword [0x434f20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor esi, esi
dec edx
mov dword [esp + 0x28], eax
fstp qword [esp + 0x40]
fld qword [esp + 0x50]
fsub qword [esp + 0x68]
test edx, edx
mov dword [esp + 0x2c], ecx
fadd qword [esp + 0x60]
fst qword [esp + 0x38]
fstp qword [esp + 0x20]
jle 0x40d505
fld qword [esp + 0x60]
fadd qword [esp + 0x58]
fstp qword [esp + 0x70]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00420210
fld qword [esp + 0x78]
fadd qword [esp + 0x28]
mov edx, dword [0x434f20]
add esp, 8
inc esi
dec edx
cmp esi, edx
fst qword [esp + 0x20]
fstp qword [esp + 0x38]
jl 0x40d4d7
push 0
push 0
push 0
push 0x1389
call fcn.004257d0
mov esi, eax
push esi
push str.PLINEWID
call fcn.004232b0
push esi
call fcn.00428160
push 0x1388
push str.PLINE
push 0x138d
call fcn.004252b0
fld qword [esp + 0xa0]
fmul qword [0x431210]
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x50], eax
mov edx, eax
mov eax, ecx
mov dword [esp + 0x54], ecx
fst qword [esp + 0x48]
fst qword [esp + 0x60]
fld qword [esp + 0x38]
fadd qword [esp + 0xf0]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x190], ecx
push 0x1388
push eax
fst qword [esp + 0x80]
fsub qword [esp + 0x48]
lea ecx, [esp + 0x50]
mov dword [esp + 0x190], edx
mov edx, dword [esp + 0x64]
push 0x138a
push ecx
push 0x138a
fst qword [esp + 0xac]
fadd qword [0x431178]
mov dword [esp + 0x1a8], edx
fstp qword [esp + 0x7c]
fstp qword [esp + 0x194]
call fcn.004252b0
fld qword [esp + 0xb4]
fmul qword [0x431168]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xe8], eax
fstp qword [esp + 0xa4]
fld qword [esp + 0x54]
fsub qword [esp + 0xa4]
lea eax, [esp + 0x74]
push 0x1388
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edx
push eax
fst qword [esp + 0xa4]
fstp qword [esp + 0x64]
fld qword [esp + 0xac]
fsub qword [esp + 0x5c]
fst qword [esp + 0x9c]
fld qword [esp + 0x94]
fst qword [esp + 0x84]
fst qword [esp + 0x6c]
fst qword [esp + 0xe4]
fstp qword [esp + 0x16c]
fld qword [esp + 0x64]
fsub qword [esp + 0x5c]
fstp qword [esp + 0xdc]
fld qword [esp + 0x5c]
fadd st(1)
fstp qword [esp + 0x164]
fadd qword [0x431178]
fstp qword [esp + 0x7c]
push 0x138a
push 0x433248
lea ecx, [esp + 0x6c]
push 0x138d
push ecx
push 0x138a
push 0x434cb4
push 0x138d
call fcn.004252b0
fld qword [esp + 0xc8]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
fst qword [esp + 0x80]
fst qword [esp + 0x98]
fld qword [esp + 0x148]
fld st(1)
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
fstp qword [esp + 0xe0]
fxch st(1)
fstp qword [esp + 0x168]
fld qword [esp + 0x78]
fadd qword [esp + 0x88]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x90]
add esp, 0x60
mov dword [esp + 0x94], edx
lea edx, [esp + 0x38]
fstp qword [esp + 0x88]
push 0x1388
push edx
fld st(0)
fsub qword [esp + 0x20]
mov dword [esp + 0x120], eax
push 0x138a
push 0x433248
lea eax, [esp + 0x30]
push 0x138d
push eax
fstp qword [esp + 0x128]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x64]
fsub qword [0x431178]
push 0x138a
push 0x434cb4
push 0x138d
mov dword [esp + 0x140], ecx
fstp qword [esp + 0x64]
call fcn.004252b0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], edx
fld qword [esp + 0x84]
fsub qword [0x431178]
mov dword [esp + 0x64], eax
mov edx, eax
mov dword [esp + 0x68], ecx
mov eax, ecx
lea ecx, [esp + 0x5c]
push 0x1388
fstp qword [esp + 0x60]
push ecx
mov dword [esp + 0x54], edx
push 0x138a
push 0x433248
lea edx, [esp + 0x54]
push 0x138d
push edx
push 0x138a
push 0x434cb4
push 0x138d
mov dword [esp + 0x74], eax
call fcn.004252b0
add esp, 0x48
push 0x1388
push 0x43a598
push 0x138d
lea eax, [esp + 0x164]
push eax
push 0x138a
push 0x434cb4
push 0x138d
call fcn.004252b0
lea ecx, [esp + 0x16c]
push ecx
call fcn.004245c0
mov eax, dword [0x434f28]
add esp, 0x20
test eax, eax
je 0x40db5c
fld qword [esp + 0x10]
fcomp qword [0x4311e0]
fnstsw ax
test ah, 0x41
jne 0x40db5c
fld qword [esp + 0x68]
fadd qword [esp + 0x10]
push 0
push 0
push 0
push 0x1389
fld st(0)
fchs
fst qword [esp + 0x30]
fstp qword [esp + 0x48]
fld qword [esp + 0x20]
fadd st(0), st(0)
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
fadd qword [esp + 0xd8]
fstp qword [esp + 0x50]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
fst qword [esp + 0xc0]
fstp qword [esp + 0x148]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
call fcn.004257d0
mov esi, eax
push esi
push str.PLINEWID
call fcn.004232b0
push esi
call fcn.00428160
push 0x1388
push 0x434a6c
lea ecx, [esp + 0x15c]
push 0x138d
push ecx
lea edx, [esp + 0xdc]
push 0x138a
push edx
lea eax, [esp + 0x6c]
push 0x138a
push eax
lea ecx, [esp + 0x5c]
push 0x138a
push ecx
push 0x138a
push str.PLINE
push 0x138d
call fcn.004252b0
add esp, 0x50
lea edx, [esp + 0x170]
push edx
call fcn.004245c0
fld qword [0x4350a8]
fmul qword [0x431168]
add esp, 4
push 0
sub esp, 8
fstp qword [esp]
push 0x1389
call fcn.004257d0
mov esi, eax
push esi
push str.HPSCALE
call fcn.004232b0
push esi
call fcn.00428160
push 0
push str.AR_CONC
push 0x138d
call fcn.004257d0
mov esi, eax
push esi
push str.HPNAME
call fcn.004232b0
push esi
call fcn.00428160
push 0
push 0x43ac28
lea eax, [esp + 0x1ac]
push 0x138d
push eax
lea ecx, [esp + 0x194]
push 0x138e
push ecx
push 0x138e
push 0x43ac28
push 0x138d
push 0x43ac28
push 0x138d
push 0x43ac28
push 0x138d
push str.hatch
push 0x138d
call fcn.004252b0
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x134]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0x178], edx
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0x1bc]
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0x120]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x190], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x134]
add esp, 0x70
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov eax, dword [0x434f10]
test eax, eax
je 0x40dd03
fld qword [esp + 0x80]
fadd qword [0x431200]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
sub esp, 8
mov dword [esp + 0x104], eax
mov dword [esp + 0x100], edx
fstp qword [esp + 0xf8]
fld qword [esp + 0x18]
fadd st(0), st(0)
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0x180]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
fst qword [esp + 0x58]
fadd qword [esp + 0xd0]
fdiv qword [0x4350a8]
fstp qword [esp]
push 0x43308c
push eax
call fcn.00428d42
lea ecx, [esp + 0x188]
push 0x1388
push ecx
lea edx, [esp + 0x108]
push 0x138d
push edx
lea eax, [esp + 0x128]
push 0x138a
push eax
lea ecx, [esp + 0xa8]
push 0x138a
push ecx
push 0x138a
push 0x434ba4
push 0x138d
push str.DIM1
push 0x138d
call fcn.004252b0
fld qword [esp + 0xe4]
fadd qword [0x431208]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0xec]
add esp, 0x44
sub esp, 8
mov dword [esp + 0xfc], eax
fstp qword [esp + 0x100]
fld qword [esp + 0x58]
fadd qword [esp + 0x80]
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x180]
mov dword [esp + 0x108], ecx
fdiv qword [0x4350a8]
mov dword [esp + 0x10c], edx
fstp qword [esp]
push 0x43308c
push eax
call fcn.00428d42
lea ecx, [esp + 0x188]
push 0x1388
push ecx
lea edx, [esp + 0x108]
push 0x138d
push edx
lea eax, [esp + 0x140]
push 0x138a
push eax
lea ecx, [esp + 0xc0]
push 0x138a
push ecx
push 0x138a
push 0x434bb0
push 0x138d
push str.DIM1
push 0x138d
call fcn.004252b0
add esp, 0x44
pop edi
mov eax, 0x13ec
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret