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

Disassembly:
push 0xffffffffffffffff
push 0x426609
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x84]
call dword [sym.imp.Output.dll_public:_void___thiscall_CPolylineI::constructor_void_]
mov al, byte [esp + 0x1f]
mov cl, byte [esp + 0x1f]
mov byte [esp + 0x37], al
lea edx, [esp + 0x5e]
mov byte [esp + 0x1f], cl
lea eax, [esp + 0x37]
push edx
lea ecx, [esp + 0x23]
push eax
xor esi, esi
push ecx
push 0x64
lea ecx, [esp + 0x58]
mov dword [esp + 0x1a0], esi
call fcn.0040a8c0
lea ecx, [esp + 0x60]
mov byte [esp + 0x190], 1
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxBaseArrayInt::constructor_void_]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x190], 2
call fcn.0040aad0
lea ecx, [esp + 0x20]
mov byte [esp + 0x190], 3
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxBaseArrayPtrVoid::constructor_void_]
mov byte [esp + 0x190], 4
call dword [sym.imp.Output.dll_struct_PLOTTERCONFIG____cdecl_GetPlotter_void_]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x1b8]
cmp eax, esi
je 0x409aba
cmp dword [eax + 8], esi
jne 0x409b1c
lea ecx, [esp + 0x20]
mov byte [esp + 0x190], 3
call fcn.00408430
lea ecx, [esp + 0xbc]
mov byte [esp + 0x190], 2
call fcn.0040ab20
lea ecx, [esp + 0x60]
mov byte [esp + 0x190], 1
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxBaseArrayInt::destructor_void_]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push 0x407550
push edx
push eax
mov byte [esp + 0x19c], 0
call dword [sym.imp.wxbase28_vc.dll_protected:_static_void___cdecl__wxHashTableBase2::DeleteNodes_unsigned_int__struct__wxHashTable_NodeBase____void____cdecl___struct__wxHashTable_NodeBase___]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x5c], esi
push ecx
jmp 0x40a882
mov edx, dword [ebp + 0x1a4]
mov edi, dword [sym.imp.wxmsw28_core_vc.dll_public:_static_class_wxColour_const____cdecl_wxStockGDI::GetColour_enum_wxStockGDI::Item_]
push 0xf
mov ebx, dword [edx]
call edi
mov ecx, dword [ebp + 0x1a4]
add esp, 4
push eax
call dword [ebx + 0x148]
mov eax, dword [ebp + 0x1a8]
push 0xf
mov ebx, dword [eax]
call edi
mov ecx, dword [ebp + 0x1a8]
add esp, 4
push eax
call dword [ebx + 0x148]
mov ecx, 0x4417a8
test ecx, ecx
mov eax, ecx
jne 0x409b6a
mov eax, 0x4458c8
mov edx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
mov ebx, dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxStringBase::InitWith_char_const___unsigned_int__unsigned_int_]
mov ecx, dword [edx]
push ecx
push esi
push eax
lea ecx, [esp + 0x24]
call ebx
mov ecx, dword [ebp + 0x1a4]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x194], 5
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x190], 4
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x409bc1
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x409bc1
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [ebp + 0x1a8]
push esi
push 1
mov edx, dword [ecx]
call dword [edx + 0x118]
mov eax, dword [ebp + 0x1b8]
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [eax + 8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x2c8]
mov ecx, dword [ebp + 0x1b4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x2d0]
mov ecx, dword [ebp + 0x1b8]
mov dword [esp + 0x14], esi
mov eax, dword [ecx + 8]
cmp eax, esi
jle 0x409fcf
mov edi, dword [sym.imp.Output.dll_public:_bool___thiscall_CPolylineI::GetPoint_int__int___int__]
mov ebx, dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxBaseArrayInt::Add_int__unsigned_int_]
mov al, byte [ebp + 0x1c4]
test al, al
jne 0x40a81a
lea edx, [esp + 0x14]
lea ecx, [esp + 0x48]
push edx
call fcn.0040a910
test eax, eax
jne 0x409f95
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1b8]
push eax
call dword [sym.imp.Output.dll_public:_class_CPolylineI____thiscall_CPolylineIArray::GetPolyline_int_]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
mov esi, eax
push ecx
push edx
push 0
mov ecx, esi
call edi
mov eax, dword [esi + 8]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
dec eax
push edx
push eax
mov ecx, esi
call edi
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x40]
push ecx
fstp dword [esp]
fild dword [esp + 0x48]
push ecx
fstp dword [esp]
call fcn.004191d0
add esp, 0x10
call sub.MSVCRT.dll__ftol
cmp eax, 0x28
jle 0x409cf2
mov ecx, dword [esi + 8]
cmp ecx, 2
jle 0x409ced
lea eax, [esp + 0x30]
lea edx, [esp + 0x2c]
push eax
add ecx, 0xfffffffe
push edx
push ecx
mov ecx, esi
call edi
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x40]
push ecx
fstp dword [esp]
fild dword [esp + 0x48]
push ecx
fstp dword [esp]
call fcn.004191d0
add esp, 0x10
call sub.MSVCRT.dll__ftol
cmp eax, 0x28
jg 0x409d64
push esi
lea ecx, [esp + 0xc0]
call fcn.0040abb0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xbc]
push eax
call fcn.0040ac00
lea ecx, [esp + 0xbc]
push 1
push ecx
lea ecx, [esp + 0x28]
call fcn.00408520
lea ecx, [esp + 0xbc]
call fcn.0040ab80
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x5f]
lea ecx, [esp + 0x7c]
push eax
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0
call fcn.00407560
mov dword [eax + 8], 1
jmp 0x409f95
push esi
lea ecx, [esp + 0x88]
call dword [sym.imp.Output.dll_public:_class_CPolylineI____thiscall_CPolylineI::operator_class_CPolylineI__]
mov edx, dword [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0x68]
call ebx
mov eax, dword [ebp + 0x1b8]
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x409e87
mov al, byte [ebp + 0x1c4]
test al, al
jne 0x40a81a
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040a910
test eax, eax
jne 0x409e6f
mov edx, dword [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x68]
call dword [sym.imp.wxbase28_vc.dll_protected:_int___thiscall_wxBaseArrayInt::Index_int__bool_const]
cmp eax, 0xffffffff
jne 0x409e6f
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1b8]
push eax
call dword [sym.imp.Output.dll_public:_class_CPolylineI____thiscall_CPolylineIArray::GetPolyline_int_]
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, ebp
call fcn.00409790
test al, al
je 0x409e6f
mov edx, dword [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x68]
call ebx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x3c]
push eax
push ecx
push 0
lea ecx, [esp + 0x90]
call edi
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x30]
lea eax, [esp + 0x2c]
push edx
dec ecx
push eax
push ecx
lea ecx, [esp + 0x90]
call edi
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x40]
push ecx
fstp dword [esp]
fild dword [esp + 0x48]
push ecx
fstp dword [esp]
call fcn.004191d0
add esp, 0x10
call sub.MSVCRT.dll__ftol
cmp eax, 0x28
jle 0x409e87
or eax, 0xffffffff
jmp 0x409e73
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x1b8]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edx + 8]
jl 0x409d98
lea eax, [esp + 0x38]
lea ecx, [esp + 0x3c]
push eax
xor esi, esi
push ecx
push esi
lea ecx, [esp + 0x90]
call edi
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x30]
lea eax, [esp + 0x2c]
push edx
dec ecx
push eax
push ecx
lea ecx, [esp + 0x90]
call edi
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x30]
push ecx
fstp dword [esp]
fild dword [esp + 0x40]
push ecx
fstp dword [esp]
fild dword [esp + 0x48]
push ecx
fstp dword [esp]
call fcn.004191d0
add esp, 0x10
call sub.MSVCRT.dll__ftol
cmp eax, 0x28
jg 0x409f7e
mov ecx, dword [esp + 0x64]
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x10], eax
jbe 0x409f3a
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x5d]
push ecx
lea ecx, [esp + 0x4c]
mov eax, dword [edx + eax*4]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], esi
call fcn.00407560
mov dword [eax + 8], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x409efd
lea eax, [esp + 0x84]
lea ecx, [esp + 0xbc]
push eax
call fcn.0040abb0
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xc0]
call fcn.0040ac20
lea edx, [esp + 0xbc]
push 1
push edx
lea ecx, [esp + 0x28]
call fcn.00408520
lea ecx, [esp + 0xbc]
call fcn.0040ab80
lea ecx, [esp + 0x84]
call dword [sym.imp.Output.dll_public:_void___thiscall_CPolylineI::Destroy_void_]
lea ecx, [esp + 0x60]
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxBaseArrayInt::Clear_void_]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [esp + 0x14]
inc edx
mov eax, dword [ecx]
push edx
call dword [eax + 0x2d0]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1b8]
inc eax
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
cmp eax, edx
jl 0x409c1a
mov ebx, dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxStringBase::InitWith_char_const___unsigned_int__unsigned_int_]
mov edi, dword [sym.imp.wxmsw28_core_vc.dll_public:_static_class_wxColour_const____cdecl_wxStockGDI::GetColour_enum_wxStockGDI::Item_]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push 0x407550
push edx
push eax
call dword [sym.imp.wxbase28_vc.dll_protected:_static_void___cdecl__wxHashTableBase2::DeleteNodes_unsigned_int__struct__wxHashTable_NodeBase____void____cdecl___struct__wxHashTable_NodeBase___]
mov ecx, dword [esp + 0x30]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x50], 0
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x40a03e
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + eax*4]
call fcn.0040ac70
fcomp dword [0x42d4e0]
fnstsw ax
test ah, 0x41
je 0x40a02d
mov edx, dword [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x28]
call fcn.004084c0
mov eax, dword [esp + 0x10]
dec eax
jmp 0x40a031
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x409ffd
mov ecx, dword [ebp + 0x1b4]
push 0
mov eax, dword [ecx]
call dword [eax + 0x2d0]
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c8]
mov ecx, dword [ebp + 0x1a4]
push 0xa
mov esi, dword [ecx]
call edi
mov ecx, dword [ebp + 0x1a4]
add esp, 4
push eax
call dword [esi + 0x148]
mov edx, dword [ebp + 0x1a8]
push 0xa
mov esi, dword [edx]
call edi
mov ecx, dword [ebp + 0x1a8]
add esp, 4
push eax
call dword [esi + 0x148]
mov eax, dword [ebp + 0x1ac]
push 0xf
mov esi, dword [eax]
call edi
mov ecx, dword [ebp + 0x1ac]
add esp, 4
push eax
call dword [esi + 0x148]
mov ecx, dword [ebp + 0x1b0]
push 0xf
mov esi, dword [ecx]
call edi
mov ecx, dword [ebp + 0x1b0]
add esp, 4
push eax
call dword [esi + 0x148]
mov edx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
xor esi, esi
lea ecx, [esp + 0x18]
mov eax, dword [edx]
push eax
push esi
push 0x4458c8
call ebx
mov ecx, dword [ebp + 0x1a4]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x194], 6
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x190], 4
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40a128
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x40a128
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, 0x4417a8
test edx, edx
mov eax, edx
jne 0x40a138
mov eax, 0x4458c8
mov ecx, dword [sym.imp.wxbase28_vc.dll_unsigned_int_const_wxStringBase::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push esi
push eax
call ebx
mov ecx, dword [ebp + 0x1ac]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x194], 7
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x190], 4
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40a188
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x40a188
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [ebp + 0x1a8]
push esi
push 1
mov edx, dword [ecx]
call dword [edx + 0x118]
mov ecx, dword [ebp + 0x1b0]
push esi
push 1
mov eax, dword [ecx]
call dword [eax + 0x118]
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp edx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
jle 0x40a202
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + ecx*4]
call fcn.0040ac70
mov ecx, dword [esp + 0x10]
cmp ecx, esi
jne 0x40a1de
fstp dword [esp + 0x18]
mov dword [esp + 0x14], esi
jmp 0x40a1f5
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x40a1f3
fstp dword [esp + 0x18]
mov dword [esp + 0x14], ecx
jmp 0x40a1f5
fstp st(0)
mov edx, dword [esp + 0x24]
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x40a1c0
xor eax, eax
cmp edx, esi
mov dword [esp + 0x10], eax
jle 0x40a240
cmp eax, dword [esp + 0x14]
je 0x40a237
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + eax*4]
call fcn.0040ac70
fdivr dword [esp + 0x18]
mov edx, dword [esp + 0x24]
fcomp dword [0x42d4dc]
fnstsw ax
test ah, 0x41
jne 0x40a29f
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x40a20c
mov eax, dword [esp + 0x14]
cmp eax, esi
jl 0x40a29f
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xbc]
mov eax, dword [edx + eax*4]
push eax
call fcn.0040abd0
mov eax, dword [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.004084c0
mov edx, dword [esp + 0x44]
mov ecx, dword [ebp + 0x1b8]
push ecx
lea ecx, [esp + 0xc0]
mov eax, dword [edx + 0x54]
push eax
push ecx
call fcn.0040ae60
mov ecx, dword [ebp + 0x1b4]
add esp, 0xc
mov edx, dword [ecx]
push 1
call dword [edx + 0x2d0]
mov edx, dword [esp + 0x24]
xor eax, eax
cmp edx, esi
mov dword [esp + 0x14], eax
jle 0x40a34a
xor ecx, ecx
test edx, edx
mov dword [esp + 0x10], ecx
jle 0x40a2e4
cmp eax, ecx
je 0x40a2db
mov edx, dword [esp + 0x28]
mov eax, dword [edx + eax*4]
mov ecx, dword [edx + ecx*4]
push eax
call fcn.0040ad10
test al, al
jne 0x40a305
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x40a2b7
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x1b8]
push edx
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x54]
push edx
push eax
call fcn.0040ae60
add esp, 0xc
jmp 0x40a319
mov eax, dword [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.004084c0
dec dword [esp + 0x14]
mov ecx, dword [ebp + 0x1b4]
mov esi, dword [ecx]
call dword [esi + 0x2d4]
mov ecx, dword [ebp + 0x1b4]
inc eax
push eax
call dword [esi + 0x2d0]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
inc eax
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x40a2ad
lea ecx, [esp + 0x20]
call fcn.00408490
lea ecx, [esp + 0x20]
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxBaseArrayPtrVoid::Clear_void_]
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x7c], eax
mov eax, 0x3f800000
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x24], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], edx
push ecx
call fcn.00419d50
mov ecx, eax
call fcn.00405f70
mov esi, eax
mov edx, dword [sym.imp.wxbase28_vc.dll_char_const__const_wxEmptyString]
mov eax, dword [edx]
mov dword [esp + 0xe0], eax
push 0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x194], 9
call dword [sym.imp.wxbase28_vc.dll_protected:_void___thiscall_wxArrayString::Init_bool_]
mov ecx, dword [sym.imp.wxbase28_vc.dll_char_const__const_wxEmptyString]
mov edx, dword [ecx]
mov dword [esp + 0xf4], edx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x190], 0xb
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxString::constructor_void_]
lea eax, [ebp + 0x1bc]
push 0
push eax
push esi
lea ecx, [esp + 0xec]
mov byte [esp + 0x19c], 0xc
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxFileName::Assign_class_wxString_const___class_wxString_const___enum_wxPathFormat_]
lea ecx, [esp + 0x6c]
push 0
push ecx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x198], 0xd
call dword [sym.imp.wxbase28_vc.dll_public:_class_wxString___thiscall_wxFileName::GetFullPath_enum_wxPathFormat_]
mov edx, dword [esp + 0xf8]
mov byte [esp + 0x190], 0x11
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40a441
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a441
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
add esp, 4
jmp 0x40a447
mov esi, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0xf4]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40a465
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a465
push eax
call esi
add esp, 4
lea ecx, [esp + 0xe4]
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxArrayString::destructor_void_]
mov ecx, dword [esp + 0xe0]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40a491
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a491
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x40]
mov byte [esp + 0x190], 0xf
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40a4b5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a4b5
push eax
call esi
add esp, 4
lea eax, [esp + 0x58]
push eax
call fcn.00407e60
mov esi, dword [eax]
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x198], 0x12
call fcn.00407d90
mov edi, dword [eax]
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x19c], 0x13
call fcn.00407cc0
mov ebx, dword [eax]
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x1a0], 0x14
call fcn.00407bf0
mov ecx, dword [eax]
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x1a4], 0x15
mov dword [esp + 0x54], ecx
call fcn.00407b20
mov ecx, dword [esp + 0x54]
jmp 0x42964b
lea edx, [esp + 0x94]
push eax
push edx
mov byte [esp + 0x1bc], 0x16
call dword [sym.imp.Output.dll_public:_static_class_wxString___cdecl_CPlotter::MakeCommand_char_const___char_const___char_const___char_const___char_const__]
add esp, 0x2c
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40a569
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a569
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
add esp, 4
jmp 0x40a56f
mov esi, dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0xb0]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40a58e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a58e
push eax
call esi
add esp, 4
mov edx, dword [esp + 0xa8]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40a5ad
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a5ad
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40a5cb
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a5cb
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x190], 0x18
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40a5ef
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a5ef
push eax
call esi
add esp, 4
lea edx, [esp + 0xb8]
push edx
call fcn.00407e60
mov esi, dword [eax]
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x198], 0x1d
call fcn.004081a0
mov edi, dword [eax]
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x19c], 0x1e
call fcn.004080d0
mov ebx, dword [eax]
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x1a0], 0x1f
call fcn.00408000
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x1a4], 0x20
mov dword [esp + 0x6c], eax
call fcn.00407f30
mov edx, dword [esp + 0x6c]
jmp 0x4294a6
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x1bc], 0x21
call dword [sym.imp.Output.dll_public:_static_class_wxString___cdecl_CPlotter::MakeCommand_char_const___char_const___char_const___char_const___char_const__]
add esp, 0x2c
mov ecx, dword [esp + 0x40]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40a69e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a69e
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
add esp, 4
jmp 0x40a6a4
mov esi, dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0xa0]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40a6c3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a6c3
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40a6e1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a6e1
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0xac]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40a700
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a700
push eax
call esi
add esp, 4
mov edx, dword [esp + 0xb8]
mov byte [esp + 0x190], 0x23
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40a727
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a727
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x44]
push eax
push ecx
push edx
mov ecx, 0x17
sub esp, 0x5c
mov esi, ebx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x16c]
call dword [sym.imp.Output.dll_public:_void___thiscall_CPlotter::constructor_struct_PLOTTERCONFIG__char_const___char_const___char_const__]
lea ecx, [esp + 0x104]
mov byte [esp + 0x190], 0x28
call dword [sym.imp.Output.dll_public:_bool___thiscall_CPlotter::Begin_void_]
mov ecx, dword [ebp + 0x1b8]
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.Output.dll_public:_void___thiscall_CPolylineIArray::Draw_class_CPlotter__]
lea ecx, [esp + 0x104]
call dword [sym.imp.Output.dll_public:_bool___thiscall_CPlotter::End_void_]
lea ecx, [esp + 0x104]
call dword [sym.imp.Output.dll_public:_void___thiscall_CPlotter::Close_void_]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov dword [ebx + 0x24], ecx
lea ecx, [esp + 0x104]
mov dword [ebx + 0x28], edx
mov byte [esp + 0x190], 0x23
call dword [sym.imp.Output.dll_public_virtual:_void___thiscall_CPlotter::destructor_void_]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40a7da
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a7da
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x70]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40a7fa
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a7fa
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40a81a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40a81a
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x20]
mov byte [ebp + 0x1c4], 0
mov byte [esp + 0x190], 3
call fcn.00408430
lea ecx, [esp + 0xbc]
mov byte [esp + 0x190], 2
call fcn.0040ab20
lea ecx, [esp + 0x60]
mov byte [esp + 0x190], 1
call dword [sym.imp.wxbase28_vc.dll_public:_void___thiscall_wxBaseArrayInt::destructor_void_]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push 0x407550
push eax
push ecx
mov byte [esp + 0x19c], 0
call dword [sym.imp.wxbase28_vc.dll_protected:_static_void___cdecl__wxHashTableBase2::DeleteNodes_unsigned_int__struct__wxHashTable_NodeBase____void____cdecl___struct__wxHashTable_NodeBase___]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x5c], 0
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x10
lea ecx, [esp + 0x84]
mov dword [esp + 0x190], 0xffffffff
call dword [sym.imp.Output.dll_public_virtual:_void___thiscall_CPolylineI::destructor_void_]
mov ecx, dword [esp + 0x188]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x184
ret
call 0x4294ab
pop eax
add eax, 0xb25
push eax
add eax, 8
push eax
add eax, 8
push eax
add eax, 8
push eax
add eax, 8
push eax
jmp 0x40a664
call 0x429650
pop eax
add eax, 0x980
push eax
add eax, 8
push eax
add eax, 8
push eax
add eax, 8
push eax
add eax, 8
jmp 0x40a529