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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f426
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2f0
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x298], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x298]
call fcn.004ac420
mov edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x34]
test eax, eax
je 0x4b0111
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x18]
test edx, edx
je 0x4b011b
mov eax, 4
jmp 0x4b1be8
call fcn.00417620
movzx eax, al
test eax, eax
je 0x4b0149
lea ecx, [ebp - 0x98]
push ecx
call fcn.00437640
add esp, 4
movzx edx, al
test edx, edx
je 0x4b0149
mov dword [ebp - 0x29c], 1
jmp 0x4b0153
mov dword [ebp - 0x29c], 0
mov al, byte [ebp - 0x29c]
mov byte [ebp - 0x9d], al
push 0
call dword [sym.imp.gsio.dll_public:_static_class_CDrawing____cdecl_CDrawing::CreateDrawing_enum_CDRAWING_SERVER_]
add esp, 4
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x4b0183
mov eax, 1
jmp 0x4b1be8
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x4b0217
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x18]
test eax, eax
je 0x4b01ca
mov eax, 4
jmp 0x4b1be8
push 0
call dword [sym.imp.gsio.dll_public:_static_class_CDrawing____cdecl_CDrawing::CreateDrawing_enum_CDRAWING_SERVER_]
add esp, 4
mov dword [ebp - 0xb4], eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x14]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4b0217
mov edx, dword [ebp - 0xb4]
push edx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov eax, 2
jmp 0x4b1be8
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 0x1c]
call fcn.00493c30
push 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x94]
call eax
push eax
mov ecx, dword [ebp + 8]
call fcn.00493b20
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.0045cac0
movzx ecx, al
test ecx, ecx
jne 0x4b02a8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push 0x4ac5c0
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x118]
call eax
jmp 0x4b02a1
mov dword [ebp - 4], 0xffffffff
movzx ecx, byte [0x5b4121]
test ecx, ecx
je 0x4b033e
movzx edx, byte [0x5b4120]
test edx, edx
je 0x4b02ec
mov ecx, 0x5b411c
call fcn.004a7b60
push eax
push 0x577363
push 0x577377
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x38]
call eax
jmp 0x4b0320
mov ecx, 0x5b411c
call fcn.004a7b60
push eax
mov ecx, 0x5b4118
call fcn.004a7b60
push eax
mov ecx, 0x5b4114
call fcn.004a7b60
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x38]
call eax
mov ecx, 0x5b411c
call fcn.004a7b60
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x3c]
call eax
push 1
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x184]
call eax
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x70], 2
jl 0x4b10d2
lea ecx, [ebp - 0xc8]
call fcn.004096a0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x298]
cmp dword [edx + 0x84], 0
je 0x4b03be
mov ecx, dword [ebp + 0xc]
call fcn.00445180
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00456080
mov ecx, eax
call fcn.004b30c0
mov ecx, eax
call fcn.004aa470
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00445110
mov edx, dword [ebp - 0x298]
cmp dword [edx + 0x70], 2
je 0x4b03e2
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x70], 4
je 0x4b03e2
mov dword [ebp - 0x2a0], 1
jmp 0x4b03ec
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0xcc], ecx
jmp 0x4b0409
mov edx, dword [ebp - 0xcc]
add edx, 1
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x90]
call eax
cmp dword [ebp - 0xcc], eax
jge 0x4b10bb
mov ecx, dword [ebp - 0xcc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00493b40
movzx edx, al
test edx, edx
jne 0x4b044f
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x70], 3
jle 0x4b044f
jmp 0x4b03fa
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0xa0]
call edx
movzx eax, al
test eax, eax
je 0x4b0475
jmp 0x4b03fa
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x9c]
call edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00445180
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00456080
mov ecx, eax
call fcn.004378e0
mov ecx, eax
call fcn.004a9de0
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004ab620
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x84], 0
je 0x4b05eb
mov ecx, dword [ebp - 0x298]
xor edx, edx
cmp dword [ecx + 0x70], 2
setne dl
cmp dword [ebp - 0xcc], edx
jne 0x4b0539
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
push 0x578060
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.004aa540
mov ecx, dword [ebp + 0xc]
call fcn.00445180
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.004aa470
mov dword [ebp - 0xe0], eax
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
push 0x578064
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.004aa540
mov edx, dword [ebp - 0xcc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x24
call fcn.00493c70
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x4b05c2
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00445110
jmp 0x4b05eb
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x98]
call eax
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00445110
mov ecx, dword [ebp + 0xc]
call fcn.00445180
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.004a8a20
mov dword [ebp - 0xd0], eax
push 0xb0
call fcn.004f6b0c
add esp, 4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x230], 0
je 0x4b0638
mov ecx, dword [ebp - 0x230]
call fcn.004c2550
mov dword [ebp - 0x2a4], eax
jmp 0x4b0642
mov dword [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x22c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0
jne 0x4b069e
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov dword [ebp - 0x234], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00408fa0
mov eax, dword [ebp - 0x234]
jmp 0x4b1be8
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x58]
call edx
mov eax, dword [ebp - 0xd4]
mov byte [eax + 0x39], 0
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xd4]
call fcn.00437900
push 1
sub esp, 8
fldz
fstp qword [esp]
mov ecx, dword [ebp - 0xd0]
call fcn.004a50d0
mov ecx, dword [ebp - 0x298]
xor edx, edx
cmp dword [ecx + 0x78], 0
setne dl
push edx
mov ecx, dword [ebp - 0xd4]
call fcn.004450f0
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x34]
test ecx, ecx
je 0x4b072b
mov edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x18]
test eax, eax
je 0x4b07a9
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x238], edx
cmp dword [ebp - 0x238], 0
je 0x4b0768
push 1
mov eax, dword [ebp - 0x238]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2a8], eax
jmp 0x4b0772
mov dword [ebp - 0x2a8], 0
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov dword [ebp - 0x240], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00408fa0
mov eax, dword [ebp - 0x240]
jmp 0x4b1be8
cmp dword [ebp - 0xcc], 0
jle 0x4b08f5
mov edx, dword [ebp - 0x298]
cmp dword [edx + 0x7c], 0
je 0x4b08f5
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0xa4]
call edx
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4b08f5
fld qword [ebp - 0xc0]
fmul qword [0x566900]
call fcn.00527480
mov dword [ebp + 0x10], eax
fld qword [ebp - 0xb0]
fmul qword [0x566900]
call fcn.00527480
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x54]
call eax
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0xd8]
call fcn.004a97d0
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0xa8]
call edx
fldz
fstp qword [ebp - 0xe8]
fld qword [ebp - 0xe8]
fstp qword [ebp - 0x100]
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0xe4]
call edx
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
mov ecx, dword [ebp - 0xd4]
call fcn.00437940
jmp 0x4b0cb4
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x54]
call edx
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x50], 0
je 0x4b0c06
fild dword [ebp + 0x18]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x18]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0xd4]
call fcn.00437940
fild dword [ebp + 0x10]
fcomp qword [0x5610c0]
fnstsw ax
test ah, 0x44
jnp 0x4b0961
fild dword [ebp + 0x14]
fcomp qword [0x5610c0]
fnstsw ax
test ah, 0x44
jp 0x4b0a10
mov ecx, dword [ebp - 0x298]
sub esp, 8
fld qword [ecx + 0x88]
fstp qword [esp]
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x74]
call eax
fld qword [ebp - 0x118]
fdiv qword [ebp - 0x128]
fstp qword [ebp - 0x120]
cmp dword [ebp + 0x10], 0
jne 0x4b09cc
fild dword [ebp + 0x14]
fmul qword [ebp - 0x120]
call fcn.00527480
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 2
jge 0x4b09ca
mov dword [ebp + 0x10], 2
jmp 0x4b09f0
cmp dword [ebp + 0x14], 0
jne 0x4b09f0
fild dword [ebp + 0x10]
fdiv qword [ebp - 0x120]
call fcn.00527480
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 2
jge 0x4b09f0
mov dword [ebp + 0x14], 2
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x54]
call eax
jmp 0x4b0afd
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x7c], 0
je 0x4b0afd
fild dword [ebp + 0x10]
fstp qword [ebp - 0x140]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x148]
push 0x258
push 0x320
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x54]
call edx
mov eax, dword [ebp - 0x298]
sub esp, 8
fld qword [eax + 0x88]
fstp qword [esp]
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x74]
call eax
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x140]
push edx
push 0
push 1
sub esp, 8
fld qword [ebp - 0x138]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0x130]
fstp qword [esp]
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
call fcn.004b9700
add esp, 0x30
fld qword [ebp - 0x140]
call fcn.00527480
mov dword [ebp + 0x10], eax
fld qword [ebp - 0x148]
call fcn.00527480
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x54]
call edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x2ac], edx
fild dword [ebp - 0x2ac]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x2b0], edx
fild dword [ebp - 0x2b0]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0xd8]
call fcn.004a97d0
mov eax, dword [ebp - 0x298]
sub esp, 8
fld qword [eax + 0x88]
fstp qword [esp]
push 0
push 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x34]
test edx, edx
je 0x4b0b83
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4b0c01
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x4b0bc0
push 1
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x244]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2b4], eax
jmp 0x4b0bca
mov dword [ebp - 0x2b4], 0
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov dword [ebp - 0x24c], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00408fa0
mov eax, dword [ebp - 0x24c]
jmp 0x4b1be8
jmp 0x4b0cb4
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0xd8]
call fcn.004a97d0
cmp dword [ebp - 0xcc], 0
je 0x4b0cb4
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x4b0cb4
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0xa8]
call eax
fldz
fstp qword [ebp - 0x150]
fld qword [ebp - 0x150]
fstp qword [ebp - 0x168]
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x178]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0xe4]
call eax
mov ecx, dword [ebp - 0x298]
movzx edx, word [ecx + 0xa0]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x88]
call eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 0xa0]
push edx
mov ecx, dword [ebp - 0xd4]
call dword [sym.imp.gsio.dll_public:_void___thiscall_CDwgExport::SetColorType_int_]
mov eax, dword [ebp - 0xd4]
fld qword [0x565548]
fstp qword [eax + 0x30]
push 0
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
push 0x578068
push 0
push 0
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x4b1009
push 0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x164]
call edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x84]
call eax
push 1
mov ecx, dword [ebp - 0xd4]
call dword [sym.imp.gsio.dll_public:_void___thiscall_CDwgExport::SetOpt_bool_]
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x80], 0
je 0x4b0e16
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.gsio.dll_gs_U2A]
add esp, 4
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.004baa30
add esp, 8
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x94]
call edx
push eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x98]
call eax
push eax
mov ecx, dword [ebp - 0x2b8]
call fcn.004a7b60
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.GsUI.dll_drawWaterMark]
add esp, 0x18
lea ecx, [ebp - 0x250]
call fcn.00408fa0
mov byte [ebp - 0x179], 1
movzx eax, byte [ebp - 0x9d]
test eax, eax
jne 0x4b0e4e
sub esp, 8
fld1
fstp qword [esp]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.GsUI.dll_beginExportObject]
add esp, 0x14
mov byte [ebp - 0x179], al
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x94]
call eax
test eax, eax
jle 0x4b0ea3
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x92]
test edx, edx
je 0x4b0e83
fld1
fstp qword [ebp - 0x2c0]
jmp 0x4b0e95
mov eax, dword [ebp - 0x298]
fld qword [eax + 0x98]
fstp qword [ebp - 0x2c0]
fld qword [ebp - 0x2c0]
fstp qword [ebp - 0x2c8]
jmp 0x4b0eb5
mov ecx, dword [ebp - 0x298]
fld qword [ecx + 0x98]
fstp qword [ebp - 0x2c8]
push 0
push 1
sub esp, 8
fld qword [ebp - 0x2c8]
fstp qword [esp]
mov edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x93]
push eax
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x91]
push edx
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx + 0xa8]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp - 0x298]
mov dword [eax + 0x30], edx
movzx ecx, byte [ebp - 0x179]
test ecx, ecx
jne 0x4b0f5c
push 0
mov ecx, dword [ebp - 0xd4]
call dword [sym.imp.gsio.dll_public:_void___thiscall_CDwgExport::SetOpt_bool_]
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00417690
add esp, 0x10
push 0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x58]
call edx
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4b1009
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x4b0fc8
push 1
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x254]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2cc], eax
jmp 0x4b0fd2
mov dword [ebp - 0x2cc], 0
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov dword [ebp - 0x25c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00408fa0
mov eax, dword [ebp - 0x25c]
jmp 0x4b1be8
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x4b1046
push 1
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x260]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2d0], eax
jmp 0x4b1050
mov dword [ebp - 0x2d0], 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x34]
test edx, edx
je 0x4b107f
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4b10b6
mov edx, dword [ebp - 0xb4]
push edx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov dword [ebp - 0x268], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00408fa0
mov eax, dword [ebp - 0x268]
jmp 0x4b1be8
jmp 0x4b03fa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00408fa0
jmp 0x4b1bcb
mov ecx, dword [ebp + 0xc]
call fcn.00445180
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00456080
mov ecx, eax
call fcn.004378e0
mov ecx, eax
call fcn.004a9de0
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004ab620
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x84], 0
je 0x4b1183
mov ecx, dword [ebp + 0xc]
call fcn.00445180
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00456080
mov ecx, eax
call fcn.004b30c0
mov ecx, eax
call fcn.004aa470
mov dword [ebp - 0x190], eax
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
push 0x57807c
mov edx, dword [ebp - 0x18c]
push edx
mov ecx, dword [ebp - 0x190]
call fcn.004aa540
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x190]
call fcn.00445110
mov ecx, dword [ebp + 0xc]
call fcn.00445180
push eax
mov ecx, dword [ebp - 0x18c]
call fcn.004a8a20
mov dword [ebp - 0x180], eax
push 0xb0
call fcn.004f6b0c
add esp, 4
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x270], 0
je 0x4b11d3
mov ecx, dword [ebp - 0x270]
call fcn.004c2550
mov dword [ebp - 0x2d4], eax
jmp 0x4b11dd
mov dword [ebp - 0x2d4], 0
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
jne 0x4b120f
mov eax, 1
jmp 0x4b1be8
mov ecx, dword [ebp - 0x184]
mov byte [ecx + 0x39], 0
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x18c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.00437900
push 1
sub esp, 8
fldz
fstp qword [esp]
mov ecx, dword [ebp - 0x180]
call fcn.004a50d0
mov edx, dword [ebp - 0x298]
xor eax, eax
cmp dword [edx + 0x78], 0
setne al
push eax
mov ecx, dword [ebp - 0x184]
call fcn.004450f0
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x34]
test edx, edx
je 0x4b1282
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4b12e3
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x4b12bf
push 1
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x274]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2d8], eax
jmp 0x4b12c9
mov dword [ebp - 0x2d8], 0
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov eax, 4
jmp 0x4b1be8
mov edx, dword [ebp - 0x298]
cmp dword [edx + 0x70], 1
jne 0x4b1307
push 0
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x9c]
call eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x94]
call eax
test eax, eax
jle 0x4b1464
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x7c], 0
je 0x4b1464
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0xa4]
call eax
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x4b1464
fld qword [ebp - 0xc0]
fmul qword [0x566900]
call fcn.00527480
mov dword [ebp + 0x10], eax
fld qword [ebp - 0xb0]
fmul qword [0x566900]
call fcn.00527480
mov dword [ebp + 0x14], eax
lea edx, [ebp - 0x1a0]
push edx
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x1c0]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0xa8]
call eax
fldz
fstp qword [ebp - 0x198]
fld qword [ebp - 0x198]
fstp qword [ebp - 0x1b0]
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0x18c]
call fcn.004a97d0
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x1c0]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0xe4]
call eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x54]
call eax
sub esp, 8
fldz
fstp qword [esp]
sub esp, 8
fldz
fstp qword [esp]
mov ecx, dword [ebp - 0x184]
call fcn.00437940
jmp 0x4b1822
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x50], 0
je 0x4b1753
fild dword [ebp + 0x18]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x18]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0x184]
call fcn.00437940
fild dword [ebp + 0x10]
fcomp qword [0x5610c0]
fnstsw ax
test ah, 0x44
jnp 0x4b14d0
fild dword [ebp + 0x14]
fcomp qword [0x5610c0]
fnstsw ax
test ah, 0x44
jp 0x4b157f
mov edx, dword [ebp - 0x298]
sub esp, 8
fld qword [edx + 0x88]
fstp qword [esp]
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x74]
call edx
fld qword [ebp - 0x1c8]
fdiv qword [ebp - 0x1d8]
fstp qword [ebp - 0x1d0]
cmp dword [ebp + 0x10], 0
jne 0x4b153b
fild dword [ebp + 0x14]
fmul qword [ebp - 0x1d0]
call fcn.00527480
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 2
jge 0x4b1539
mov dword [ebp + 0x10], 2
jmp 0x4b155f
cmp dword [ebp + 0x14], 0
jne 0x4b155f
fild dword [ebp + 0x10]
fdiv qword [ebp - 0x1d0]
call fcn.00527480
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 2
jge 0x4b155f
mov dword [ebp + 0x14], 2
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x54]
call edx
jmp 0x4b166c
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x7c], 0
je 0x4b166c
fild dword [ebp + 0x10]
fstp qword [ebp - 0x1f0]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x1f8]
push 0x258
push 0x320
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x298]
sub esp, 8
fld qword [ecx + 0x88]
fstp qword [esp]
lea edx, [ebp - 0x1e8]
push edx
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x74]
call eax
lea ecx, [ebp - 0x1f8]
push ecx
lea edx, [ebp - 0x1f0]
push edx
push 0
push 1
sub esp, 8
fld qword [ebp - 0x1e8]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0x1e0]
fstp qword [esp]
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
call fcn.004b9700
add esp, 0x30
fld qword [ebp - 0x1f0]
call fcn.00527480
mov dword [ebp + 0x10], eax
fld qword [ebp - 0x1f8]
call fcn.00527480
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x54]
call edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x2dc], edx
fild dword [ebp - 0x2dc]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x2e0], edx
fild dword [ebp - 0x2e0]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0x18c]
call fcn.004a97d0
mov eax, dword [ebp - 0x298]
sub esp, 8
fld qword [eax + 0x88]
fstp qword [esp]
push 0
push 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [ebp - 0x298]
call fcn.004ac420
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x34]
test edx, edx
je 0x4b16fd
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4b174e
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x4b173a
push 1
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x27c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2e4], eax
jmp 0x4b1744
mov dword [ebp - 0x2e4], 0
mov eax, 4
jmp 0x4b1be8
jmp 0x4b1822
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0x18c]
call fcn.004a97d0
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x70], 1
je 0x4b1822
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x94]
call edx
test eax, eax
je 0x4b1822
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4b1822
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0xa8]
call edx
fldz
fstp qword [ebp - 0x200]
fld qword [ebp - 0x200]
fstp qword [ebp - 0x218]
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0xe4]
call edx
mov eax, dword [ebp - 0x298]
movzx ecx, word [eax + 0xa0]
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x88]
call edx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 0xa0]
push ecx
mov ecx, dword [ebp - 0x184]
call dword [sym.imp.gsio.dll_public:_void___thiscall_CDwgExport::SetColorType_int_]
mov edx, dword [ebp - 0x184]
fld qword [0x565548]
fstp qword [edx + 0x30]
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x58]
call eax
push 0
fild dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
fild dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
push str.Acme_CADConverter
push 0
push 0
mov ecx, dword [ebp - 0x184]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x184]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x84]
call eax
push 1
mov ecx, dword [ebp - 0x184]
call dword [sym.imp.gsio.dll_public:_void___thiscall_CDwgExport::SetOpt_bool_]
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x80], 0
je 0x4b197b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.gsio.dll_gs_U2A]
add esp, 4
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.004baa30
add esp, 8
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x94]
call edx
push eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x98]
call eax
push eax
mov ecx, dword [ebp - 0x2e8]
call fcn.004a7b60
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.GsUI.dll_drawWaterMark]
add esp, 0x18
lea ecx, [ebp - 0x284]
call fcn.00408fa0
mov byte [ebp - 0x185], 1
movzx eax, byte [ebp - 0x9d]
test eax, eax
jne 0x4b19b3
sub esp, 8
fld1
fstp qword [esp]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x184]
push eax
call dword [sym.imp.GsUI.dll_beginExportObject]
add esp, 0x14
mov byte [ebp - 0x185], al
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x94]
call eax
test eax, eax
jle 0x4b1a08
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x92]
test edx, edx
je 0x4b19e8
fld1
fstp qword [ebp - 0x2f0]
jmp 0x4b19fa
mov eax, dword [ebp - 0x298]
fld qword [eax + 0x98]
fstp qword [ebp - 0x2f0]
fld qword [ebp - 0x2f0]
fstp qword [ebp - 0x2f8]
jmp 0x4b1a1a
mov ecx, dword [ebp - 0x298]
fld qword [ecx + 0x98]
fstp qword [ebp - 0x2f8]
push 0
push 1
sub esp, 8
fld qword [ebp - 0x2f8]
fstp qword [esp]
mov edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x93]
push eax
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x91]
push edx
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx + 0xa8]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp - 0x298]
mov dword [eax + 0x30], edx
movzx ecx, byte [ebp - 0x185]
test ecx, ecx
jne 0x4b1ac1
push 0
mov ecx, dword [ebp - 0x184]
call dword [sym.imp.gsio.dll_public:_void___thiscall_CDwgExport::SetOpt_bool_]
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.00417690
add esp, 0x10
push 0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [eax + 0x58]
call edx
mov eax, dword [ebp - 0x184]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x184]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4b1b51
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
je 0x4b1b2d
push 1
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x288]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x2fc], eax
jmp 0x4b1b37
mov dword [ebp - 0x2fc], 0
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov eax, 1
jmp 0x4b1be8
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x4b1b8e
push 1
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x290]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x300], eax
jmp 0x4b1b98
mov dword [ebp - 0x300], 0
mov ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x34]
test edx, edx
je 0x4b1bb4
mov eax, dword [ebp - 0x298]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4b1bcb
mov edx, dword [ebp - 0xb4]
push edx
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov eax, 4
jmp 0x4b1be8
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.gsio.dll_public:_static_void___cdecl_CDrawing::DeleteDrawing_class_CDrawing__]
add esp, 4
mov ecx, dword [ebp - 0x298]
call fcn.004ac420
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret 0x18